Shubham created OOZIE-3439:
------------------------------

             Summary: Hive2 action is not parsing application ID for TEZ from 
log file properly
                 Key: OOZIE-3439
                 URL: https://issues.apache.org/jira/browse/OOZIE-3439
             Project: Oozie
          Issue Type: Bug
          Components: action
    Affects Versions: trunk
            Reporter: Shubham


Oozie workflow does not populate ChildJobUrl for Hive2 Action while Hive1 is 
able to find child job ids.

I looked at the code and found that pattern is not correct for hive2 action 
logs generated in usercache.

 

{code}static final Pattern[] HIVE2_JOB_IDS_PATTERNS = {

Pattern.compile("Ended Job = (job_\\S*)"),
 Pattern.compile("Submitted application (application[0-9_]*)"),
 Pattern.compile("Running with YARN Application = (application[0-9_]*)")
}

{code}

 

Adding below pattern should help in getting Hive 2 action Tez application id

{code}

Pattern.compile("Executing on YARN cluster with App id (application[0-9_]*)"),

{code}



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

Reply via email to