Examples of HStoreConf


Examples of edu.brown.hstore.conf.HStoreConf

            String msg = String.format("The number of conf names and values are not equal [%d != %d]",
                                       confNames.length, confValues.length);
            throw new VoltAbortException(msg);
        }
       
        HStoreConf hstore_conf = executor.getHStoreConf();
        for (int i = 0; i < confNames.length; i++) {
            if (hstore_conf.hasParameter(confNames[i]) == false) {
                String msg = String.format("Invalid configuration parameter '%s'", confNames[i]);
                throw new VoltAbortException(msg);
            }
        } // FOR
       
View Full Code Here

Examples of edu.brown.hstore.conf.HStoreConf

        }
        m_rng = rng;

        System.err.println("ExecutionType: " + m_type);

        HStoreConf hstore_conf = this.getHStoreConf();

        // Number of Records Per Table
        this.table_sizes.put(LocalityConstants.TABLENAME_TABLEA, Math.round(LocalityConstants.TABLESIZE_TABLEA * hstore_conf.client.scalefactor));
        this.table_sizes.put(LocalityConstants.TABLENAME_TABLEB, Math.round(LocalityConstants.TABLESIZE_TABLEB * hstore_conf.client.scalefactor));
        for (String tableName : LocalityConstants.TABLENAMES) {
View Full Code Here

Examples of edu.brown.hstore.conf.HStoreConf

        } catch (Exception ex) {
            ex.printStackTrace();
            System.exit(1);
        }
       
        HStoreConf hstore_conf = this.getHStoreConf();
       
        // Data Directory Path
        if (dataDir == null) dataDir = AuctionMarkUtil.getDataDirectory();
        assert(dataDir != null);
       
View Full Code Here

Examples of edu.brown.hstore.conf.HStoreConf

            ex.printStackTrace();
            System.exit(1);
        }
        m_rng = rng;
       
        HStoreConf hstore_conf = this.getHStoreConf();
       
        // Number of Records Per Table
        this.table_sizes.put(MapReduceConstants.TABLENAME_TABLEA, Math.round(MapReduceConstants.TABLESIZE_TABLEA * hstore_conf.client.scalefactor));
        this.table_sizes.put(MapReduceConstants.TABLENAME_TABLEB, Math.round(MapReduceConstants.TABLESIZE_TABLEB * hstore_conf.client.scalefactor));
        for (String tableName : MapReduceConstants.TABLENAMES) {
View Full Code Here

Examples of edu.brown.hstore.conf.HStoreConf

        DependencySet result = null;
        switch (fragmentId) {
            // Reset Stats
            case SysProcFragmentId.PF_resetProfilingDistribute: {
                LOG.debug("Resetting internal profiling counters");
                HStoreConf hstore_conf = hstore_site.getHStoreConf();
               
                PartitionExecutor.Debug executorDebug = this.executor.getDebugContext();
                Collection<AbstractProfiler> profilers = new HashSet<AbstractProfiler>();
               
                // EXECUTOR
View Full Code Here

Examples of edu.brown.hstore.conf.HStoreConf

        // Nothing to do
        return (null);
    }
   
    public VoltTable run(String confNames[]) {
        HStoreConf hstore_conf = executor.getHStoreConf();
        for (int i = 0; i < confNames.length; i++) {
            if (hstore_conf.hasParameter(confNames[i]) == false) {
                String msg = String.format("Invalid configuration parameter '%s'", confNames[i]);
                throw new VoltAbortException(msg);
            }
        } // FOR
       
        VoltTable result = new VoltTable(nodeResultsColumns);
        TimestampType timestamp = new TimestampType();
        for (int i = 0; i < confNames.length; i++) {
            Object val = hstore_conf.get(confNames[i]);
            result.addRow(executor.getSiteId(),
                          confNames[i],
                          val.toString(),
                          timestamp);
        } // FOR
View Full Code Here

Examples of edu.brown.hstore.conf.HStoreConf

        this.catalog_procs = new Procedure[TARGET_PROCS.length];
        for (int i = 0; i < this.catalog_procs.length; i++) {
            this.catalog_procs[i] = this.getProcedure(TARGET_PROCS[i]);
        } // FOR

        HStoreConf hstore_conf = HStoreConf.singleton();
        hstore_conf.site.commandlog_enable = false;
        hstore_conf.site.commandlog_timeout = 1000;

        Site catalog_site = CollectionUtil.first(catalogContext.sites);
        hstore_site = new MockHStoreSite(catalog_site.getId(), catalogContext, hstore_conf);
View Full Code Here

Examples of edu.brown.hstore.conf.HStoreConf

   
    /**
     * testSingleSitedLocalPlanCaching
     */
    public void testSingleSitedLocalPlanCaching() throws Exception {
        HStoreConf hstore_conf = HStoreConf.singleton();
        boolean orig = hstore_conf.site.planner_caching;
        hstore_conf.site.planner_caching = true;
       
        try {
            this.init(SINGLESITE_PROCEDURE, SINGLESITE_STATEMENT, SINGLESITE_PROCEDURE_ARGS);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.