diff --git a/src/frontend/edu/brown/hstore/HStoreCoordinator.java b/src/frontend/edu/brown/hstore/HStoreCoordinator.java index 928beeaa4e..0bc379fb8c 100644 --- a/src/frontend/edu/brown/hstore/HStoreCoordinator.java +++ b/src/frontend/edu/brown/hstore/HStoreCoordinator.java @@ -220,7 +220,8 @@ public void run() { HStoreCoordinator.this.shutdownCluster(error); } } - if (trace.val) LOG.trace("Messenger Thread for Site #" + catalog_site.getId() + " has stopped!"); + if (trace.val) + LOG.trace("Messenger Thread for Site #" + catalog_site.getId() + " has stopped!"); } } diff --git a/src/frontend/edu/brown/hstore/PartitionExecutor.java b/src/frontend/edu/brown/hstore/PartitionExecutor.java index bacfae298b..6bd6b8ffe0 100644 --- a/src/frontend/edu/brown/hstore/PartitionExecutor.java +++ b/src/frontend/edu/brown/hstore/PartitionExecutor.java @@ -2722,12 +2722,12 @@ else if (is_remote == false) { * @throws Exception */ private DependencySet executeFragmentIds(AbstractTransaction ts, - long undoToken, - long fragmentIds[], - ParameterSet parameters[], - int output_depIds[], - int input_depIds[], - Map> input_deps) throws Exception { + long undoToken, + long fragmentIds[], + ParameterSet parameters[], + int output_depIds[], + int input_depIds[], + Map> input_deps) throws Exception { if (fragmentIds.length == 0) { LOG.warn(String.format("Got a fragment batch for %s that does not have any fragments?", ts)); diff --git a/src/frontend/org/voltdb/sysprocs/AdHoc.java b/src/frontend/org/voltdb/sysprocs/AdHoc.java index 0a4fc9381a..c51e3b6110 100644 --- a/src/frontend/org/voltdb/sysprocs/AdHoc.java +++ b/src/frontend/org/voltdb/sysprocs/AdHoc.java @@ -20,16 +20,21 @@ import java.util.List; import java.util.Map; +import org.apache.log4j.Logger; import org.voltdb.BackendTarget; import org.voltdb.DependencySet; import org.voltdb.ParameterSet; import org.voltdb.ProcInfo; import org.voltdb.VoltSystemProcedure; import org.voltdb.VoltTable; +import org.voltdb.jni.ExecutionEngine; import edu.brown.hstore.HStoreConstants; +import edu.brown.hstore.PartitionExecutor; import edu.brown.hstore.PartitionExecutor.SystemProcedureExecutionContext; import edu.brown.hstore.txns.AbstractTransaction; +import edu.brown.logging.LoggerUtil; +import edu.brown.logging.LoggerUtil.LoggerBoolean; /** * Execute a user-provided SQL statement. This code coordinates the execution of @@ -37,7 +42,11 @@ */ @ProcInfo(singlePartition = false) public class AdHoc extends VoltSystemProcedure { - + private static final Logger LOG = Logger.getLogger(AdHoc.class); + private static final LoggerBoolean debug = new LoggerBoolean(); + static { + LoggerUtil.attachObserver(LOG, debug); + } final int AGG_DEPID = 1; final int COLLECT_DEPID = 2 | HStoreConstants.MULTIPARTITION_DEPENDENCY; @@ -71,18 +80,26 @@ public DependencySet executePlanFragment(Long txn_id, Map