In oozie-site.xml, did you point your hadoop.configurations to the path of your hadoop?
On Tuesday, November 12, 2013 9:51 PM, DEWEI SUN <sunde...@gmail.com> wrote: Hi all, I built Oozie 4.0 with Hadoop 2 profile. Now I finished the setup (db, war and linext) and tried to run bin/oozie-run.sh. Now I got this error no matter how I change the permission on HDFS share lib folder: Can anyone help me, please? Thanks. Dewei ERROR: Oozie could not be started REASON: org.apache.oozie.service. ServiceException: E0100: Could not initialize service [org.apache.oozie.service.ShareLibService], Mkdirs failed to create /user/dsun/share/lib/tmp-20131112144512 Stacktrace: ----------------------------------------------------------------- org.apache.oozie.service.ServiceException: E0100: Could not initialize service [org.apache.oozie.service.ShareLibService], Mkdirs failed to create /user/dsun/share/lib/tmp-20131112144512 at org.apache.oozie.service.ShareLibService.init(ShareLibService.java:78) at org.apache.oozie.service.Services.setServiceInternal(Services.java:368) at org.apache.oozie.service.Services.setService(Services.java:354) at org.apache.oozie.service.Services.loadServices(Services.java:287) at org.apache.oozie.service.Services.init(Services.java:208) at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.io.IOException: Mkdirs failed to create /user/dsun/share/lib/tmp-20131112144512 at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:438) at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:424) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:905) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:886) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:783) at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:365) at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338) at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:289) at org.apache.hadoop.fs.LocalFileSystem.copyFromLocalFile(LocalFileSystem.java:81) at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1954) at org.apache.oozie.service.ShareLibService.copyJarContainingClasses(ShareLibService.java:133) at org.apache.oozie.service.ShareLibService.copyLauncherJarsToShareLib(ShareLibService.java:101) at org.apache.oozie.service.ShareLibService.init(ShareLibService.java:73) ... 29 more -----------------------------------------------------------------