Andras Salamon created OOZIE-3436:
-------------------------------------

             Summary: Strange error messages if filtering for a nonexistent job
                 Key: OOZIE-3436
                 URL: https://issues.apache.org/jira/browse/OOZIE-3436
             Project: Oozie
          Issue Type: Bug
    Affects Versions: trunk
            Reporter: Andras Salamon


If I ask for an info about a nonexistent job Oozie will give a correct error 
message:
{noformat}
$ oozie job -info NOSUCHJOB
Error: E0604 : E0604: Job does not exist [NOSUCHJOB]{noformat}
If I ask for the log, the error message is not that nice:
{noformat}
$ oozie job -log NOSUCHJOB                                                      
                                                                                
                                                                                
Error: E0307 : E0307: Runtime error [E0604: Job does not exist 
[NOSUCHJOB]]{noformat}
If I ask for the server or audit logs, the error message is incorrect:
{noformat}
$ oozie job -errorlog NOSUCHJOB                                                 
                                                                                
                                                                                
Error: HTTP error code: 500 : Server Error
$ oozie job -auditlog NOSUCHJOB                                                 
                                                                                
                                                                                
Error: HTTP error code: 500 : Server Error
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to