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

Steve Loughran commented on SLIDER-688:
---------------------------------------

bin/hadoop is not the recommended way of launching YARN apps: HADOOP-11257

I don't see any reason why using yarn.sh wouldn't work on unix, but:

# you would have to pass down the pointer to the slider.libdir and 
slider.confdir JVM options. We use these to set up the launch, including 
uploading ${slider.libdir}/*.jar to YARN, grabbing slider.confdir/log4j-server 
properties for the log
# i doubt password prompting would work —ambari needs this, but you may not
# windows support will be unknown


All our functional tests invoke the slider script
our code is all in 
https://github.com/apache/incubator-slider/blob/develop/slider-assembly/src/main/scripts/slider.py

> Zero touch install support
> --------------------------
>
>                 Key: SLIDER-688
>                 URL: https://issues.apache.org/jira/browse/SLIDER-688
>             Project: Slider
>          Issue Type: Improvement
>    Affects Versions: Slider 0.60
>            Reporter: Thomas Weise
>            Assignee: Sumit Mohanty
>
> Currently the user needs to specify environment variable such as 
> HADOOP_CONF_DIR and JAVA_HOME. Typlically the environment has Hadoop 
> installed and distros have already provided the dependencies. User should not 
> have to configure this for Slider.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to