Package edu.brown.hstore.util

Examples of edu.brown.hstore.util.MapReduceHelperThread


            this.txnCleaners.add(new TransactionCleaner(this));
        } // FOR
       
        // MapReduce Transaction helper thread
        if (catalogContext.getMapReduceProcedures().isEmpty() == false) {
            this.mr_helper = new MapReduceHelperThread(this);
        } else {
            this.mr_helper = null;
        }
       
        // Separate TransactionIdManager per partition
View Full Code Here


       
        //  Get the MapReduceHelperThread object from the HStoreSite
        //  Pass the MapReduceTransaction handle to the helper thread to perform the shuffle operation
        //  Move this to be execute after the SHUFFLE phase is finished --> this.getOrigCallback().run(this.builder.build());
       
        MapReduceHelperThread mr_helper = this.hstore_site.getMapReduceHelper();
        ts.setShufflePhase();
       
        if (debug.val)
            LOG.debug(String.format("Txn #%d - I am swithing to SHUFFLE phase, go to MR_helper thread",this.getTransactionId()));
        // enqueue this MapReduceTransaction to do shuffle work
        mr_helper.queue(this.ts);
    }
View Full Code Here

TOP

Related Classes of edu.brown.hstore.util.MapReduceHelperThread

Copyright © 2018 www.massapicom. 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.