You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Purshotam Shah (JIRA)" <ji...@apache.org> on 2014/05/19 19:58:39 UTC

[jira] [Commented] (OOZIE-1789) Support backward compatibility of oozie share lib

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

Purshotam Shah commented on OOZIE-1789:
---------------------------------------

If no lib_<timestamp> directory is created under  "/user/${user.name}/share/lib/" (system.libpath) and one directory is with name "oozie" then it will be consider as old sharelib.

No purging for old sharelib. There are no versioning for old sharelib so, no need for purging.

To upgrade sharelib, one need to delete old sharelib and use oozie-setup script to upload sharelib. Will update the doc for sharelib upgrade.


> Support backward compatibility of oozie share lib
> -------------------------------------------------
>
>                 Key: OOZIE-1789
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1789
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 3.1.3, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 4.0.0, 4.0.1
>            Reporter: Satish Mittal
>            Priority: Critical
>
> The current oozie trunk is not backward compatible with the way oozie share lib is configured. Till now, user would manually upload sharelib to HDFS at the system libpath, typically 
> {noformat}
> "/user/${user.name}/share/lib/" 
> {noformat}
> Whereas with latest oozie, one has to use "oozie-setup.sh sharelib create" command to first upload sharelib. 
> As a result, no one can run any actions if directly upgrading from 4.0 or before to the new version. There should be a way to support the older sharelib format in addition to the new format. This is needed for smooth upgrade to latest oozie.



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