[ 
https://issues.apache.org/jira/browse/OOZIE-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223637#comment-13223637
 ] 

[email protected] commented on OOZIE-739:
-----------------------------------------------------


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

Review request for oozie.


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 
hdfs://axoniteblue-nn1.blue.ygrid.yahoo.com:8020/user/mchiang/coord-input/2010/06/11/01/00/_SUCCESS
 
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 [axoniteblue-nn1.blue.ygrid.yahoo.com:8020] not allowed, not in Oozies 
whitelist STORE is active true 
java.io.IOException: org.apache.oozie.service.HadoopAccessorException: E0901: 
Namenode [axoniteblue-nn1.blue.ygrid.yahoo.com: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://axoniteblue-nn1.blue.ygrid.yahoo.com: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
-----

  
http://svn.apache.org/repos/asf/incubator/oozie/trunk/core/src/main/java/org/apache/oozie/command/coord/CoordActionInputCheckXCommand.java
 1297679 

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


Testing
-------


Thanks,

Mohamed


                
> 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 not written to the 
> database
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-739
>                 URL: https://issues.apache.org/jira/browse/OOZIE-739
>             Project: Oozie
>          Issue Type: Bug
>          Components: coordinator
>    Affects Versions: 3.2.0
>            Reporter: Mohamed Battisha
>            Priority: Minor
>             Fix For: 3.2.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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
> hdfs://axoniteblue-nn1.blue.ygrid.yahoo.com:8020/user/mchiang/coord-input/2010/06/11/01/00/_SUCCESS
> 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 [axoniteblue-nn1.blue.ygrid.yahoo.com:8020] not allowed, not in 
> Oozies
> whitelist STORE is active true
> java.io.IOException: org.apache.oozie.service.HadoopAccessorException: E0901:
> Namenode [axoniteblue-nn1.blue.ygrid.yahoo.com: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://axoniteblue-nn1.blue.ygrid.yahoo.com:8020/user/mchiang/coord-input/2010/06/11/01/00/_SUCCESS
> ------------------------------------------------------------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to