oozie admin -sharelibupdate [ShareLib update status]
host = http://PUSHKARs-MBP.home:11000/oozie status = java.io.FileNotFoundException: File /user/pushkargujar/share/lib does not exist Thank you, *Pushkar Gujar* On Sun, Feb 26, 2017 at 4:19 PM, Peter Cseh <gezap...@cloudera.com> wrote: > Can you share the output of the > oozie admin -sharelibupdate > > > command? > Thanks > gp > > On Sun, Feb 26, 2017 at 10:17 PM, Pushkar.Gujar <pushkarvgu...@gmail.com> > wrote: > > > I am using same username to run hadoop as well as oozie server. I can see > > all the jar files created under share folder > /user/pushkargujar/share/lib/ > > lib_ > > > > > > > > ** > > > > > > Thank you, > > *Pushkar Gujar* > > > > > > On Sun, Feb 26, 2017 at 3:24 PM, Peter Cseh <gezap...@cloudera.com> > wrote: > > > >> HI, > >> > >> What's the user you're running the oozie server with? > >> > >> oozie-setup.sh uploads the sharelib to the folder > >> /user/${userName}/share/lib and Oozie looks for it there, but if the > oozie > >> server is run by an other user, that can cause issues. > >> You should probably check your hdfs to locate the Oozie sharelib after > >> upload > >> > >> gp > >> > >> On Sun, Feb 26, 2017 at 6:50 PM, Pushkar.Gujar <pushkarvgu...@gmail.com > > > >> wrote: > >> > >> > I am setting up oozie for first time. After all the setup is done, > when > >> I > >> > ran example workflows, they failed. And -errorlog shows following > >> message > >> > > >> > org.apache.oozie.action.ActionExecutorException: > >> > File /user/userName/share/lib does not exist > >> > > >> > I did run the below command to create sharelib while doing setup and I > >> can > >> > see the sharelib with all the jars in hdfs webconsole- > >> > > >> > ./oozie-setup.sh sharelib create -fs hdfs://localhost:9000 > >> > > >> > but when I verify the available sharelib using > >> > > >> > oozie admin -shareliblist > >> > > >> > it shows only [Availble Sharelib] message with no libs actually > listed. > >> > > >> > Any idea, what can be the issue? > >> > > >> > Thank you, > >> > Pushkar > >> > > >> > >> > >> > >> -- > >> Peter Cseh > >> Software Engineer > >> <http://www.cloudera.com> > >> > > > > > > > -- > Peter Cseh > Software Engineer > <http://www.cloudera.com> >