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

Sumit Mohanty commented on SLIDER-763:
--------------------------------------

"client install" is preferable considering both "install-package" and 
"install-keytab" have their twins in "package install" and "keytab install". I 
was thinking if we should get one step further - "execute --component A_CLIENT 
--command INSTALL". This is motivated by the question - should client install 
be a set of steps implemented by the Slider CLI or should it be invoking a 
script in the package through the agent code. The later is more flexible and 
in-line with all other commands. The former will be simpler but will also limit 
how a client wrapper is installed or configured. 

The "execute" option also allows us to issue "execute --component HBASE_MASTER 
--command START --template appConfig.json" on local disks to simulate START 
command. This will be only for debugging as the purpose is to lay out the files 
and then invoke the scripts. It makes it easier to debug as you do not need to 
deploy through YARN. Also, once the files are in place (simulated container 
file layout) app developers can edit the config and call the command again to 
debug the scripts.

However, for 0.80, it may be better to take it one step at a time. Implement 
"client install" that in-turn calls "execute --component THE_CLIENT --command 
INSTALL" so that we have the plumbing for general purpose calls that can be 
extended in future for local debugging. 

> Add "install client" command to slider
> --------------------------------------
>
>                 Key: SLIDER-763
>                 URL: https://issues.apache.org/jira/browse/SLIDER-763
>             Project: Slider
>          Issue Type: Improvement
>            Reporter: Billie Rinaldi
>            Assignee: Sumit Mohanty
>             Fix For: Slider 2.0.0
>
>
> It should be possible to mimic the agent's environment and run the INSTALL 
> command locally for a component to obtain a client installation of an 
> existing app.  It may require the app to have a CLIENT category of component. 
>  If we had this, each app would no longer need a special script for doing 
> client setup.



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

Reply via email to