Author: kamrul
Date: Wed Nov 14 01:14:03 2012
New Revision: 1409048

URL: http://svn.apache.org/viewvc?rev=1409048&view=rev
Log:
OOZIE-1052 HadoopAccessorService.createFileSystem throws exception in 
map-reduce action, failing workflow.(ryota via mohammad).

Modified:
    
oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/LauncherMapper.java
    oozie/trunk/release-log.txt

Modified: 
oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/LauncherMapper.java
URL: 
http://svn.apache.org/viewvc/oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/LauncherMapper.java?rev=1409048&r1=1409047&r2=1409048&view=diff
==============================================================================
--- 
oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/LauncherMapper.java
 (original)
+++ 
oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/LauncherMapper.java
 Wed Nov 14 01:14:03 2012
@@ -316,8 +316,9 @@ public class LauncherMapper<K1, V1, K2, 
             Path p = getIdSwapPath(actionDir);
             // log.debug("Checking for newId file in: [{0}]", p);
 
-            FileSystem fs = 
Services.get().get(HadoopAccessorService.class).createFileSystem(user, 
p.toUri(),
-                                                                               
              new Configuration());
+            HadoopAccessorService has = 
Services.get().get(HadoopAccessorService.class);
+            Configuration conf = has.createJobConf(p.toUri().getAuthority());
+            FileSystem fs = has.createFileSystem(user, p.toUri(), conf);
             if (fs.exists(p)) {
                 log.debug("Hadoop Counters is null, but found newID file.");
 

Modified: oozie/trunk/release-log.txt
URL: 
http://svn.apache.org/viewvc/oozie/trunk/release-log.txt?rev=1409048&r1=1409047&r2=1409048&view=diff
==============================================================================
--- oozie/trunk/release-log.txt (original)
+++ oozie/trunk/release-log.txt Wed Nov 14 01:14:03 2012
@@ -1,5 +1,6 @@
 -- Oozie 3.4.0 release (trunk - unreleased)
 
+OOZIE-1052 HadoopAccessorService.createFileSystem throws exception in 
map-reduce action, failing workflow.(ryota via mohammad).
 OOZIE-1028 Add EL function to allow date ranges to be used for dataset ranges 
(rkanter via tucu)
 OOZIE-1048 Enable propagation of native libraries as a VM argument using 
java.library.path (venkatesh via tucu)
 OOZIE-959  Use API from OOZIE-906 in console (Ashish via Mohammad)


Reply via email to