You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2013/07/10 22:23:48 UTC

[jira] [Created] (OOZIE-1447) Sqoop actions that don't launch a map reduce job fail with an IllegalArgumentException

Robert Kanter created OOZIE-1447:
------------------------------------

             Summary: Sqoop actions that don't launch a map reduce job fail with an IllegalArgumentException
                 Key: OOZIE-1447
                 URL: https://issues.apache.org/jira/browse/OOZIE-1447
             Project: Oozie
          Issue Type: Bug
          Components: action
    Affects Versions: 3.3.2
            Reporter: Robert Kanter
            Assignee: Jarek Jarcec Cecho
             Fix For: trunk


The Sqoop action currently assumes that it will always launch an MR job, so if it doesn't (which happens when {{eval}} is used), then even if the actual action succeeds, Oozie will run into an {{IllegalArgumentException}} trying to parse an empty string as a Hadoop job id.  The error is mentioned in the Oozie log, but there is no stack trace.  

You get this confusing output when querying for the action:
{noformat}

oozie job -info 0000002-130710121740870-oozie-oozi-W@eval
ID : 0000002-130710121740870-oozie-oozi-W@eval
------------------------------------------------------------------------------------------------------------------------------------
Console URL       : http://localhost:50030/jobdetails.jsp?jobid=job_201306132134_0027
Error Code        : IllegalArgumentException
Error Message     : IllegalArgumentException: JobId string :  is not properly formed
External ID       : job_201306132134_0027
External Status   : SUCCEEDED
Name              : eval
Retries           : 0
Tracker URI       : localhost:8021
Type              : sqoop
Started           : 2013-07-10 19:29 GMT
Status            : ERROR
Ended             : -
------------------------------------------------------------------------------------------------------------------------------------
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira