Support Questions

Find answers, ask questions, and share your expertise

Oozie fails to start.

avatar
New Contributor

Hi 

 

Right now my version of hadoop is cdh5.0.0.

 

I got an errors when startup the oozie.

 

2014-07-03 10:58:19,928 INFO CodecFactory:539 - SERVER[mb35li] USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] Using NONE as output compression codec
2014-07-03 10:58:19,985 WARN ConfigurationService:542 - SERVER[mb35li] USER[-] GROUP[-] Configuration property [oozie.service.ShareLibService.mapping.file] not found, using default []
2014-07-03 10:58:20,431 ERROR ShareLibService:536 - SERVER[mb35li] USER[-] GROUP[-] Not able to cache shareLib. Admin need to issue oozlie cli command to update sharelib.
java.io.FileNotFoundException: File /user/oozie/share/lib does not exist
at org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:362)
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)

 

Here is my oozie-site.xml to load.

<property>
<name>oozie.service.WorkflowAppService.system.libpath</name>
<!--<value>/user/${user.name}/share/lib</value> -->
<value>/user/oozie/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>

 

Here is my hdfs sharelib.


hadoop@mb35li:/usr/local/cdh5.0.0$ hadoop fs -ls /user/oozie/share/lib
Found 1 items
drwxr-xr-x - hadoop hadoop 0 2014-07-03 10:28 /user/oozie/share/lib/lib_20140703102746

 

I have tried  lots of ways to figure out waht the cause for it. but it is unfortune.

 

Do you have any ideas?

thanks in advance.

1 ACCEPTED SOLUTION

avatar
New Contributor

I think I fix the problem by copy the hadoop cor-site to hadoop-conf. because the original one is localhost mode. it is not suitable for the cluster mode.

 

Anyway, thanks, 

View solution in original post

1 REPLY 1

avatar
New Contributor

I think I fix the problem by copy the hadoop cor-site to hadoop-conf. because the original one is localhost mode. it is not suitable for the cluster mode.

 

Anyway, thanks,