-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4204/
-----------------------------------------------------------

(Updated 2012-03-23 16:34:50.675110)


Review request for oozie.


Changes
-------

Adding unit test codes and addressing review feedback


Summary
-------

a coord action fails because the uri points to a namenode that is not in 
whitelist. the E0901 error shows in the oozie.log. but the error code and error 
message does not display in oozie job -info action# -verbose. for example, 

$ oozie job -log 0000028-100625200833755-oozie-oozi-C 
... 
2010-06-28 18:50:56,502 DEBUG CoordActionInputCheckCommand:544 - USER[mchiang] 
GROUP[users] TOKEN[] APP[coord-21-20] JOB[0000028-100625200833755-oozie-oozi-C] 
ACTION[-] checking for the file 
2010-06-28 18:50:56,502 WARN CoordActionInputCheckCommand:541 - USER[mchiang] 
GROUP[users] TOKEN[] APP[coord-21-20] JOB[0000028-100625200833755-oozie-oozi-C] 
ACTION[-] 0000028-100625200833755-oozie-oozi-C@1: Exception occurs: 
java.io.IOException: org.apache.oozie.service.HadoopAccessorException: E0901: 
Namenode [XXXXXX:8020] not allowed, not in Oozies 
whitelist STORE is active true 
java.io.IOException: org.apache.oozie.service.HadoopAccessorException: E0901: 
Namenode [XXXXX:8020] not allowed, not in Oozies 
whitelist 
... 


$ oozie job -info 0000028-100625200833755-oozie-oozi-C@1 -verbose 
ID : 0000028-100625200833755-oozie-oozi-C@1 
------------------------------------------------------------------------------------------------------------------------------------
 
Action Number : 1 
Console URL : - 
Error Code : - 
Error Message : - 
External ID : - 
External Status : - 
Job ID : 0000028-100625200833755-oozie-oozi-C 
Tracker URI : - 
Created : 2010-06-28 18:50 
Status : WAITING 
Last Modified : 2010-06-28 18:50 
Missing Dependencies : 
hdfs://XXXXXX:8020/user/mchiang/coord-input/2010/06/11/01/00/_SUCCESS 
------------------------------------------------------------------------------------------------------------------------------------
 


This addresses bug OOZIE-739.
    https://issues.apache.org/jira/browse/OOZIE-739


Diffs (updated)
-----

  
http://svn.apache.org/repos/asf/incubator/oozie/trunk/core/src/main/java/org/apache/oozie/command/coord/CoordActionInputCheckXCommand.java
 1303467 
  
http://svn.apache.org/repos/asf/incubator/oozie/trunk/core/src/main/java/org/apache/oozie/service/HadoopAccessorService.java
 1303467 
  
http://svn.apache.org/repos/asf/incubator/oozie/trunk/core/src/test/java/org/apache/oozie/command/coord/TestCoordActionInputCheckXCommand.java
 1304465 

Diff: https://reviews.apache.org/r/4204/diff


Testing
-------


Thanks,

Mohamed

Reply via email to