public void setHiveTxnManager(HiveTxnManager txnMgr) {
    hiveTxnManager = txnMgr;
  }
Does Hive wants to run tasks entirely on the local machine
(where the query is being compiled)?

Today this translates into running hadoop jobs locally
ql/src/java/org/apache/hadoop/hive/ql/Context.java