Author: daijy
Date: Wed Jan 18 00:10:37 2017
New Revision: 1779283
URL: http://svn.apache.org/viewvc?rev=1779283&view=rev
Log:
PIG-4918: Pig on Tez cannot switch pig.temp.dir to another fs
Modified:
pig/branches/branch-0.16/CHANGES.txt
pig/branches/branch-0.16/src/org/apache/pig/backend/hadoop/executionengine/tez/TezResourceManager.java
Modified: pig/branches/branch-0.16/CHANGES.txt
URL:
http://svn.apache.org/viewvc/pig/branches/branch-0.16/CHANGES.txt?rev=1779283&r1=1779282&r2=1779283&view=diff
==============================================================================
--- pig/branches/branch-0.16/CHANGES.txt (original)
+++ pig/branches/branch-0.16/CHANGES.txt Wed Jan 18 00:10:37 2017
@@ -32,6 +32,8 @@ OPTIMIZATIONS
BUG FIXES
+PIG-4918: Pig on Tez cannot switch pig.temp.dir to another fs (daijy)
+
PIG-5078: Script fails with error - POStoreTez only accepts MROutput (rohini)
PIG-5088: HashValuePartitioner has skew when there is only map fields (rohini)
Modified:
pig/branches/branch-0.16/src/org/apache/pig/backend/hadoop/executionengine/tez/TezResourceManager.java
URL:
http://svn.apache.org/viewvc/pig/branches/branch-0.16/src/org/apache/pig/backend/hadoop/executionengine/tez/TezResourceManager.java?rev=1779283&r1=1779282&r2=1779283&view=diff
==============================================================================
---
pig/branches/branch-0.16/src/org/apache/pig/backend/hadoop/executionengine/tez/TezResourceManager.java
(original)
+++
pig/branches/branch-0.16/src/org/apache/pig/backend/hadoop/executionengine/tez/TezResourceManager.java
Wed Jan 18 00:10:37 2017
@@ -69,7 +69,7 @@ public class TezResourceManager {
public void init(PigContext pigContext, Configuration conf) throws
IOException {
if (!inited) {
this.resourcesDir =
FileLocalizer.getTemporaryResourcePath(pigContext);
- this.remoteFs = FileSystem.get(conf);
+ this.remoteFs = resourcesDir.getFileSystem(conf);
this.conf = conf;
this.pigContext = pigContext;
this.inited = true;