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

Robert Kanter commented on OOZIE-1054:
--------------------------------------

He's talking about the {{ooziedb.sh}} script; most of the work is actually done 
by a Java program (from the tools module: 
{{org.apache.oozie.tools.OozieDBCLI}}) that the script runs.  The way you wrote 
the script, it relies on the {{hadoop}} CLI being available and on the PATH; 
instead of doing that, you can create a Java program that uses the Hadoop API 
to upload the sharelib and have the script run that.  The advantage of doing it 
this way is that the user doesn't even have to have Hadoop installed on their 
computer, let alone having it in their PATH (because we'll have the Hadoop JARs 
already from Oozie).  Does that make sense?  
                
> 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: sharelib_upload.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