What version of Storm are you using?  The --jars argument was introduced in
Storm 1.1.0 I believe.

Reminds me of a fix we did for the Parser topology.
https://github.com/apache/metron/pull/1042



On Wed, Oct 10, 2018 at 6:34 AM Farrukh Naveed Anjum <
anjum.farr...@gmail.com> wrote:

> Thanks its done, now encountring error while starting
>
> Running: /usr/jdk64/jdk1.8.0_77/bin/java -server -Ddaemon.name= 
> -Dstorm.options= -Dstorm.home=/usr/hdp/2.5.3.0-37/storm 
> -Dstorm.log.dir=/var/log/storm 
> -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= 
> -cp 
> /usr/hdp/2.5.3.0-37/storm/lib/asm-5.0.3.jar:/usr/hdp/2.5.3.0-37/storm/lib/clojure-1.7.0.jar:/usr/hdp/2.5.3.0-37/storm/lib/disruptor-3.3.2.jar:/usr/hdp/2.5.3.0-37/storm/lib/kryo-3.0.3.jar:/usr/hdp/2.5.3.0-37/storm/lib/log4j-api-2.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/log4j-core-2.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/log4j-over-slf4j-1.6.6.jar:/usr/hdp/2.5.3.0-37/storm/lib/log4j-slf4j-impl-2.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/minlog-1.3.0.jar:/usr/hdp/2.5.3.0-37/storm/lib/objenesis-2.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/reflectasm-1.10.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/ring-cors-0.1.5.jar:/usr/hdp/2.5.3.0-37/storm/lib/servlet-api-2.5.jar:/usr/hdp/2.5.3.0-37/storm/lib/slf4j-api-1.7.7.jar:/usr/hdp/2.5.3.0-37/storm/lib/storm-core-1.0.1.2.5.3.0-37.jar:/usr/hdp/2.5.3.0-37/storm/lib/storm-rename-hack-1.0.1.2.5.3.0-37.jar:/usr/hdp/2.5.3.0-37/storm/lib/zookeeper.jar
>  org.apache.storm.daemon.ClientJarTransformerRunner 
> org.apache.storm.hack.StormShadeTransformer 
> /usr/metron/0.6.0/lib/metron-elasticsearch-0.6.0-uber.jar 
> /tmp/57011672cc7711e8bc216cae8b4c7548.jar
> Running: /usr/jdk64/jdk1.8.0_77/bin/java -client -Ddaemon.name= 
> -Dstorm.options= -Dstorm.home=/usr/hdp/2.5.3.0-37/storm 
> -Dstorm.log.dir=/var/log/storm 
> -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib:/usr/hdp/current/storm-client/lib
>  -Dstorm.conf.file= -cp 
> /usr/hdp/2.5.3.0-37/storm/lib/asm-5.0.3.jar:/usr/hdp/2.5.3.0-37/storm/lib/clojure-1.7.0.jar:/usr/hdp/2.5.3.0-37/storm/lib/disruptor-3.3.2.jar:/usr/hdp/2.5.3.0-37/storm/lib/kryo-3.0.3.jar:/usr/hdp/2.5.3.0-37/storm/lib/log4j-api-2.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/log4j-core-2.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/log4j-over-slf4j-1.6.6.jar:/usr/hdp/2.5.3.0-37/storm/lib/log4j-slf4j-impl-2.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/minlog-1.3.0.jar:/usr/hdp/2.5.3.0-37/storm/lib/objenesis-2.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/reflectasm-1.10.1.jar:/usr/hdp/2.5.3.0-37/storm/lib/ring-cors-0.1.5.jar:/usr/hdp/2.5.3.0-37/storm/lib/servlet-api-2.5.jar:/usr/hdp/2.5.3.0-37/storm/lib/slf4j-api-1.7.7.jar:/usr/hdp/2.5.3.0-37/storm/lib/storm-core-1.0.1.2.5.3.0-37.jar:/usr/hdp/2.5.3.0-37/storm/lib/storm-rename-hack-1.0.1.2.5.3.0-37.jar:/usr/hdp/2.5.3.0-37/storm/lib/zookeeper.jar:/tmp/57011672cc7711e8bc216cae8b4c7548.jar:/usr/hdp/current/storm-supervisor/conf:/usr/hdp/2.5.3.0-37/storm/bin
>  -Dstorm.jar=/tmp/57011672cc7711e8bc216cae8b4c7548.jar 
> org.apache.storm.flux.Flux --remote 
> /usr/metron/0.6.0/flux/indexing/random_access/remote.yaml --filter 
> /usr/metron/0.6.0/config/elasticsearch.properties --jars 
> /usr/metron/0.6.0/indexing_contrib/elasticsearch-xpack-shaded-5.6.2.jar
> Exception in thread "main" 
> org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: 
> --jars
>       at org.apache.commons.cli.Parser.processOption(Parser.java:363)
>       at org.apache.commons.cli.Parser.parse(Parser.java:199)
>       at org.apache.commons.cli.Parser.parse(Parser.java:85)
>       at org.apache.storm.flux.Flux.main(Flux.java:92)
>
> Command failed after 1 tries
>
>
> On Wed, Oct 10, 2018 at 1:50 PM Mohan Venkateshaiah <
> mvenkatesha...@hortonworks.com> wrote:
>
>>
>> Use the sample pom file in the step 6 to build the jar
>>
>> https://metron.apache.org/current-book/metron-deployment/Kerberos-manual-setup.html#x-pack
>>
>> Get Outlook for Android <https://aka.ms/ghei36>
>>
>>
>>
>>
>> On Wed, Oct 10, 2018 at 1:30 PM +0530, "Farrukh Naveed Anjum" <
>> anjum.farr...@gmail.com> wrote:
>>
>> Hi,
>>>
>>> I am trying to create  elasticsearch-xpack-shaded-5.6.2.jar  Can some
>>> one please send me its downloadable link or steps how can I create this
>>> ?????
>>>
>>> --
>>> With Regards
>>> Farrukh Naveed Anjum
>>>
>>
>
> --
> With Regards
> Farrukh Naveed Anjum
>

Reply via email to