Re: Oozie sharelib does not exists

2017-02-26 Thread Peter Cseh
Can you share the output of the
oozie admin -sharelibupdate


command?
Thanks
gp

On Sun, Feb 26, 2017 at 10:17 PM, Pushkar.Gujar 
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  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 
>> 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
>> 
>>
>
>


-- 
Peter Cseh
Software Engineer



Re: Oozie sharelib does not exists

2017-02-26 Thread Pushkar.Gujar
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  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 
> 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
> 
>


Re: Oozie sharelib does not exists

2017-02-26 Thread Peter Cseh
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 
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