OOZIE-2156 override hive.querylog.location in hive-site.xml (ryota)

Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/cb6fb2fb
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/cb6fb2fb
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/cb6fb2fb

Branch: refs/heads/master
Commit: cb6fb2fbf8a2780a3cd55a38c9a7ff7a9848c57d
Parents: b916754
Author: egashira <[email protected]>
Authored: Thu Mar 5 10:48:07 2015 -0800
Committer: egashira <[email protected]>
Committed: Thu Mar 5 10:48:07 2015 -0800

----------------------------------------------------------------------
 release-log.txt                                                    | 1 +
 .../src/main/java/org/apache/oozie/action/hadoop/HiveMain.java     | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/cb6fb2fb/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index bd81afb..4b51bbd 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 4.2.0 release (trunk - unreleased)
 
+OOZIE-2156 override hive.querylog.location in hive-site.xml (ryota)
 OOZIE-2153 modify HCatCredentialHelper to use HCatClient (ryota)
 OOZIE-2132 FS actions are not retried (ryota)
 OOZIE-2147 Oozie upgrade from 4.0.0 to 4.1.0 fails with CLOBs of zero length 
with Oracle DB (venkatnrangan via bzhang)

http://git-wip-us.apache.org/repos/asf/oozie/blob/cb6fb2fb/sharelib/hive/src/main/java/org/apache/oozie/action/hadoop/HiveMain.java
----------------------------------------------------------------------
diff --git 
a/sharelib/hive/src/main/java/org/apache/oozie/action/hadoop/HiveMain.java 
b/sharelib/hive/src/main/java/org/apache/oozie/action/hadoop/HiveMain.java
index 6278d29..df9828a 100644
--- a/sharelib/hive/src/main/java/org/apache/oozie/action/hadoop/HiveMain.java
+++ b/sharelib/hive/src/main/java/org/apache/oozie/action/hadoop/HiveMain.java
@@ -114,6 +114,8 @@ public class HiveMain extends LauncherMain {
         // to force hive to use the jobclient to submit the job, never using 
HADOOPBIN (to do localmode)
         hiveConf.setBoolean("hive.exec.mode.local.auto", false);
 
+        hiveConf.set("hive.querylog.location", "./hivelogs");
+
         return hiveConf;
     }
 

Reply via email to