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

Gour Saha commented on SLIDER-407:
----------------------------------

Does that mean that we are targeting for something like this, in which case the 
appConfig.json and resources.json does not need to be extracted in localhost 
and specified during create command -
{noformat}
./slider create cl1 --image 
hdfs://c6410.ambari.apache.org:8020/user/yarn/slider-agent.tar.gz --name hbase
{noformat}

OR maybe even provide an option to upload the slider-agent.tar.gz to a default 
location (say under ~ or maybe ~/.slider/agent)
{noformat}
./slider install-agent <some-path>/slider-agent.tar.gz
{noformat}

AND let the create command default to it, if not provided in the command line. 
So the create command can become as simple as -
{noformat}
./slider create cl1 --name hbase
{noformat}


> Add install package command to install app packages
> ---------------------------------------------------
>
>                 Key: SLIDER-407
>                 URL: https://issues.apache.org/jira/browse/SLIDER-407
>             Project: Slider
>          Issue Type: Bug
>          Components: app-package, client
>    Affects Versions: Slider 0.50
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: Slider 0.60
>
>
> Slider client should provide an app install command to allow users to upload 
> apps into HDFS. App packages will be uploaded to user home directory within 
> sub-directory (~/.slider/package). This path will also be the default path in 
> the default appConfig.json file associated with the app packages.
> Uploading of app package expects an identifier and the location to the app 
> package file locally. Optionally an overwrite flag can be specified to 
> overwrite existing package. _This should be used with a caution that there 
> may be running apps referring to the existing package._
> Sample commands:
> {noformat}
> ./slider install-package --name hbase --package ../../hbase/hbase-v098.zip
> ./slider install-package --name hbase --package ../../hbase/hbase-v098.zip 
> --replacepkg true
> {noformat}



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

Reply via email to