Support Questions

Find answers, ask questions, and share your expertise

IllegalArgumentException java.net.URISyntaxException

avatar
Expert Contributor

Hi,

 

After upgrading to CDH 5.5.1 from CDH 5.4.2, our oozie workflows started failing, which used to wok in CDH 5.4.2. Now we are confused why this is happening. Please see the following error:

 

FAILED: IllegalArgumentException java.net.URISyntaxException: Relative path in absolute URI: file:./tmp/yarn/83926d9d-6271-45de-9d44-9c2b12a649bc/hive_2016-01-24_20-34-24_987_916201278402533005-1
Intercepting System.exit(40000)
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [40000]

 

please need help asap!!!!

 

Thanks!!!

1 ACCEPTED SOLUTION

avatar
Mentor
You may be running into OOZIE-2380, which will be fixed in CDH 5.5.2 onwards. You can apply the below change in your oozie-site.xml to work around this until the bug-fix update arrives:
 
<property>
<name>oozie.action.launcher.mapreduce.job.ubertask.enable</name>
<value>false</value>
</property>

View solution in original post

4 REPLIES 4

avatar
Mentor
You may be running into OOZIE-2380, which will be fixed in CDH 5.5.2 onwards. You can apply the below change in your oozie-site.xml to work around this until the bug-fix update arrives:
 
<property>
<name>oozie.action.launcher.mapreduce.job.ubertask.enable</name>
<value>false</value>
</property>

avatar
Expert Contributor

Hi,

 

Thanks Harsh the workaround works for hive action, but we still notice our failed email action started throwing nullpointerexception too.

 

<action name="killEmail">
<email xmlns="uri:oozie:email-action:0.1">
<to>${emailRecipients}</to>
<subject>Oozie Workflow Run Error On abc-hist Workflow</subject>
<body>Oozie workflow id: ${wf:id()}, run failed.Error Message: [ ${wf:errorMessage(wf:lastErrorNode())} ]
</body>
</email>
<ok to="kill"/>
<error to="kill"/>
</action>

 

 

Can you please help us out with this too !!!!

 

Thanks

avatar
Mentor
Could you post the entire exception and the stack trace, preferably over
another community thread? This would be unrelated to the original issue as
email actions are done directly from the server vs. via a launcher tasks.

avatar
Expert Contributor
Hi harsh, The issue related to hive action works when single workflow is running, but when we try to run multiple workflows at same time it shows error with following INFO: 2016-01-25 02:13:20,396 INFO [Thread-68] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator: Final Stats: PendingReds:0 ScheduledMaps:0 ScheduledReds:0 AssignedMaps:1 AssignedReds:0 CompletedMaps:1 CompletedReds:0 ContAlloc:1 ContRel:0 HostLocal:0 RackLocal:0 2016-01-25 02:13:20,400 INFO [Thread-68] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Deleting staging directory hdfs://xxxx:8020 /user/cdhadmin/.staging/job_1453585092595_0349 2016-01-25 02:13:20,403 INFO [Thread-68] org.apache.hadoop.ipc.Server: Stopping server on 59772 2016-01-25 02:13:20,404 INFO [IPC Server listener on 59772] org.apache.hadoop.ipc.Server: Stopping IPC Server listener on 59772 2016-01-25 02:13:20,404 INFO [TaskHeartbeatHandler PingChecker] org.apache.hadoop.mapreduce.v2.app.TaskHeartbeatHandler: TaskHeartbeatHandler thread interrupted 2016-01-25 02:13:20,405 INFO [Ping Checker] org.apache.hadoop.yarn.util.AbstractLivelinessMonitor: TaskAttemptFinishingMonitor thread interrupted 2016-01-25 02:13:20,404 INFO [IPC Server Responder] org.apache.hadoop.ipc.Server: Stopping IPC Server Responder