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

Bipin Prasad commented on STORM-3742:
-------------------------------------

Alternatively, if your intent is to have your class process the arguments: then 
insert "--" to stop argument processing:

{code}
storm local target/stormcrawler-1.0-SNAPSHOT.jar 
global.climateemergency.ESCrawlTopology -- -conf crawler-conf.yaml -conf 
es-conf.yaml . seeds.txt
{code}

Storm 2.2.x will parse "-c" as a single override and --config accepts file 
argument. 
But "-conf crawler-conf.yaml" will be parsed as "-c onf crawler-conf.yaml" 

> Topology arguments starting with -c get removed
> -----------------------------------------------
>
>                 Key: STORM-3742
>                 URL: https://issues.apache.org/jira/browse/STORM-3742
>             Project: Apache Storm
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Julien Nioche
>            Assignee: Bipin Prasad
>            Priority: Major
>
>  with the following command
> {{{{storm local target/stormcrawler-1.0-SNAPSHOT.jar 
> global.climateemergency.ESCrawlTopology -conf crawler-conf.yaml -conf 
> es-conf.yaml . seeds.txt}}}}
> the topology class is only getting [crawler-conf.yaml, es-conf.yaml, ., 
> seeds.txt]and the -conf have been removed.
> Anything after the class name should be left as-is. 
> This does not happen with Storm 1.2.3
>  
>  
> {{{{}}}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to