Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Fixed to use hive.query.id for JobId (in Tez/Hive)
Browse files Browse the repository at this point in the history
  • Loading branch information
myui committed Sep 4, 2014
1 parent c186617 commit 7431248
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/hivemall/utils/hadoop/HadoopUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ public static String getJobId() {
if(jobId == null) {
jobId = conf.get("mapreduce.job.id");
if(jobId == null) {
String appId = conf.get("mapreduce.tez.session.tokill-application-id");
if(appId != null) {
return appId;
String queryId = conf.get("hive.query.id");
if(queryId != null) {
return queryId;
}
String taskidStr = conf.get("mapred.task.id");
if(taskidStr == null) {
Expand Down
Binary file modified target/hivemall-fat.jar
Binary file not shown.
Binary file modified target/hivemall-with-dependencies.jar
Binary file not shown.
Binary file modified target/hivemall.jar
Binary file not shown.

0 comments on commit 7431248

Please sign in to comment.