[ 
https://issues.apache.org/jira/browse/OOZIE-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14030449#comment-14030449
 ] 

Shwetha G S commented on OOZIE-1877:
------------------------------------

{quote}
You can't have an order where u start oozie and then HDFS.
It may not be acceptable to all users ( mainly ops).
{quote}
I am ok with adding a config that controls fail fast. But the default config 
should work for most newbie oozie users. Overriding configs are for advanced 
oozie users. 

With current oozie code, if there is any usecase where the workflow will fail 
without sharelib, we should set the default config value as true(so that it 
fails fast, instead of wasting hours later to figure out which jar has the 
missing class and why that jar is not loaded. Trust me, we have spent enough 
time debugging these). If current oozie will work always even without sharelib, 
you can set it to false. I haven't gone through the recent sharelib changes, so 
I don't know how exactly its used. Its your call. Make sure the default 
installation works for new oozie users

Between, if hdfs is down when oozie comes up, what will happen to the workflows 
that are launched? Ops will re-run the killed workflows? Isn't it too much 
effort?


> Setting to fail oozie server startup in case of sharelib misconfiguration
> -------------------------------------------------------------------------
>
>                 Key: OOZIE-1877
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1877
>             Project: Oozie
>          Issue Type: Sub-task
>            Reporter: Purshotam Shah
>            Assignee: Purshotam Shah
>         Attachments: OOZIE-1877-V1.patch
>
>
> "OOZIE-1584 Setup sharelib using script and pickup latest(honor 
> ship.launcher) and remove DFS dependency at startup" has removed sharelib 
> dependency at startup.
> If DFS is down or sharelib is misconfigured. Server will start without 
> loading sharelib, admin can issue sharelibupdate command to load sharelib.
> This is good, may not be acceptable in production. If sharelib is 
> misconfigured then oozie server will come up without loading sharelib and all 
> submitted hadoop job will fail.
> Better to have a property to shutdown oozie server, if sharelib 
> initialization fails.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to