Skip to content

Commit

Permalink
Convert local path to cross-cluster accessible point (#10)
Browse files Browse the repository at this point in the history
Convert local path to the cross-cluster accessible point so that Hive-on-Tez in tst cluster can access dw2 data
  • Loading branch information
dcfocus authored and Yaliang committed Sep 5, 2018
1 parent 6f55b43 commit 5461c89
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 12 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1347,5 +1347,11 @@
<module>itests</module>
</modules>
</profile>
<profile>
<id>twitter-tez-protobuf-version</id>
<properties>
<protobuf.version>2.5.0.t02</protobuf.version>
</properties>
</profile>
</profiles>
</project>
7 changes: 7 additions & 0 deletions ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,13 @@ public JobConf createConfiguration(HiveConf hiveConf) throws IOException {

JobConf conf = new JobConf(new TezConfiguration(hiveConf));

// Temporary fix for hadoop bug where hadoop_home is duplicated and assigned to follow params
conf.set("mapreduce.map.env", "");
conf.set("mapreduce.reduce.env", "");
conf.set("tez.am.launch.env", "");
conf.set("tez.task.launch.env", "");
conf.set("yarn.app.mapreduce.am.env", "");

conf.set("mapred.output.committer.class", NullOutputCommitter.class.getName());

conf.setBoolean("mapred.committer.job.setup.cleanup.needed", false);
Expand Down

0 comments on commit 5461c89

Please sign in to comment.