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

Steve Loughran commented on SLIDER-188:
---------------------------------------

that {{hdfs:// path}} feature is somewhat of a legacy -ask people in the HDFS 
team whether they like it or not, as it gets confusing once you change the 
default FS. I don't think we should add any explicit code for it

What we should be doing is testing that if no URI is given, the path is picked 
up from the default FS, e.g.

--image /slider/agent/agent.tar

> Slider client should default to fs.defaultFS specified in slider-client.xml 
> for hdfs paths provided in the input
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SLIDER-188
>                 URL: https://issues.apache.org/jira/browse/SLIDER-188
>             Project: Slider
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: Slider 0.40
>            Reporter: Sumit Mohanty
>
> Usability Issue:
> Users should be able to provide
> slider create cl2 --image hdfs://slider/agent/slider-agent.tar.gz --template 
> appConfig.json --resources resources.json
> Instead of having to specify the host:port:
> slider create cl2 --image hdfs:// *cn105-10.l42scl.hortonworks.com:8020/* 
> slider/agent/slider-agent.tar.gz --template appConfig.json --resources 
> resources.json
> The host:port can be resolved based on the default value provided in 
> slider-client.xml.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to