[
https://issues.apache.org/jira/browse/OOZIE-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14158985#comment-14158985
]
Amithsha commented on OOZIE-1981:
---------------------------------
hi shah,
i configured the oozie-site.xml and oozie-default.xml.As u mentioned in above
and after running a job i am getting this error
ACTION[0000000-141004111931570-oozie-hado-W@sqoop-load] Error starting action
[sqoop-load]. ErrorType [ERROR], ErrorCode [IllegalArgumentException], Message
[IllegalArgumentException: Wrong FS: hdfs:/user/hadoop/share/lib, expected:
file:///]
org.apache.oozie.action.ActionExecutorException: IllegalArgumentException:
Wrong FS: hdfs:/user/hadoop/share/lib, expected: file:///
at
org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:402)
at
org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:984)
at
org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1138)
at
org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:234)
at
org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:64)
at org.apache.oozie.command.XCommand.call(XCommand.java:285)
at
org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:321)
at
org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:250)
at
org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: Wrong FS:
hdfs:/user/hadoop/share/lib, expected: file:///
at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:643)
at
org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:79)
at
org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:358)
at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1483)
at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1523)
at
org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:564)
at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1483)
at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1523)
at
org.apache.oozie.service.ShareLibService.getLatestLibPath(ShareLibService.java:593)
at
org.apache.oozie.service.ShareLibService.updateShareLib(ShareLibService.java:474)
at
org.apache.oozie.service.ShareLibService.getShareLibJars(ShareLibService.java:306)
at
org.apache.oozie.action.hadoop.JavaActionExecutor.addShareLib(JavaActionExecutor.java:583)
at
org.apache.oozie.action.hadoop.JavaActionExecutor.addActionShareLib(JavaActionExecutor.java:719)
at
org.apache.oozie.action.hadoop.JavaActionExecutor.addAllShareLibs(JavaActionExecutor.java:701)
at
org.apache.oozie.action.hadoop.JavaActionExecutor.setLibFilesArchives(JavaActionExecutor.java:694)
at
org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:889)
... 10 more
my site.xml and default.xml
<property>
<name>oozie.service.WorkflowAppService.system.libpath</name>
<value>hdfs:///user/hadoop/share/lib</value>
<description>
System library path to use for workflow applications.
This path is added to workflow application if their job properties
sets
the property 'oozie.use.system.libpath' to true.
</description>
</property>
<property>
<name>oozie.service.WorkflowAppService.system.libpath</name>
<value>hdfs:///user/hadoop/share/lib</value>
<description>
System library path to use for workflow applications.
This path is added to workflow application if their job properties
sets
the property 'oozie.use.system.libpath' to true.
</description>
</property>
can u suggest .....Thank u :)
> Oozie Could not locate Oozie sharelib]
> --------------------------------------
>
> Key: OOZIE-1981
> URL: https://issues.apache.org/jira/browse/OOZIE-1981
> Project: Oozie
> Issue Type: Bug
> Environment: In VMwrae running CDH 5.1
> (cloudera-quickstart-vm-5.1.0-1-vmware)
> Reporter: Kashinath Walikhindi
>
> In Windows 7 running Oozie in VMwrae running CDH 5.1
> (cloudera-quickstart-vm-5.1.0-1-vmware). While running given example programs
> got below error. The command I used to run is :
> -------------------
> [cloudera@quickstart ~]$ oozie job -oozie http://localhost:11000/oozie
> -config examples/apps/map-reduce/job.properties -run
> job: 0000001-140826021802096-oozie-oozi-W
> [cloudera@quickstart ~]$
> [cloudera@quickstart ~]$ oozie job -oozie http://localhost:11000/oozie -info
> 0000001-140826021802096-oozie-oozi-W
> Job ID : 0000001-140826021802096-oozie-oozi-W
> ------------------------------------------------------------------------------------------------------------------------------------
> Workflow Name : map-reduce-wf
> App Path : hdfs://localhost:8020/user/cloudera/examples/apps/map-reduce
> Status : FAILED
> ------------------
> Below is the error Log information.
> --------------------------------------------------
> 2014-08-26 07:24:30,716 INFO ActionStartXCommand:539 -
> SERVER[quickstart.cloudera] USER[cloudera] GROUP[-] TOKEN[]
> APP[map-reduce-wf] JOB[0000001-140826021802096-oozie-oozi-W]
> ACTION[0000001-140826021802096-oozie-oozi-W@:start:] Start action
> [0000001-140826021802096-oozie-oozi-W@:start:] with user-retry state :
> userRetryCount [0], userRetryMax [0], userRetryInterval [10]
> 2014-08-26 07:24:30,717 WARN ActionStartXCommand:542 -
> SERVER[quickstart.cloudera] USER[cloudera] GROUP[-] TOKEN[]
> APP[map-reduce-wf] JOB[0000001-140826021802096-oozie-oozi-W]
> ACTION[0000001-140826021802096-oozie-oozi-W@:start:]
> [***0000001-140826021802096-oozie-oozi-W@:start:***]Action status=DONE
> 2014-08-26 07:24:30,717 WARN ActionStartXCommand:542 -
> SERVER[quickstart.cloudera] USER[cloudera] GROUP[-] TOKEN[]
> APP[map-reduce-wf] JOB[0000001-140826021802096-oozie-oozi-W]
> ACTION[0000001-140826021802096-oozie-oozi-W@:start:]
> [***0000001-140826021802096-oozie-oozi-W@:start:***]Action updated in DB!
> 2014-08-26 07:24:31,038 INFO ActionStartXCommand:539 -
> SERVER[quickstart.cloudera] USER[cloudera] GROUP[-] TOKEN[]
> APP[map-reduce-wf] JOB[0000001-140826021802096-oozie-oozi-W]
> ACTION[0000001-140826021802096-oozie-oozi-W@mr-node] Start action
> [0000001-140826021802096-oozie-oozi-W@mr-node] with user-retry state :
> userRetryCount [0], userRetryMax [0], userRetryInterval [10]
> 2014-08-26 07:24:31,329 WARN ActionStartXCommand:542 -
> SERVER[quickstart.cloudera] USER[cloudera] GROUP[-] TOKEN[]
> APP[map-reduce-wf] JOB[0000001-140826021802096-oozie-oozi-W]
> ACTION[0000001-140826021802096-oozie-oozi-W@mr-node] Error starting action
> [mr-node]. ErrorType [FAILED], ErrorCode [EJ001], Message [Could not locate
> Oozie sharelib]
> org.apache.oozie.action.ActionExecutorException: Could not locate Oozie
> sharelib
> at
> org.apache.oozie.action.hadoop.JavaActionExecutor.addSystemShareLibForAction(JavaActionExecutor.java:540)
> at
> org.apache.oozie.action.hadoop.JavaActionExecutor.addAllShareLibs(JavaActionExecutor.java:635)
> at
> org.apache.oozie.action.hadoop.JavaActionExecutor.setLibFilesArchives(JavaActionExecutor.java:626)
> at
> org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:821)
> at
> org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1071)
> at
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:228)
> at
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:63)
> at org.apache.oozie.command.XCommand.call(XCommand.java:283)
> at
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:323)
> at
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:252)
> at
> org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:174)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> 2014-08-26 07:24:31,330 WARN ActionStartXCommand:542 -
> SERVER[quickstart.cloudera] USER[cloudera] GROUP[-] TOKEN[]
> APP[map-reduce-wf] JOB[0000001-140826021802096-oozie-oozi-W]
> ACTION[0000001-140826021802096-oozie-oozi-W@mr-node] Failing Job due to
> failed action [mr-node]
> 2014-08-26 07:24:31,339 WARN LiteWorkflowInstance:542 -
> SERVER[quickstart.cloudera] USER[cloudera] GROUP[-] TOKEN[]
> APP[map-reduce-wf] JOB[0000001-140826021802096-oozie-oozi-W]
> ACTION[0000001-140826021802096-oozie-oozi-W@mr-node] Workflow Failed. Failing
> node [mr-node]
> 2014-08-26 07:24:31,578 INFO KillXCommand:539 - SERVER[quickstart.cloudera]
> USER[cloudera] GROUP[-] TOKEN[] APP[map-reduce-wf]
> JOB[0000001-140826021802096-oozie-oozi-W] ACTION[-] STARTED
> WorkflowKillXCommand for jobId=0000001-140826021802096-oozie-oozi-W
> 2014-08-26 07:24:31,599 INFO KillXCommand:539 - SERVER[quickstart.cloudera]
> USER[cloudera] GROUP[-] TOKEN[] APP[map-reduce-wf]
> JOB[0000001-140826021802096-oozie-oozi-W] ACTION[-] ENDED
> WorkflowKillXCommand for jobId=0000001-140826021802096-oozie-oozi-W
> ----------------------------------------------------
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)