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

Alejandro Abdelnur commented on OOZIE-1054:
-------------------------------------------

Bowen, it looks good, just a few final minor things and it is ready to go. 
THANKS, nice job.

* oozie-setup.sh, help message. minor change: SHARED_LIBRARY path to the Oozie 
sharelib to install, it can the tarball or an expanded version of it. If 
omitted, the Oozie sahrelib tarball from the Oozie installation directory will 
be used. 
* oozie-setup.sh, help message. minor change: fails if there is no existing 
sharelib installed in HDFS.
* the above corrections should go in the AG_Install twiki page as well.
* the DG_QuickStart twiki should be updated accordingly as well.
* creating a temp dir, we should use the system tmp dir, the trick for doing 
that is:

{code}
  tempDir = File.createTempFile("oozie", ".dir");
  tempDir.delete();
  tempDir.mkdir();
  tempDir.deleteOnExit();
{code}

* the help does not work correctly:

{code}
$ bin/oozie-setup.sh sharelib help
  setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"

Error: -fs option must be specified
....
{code}

                
> Create script to properly upload sharelib to HDFS
> -------------------------------------------------
>
>                 Key: OOZIE-1054
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1054
>             Project: Oozie
>          Issue Type: New Feature
>          Components: scripts
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Bowen Zhang
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: oozie-1054.patch, oozie-1054.patch, oozie-1054.patch, 
> oozie-1054.patch, oozie-1054.patch, oozie-1054.patch, oozie-1054.patch, 
> oozie-1054.patch, oozie-1054.patch
>
>
> A common confusion-point for users is how to properly install the sharelib in 
> HDFS.  It would be really useful if we could create a script to properly 
> upload the sharelib to HDFS so we can get rid of the confusion around this.  
> Alternatively, instead of a new script, we could have the oozie-setup.sh 
> script take an argument that does this.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to