<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Unable to run/execute PrintSampleStreamTopology using storm in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-run-execute-PrintSampleStreamTopology-using-storm/m-p/175621#M61264</link>
    <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/103233/unable-to-runexecute-printsamplestreamtopology-usi.html#"&gt;@Naveen Keshava&lt;/A&gt; why are you trying to run it using Maven? The issue is the code requires command line however maven is treating those arguments as goals. Please compile and run independently, even if you are trying to run it locally.&lt;/P&gt;</description>
    <pubDate>Wed, 17 May 2017 23:57:02 GMT</pubDate>
    <dc:creator>ambud_sharma1</dc:creator>
    <dc:date>2017-05-17T23:57:02Z</dc:date>
    <item>
      <title>Unable to run/execute PrintSampleStreamTopology using storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-run-execute-PrintSampleStreamTopology-using-storm/m-p/175619#M61262</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to set run the &lt;STRONG&gt;PrintSampleStream &lt;/STRONG&gt;topology and hence&lt;STRONG&gt;, &lt;/STRONG&gt;I
downloaded the latest storm-starter topology from
&lt;A href="http://apache.mesi.com.ar/storm/apache-storm-1.0.2/" target="_blank"&gt;http://apache.mesi.com.ar/storm/apache-storm-1.0.2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and
tried to run the PrintSampleStreamTopology, using the command&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mvn
compile exec:java -Dstorm.topology=org.apache.storm.starter.PrintSampleStream&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but
on running it, I got the error, &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[WARNING]&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;java.lang.reflect.&lt;STRONG&gt;InvocationTargetException&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;  at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;  at
java.lang.reflect.Method.invoke(Method.java:606)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;  at
org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;  at
java.lang.Thread.run(Thread.java:748)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;Caused
by: java.lang.ArrayIndexOutOfBoundsException: 0&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;  at
org.apache.storm.starter.PrintSampleStream.main(PrintSampleStream.java:33)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;  ... 6 more&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[INFO]
------------------------------------------------------------------------&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[INFO]
BUILD FAILURE&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[INFO]
------------------------------------------------------------------------&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[INFO]
Total time: 15.754 s&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[INFO]
Finished at: 2017-05-16T16:00:06-04:00&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[INFO]
Final Memory: 36M/746M&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[INFO]
------------------------------------------------------------------------&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[ERROR]
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java
(default-cli) on project storm-starter: An exception occured while executing
the Java class. null: InvocationTargetException: 0 -&amp;gt; [Help 1]&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;[ERROR]&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;and
then, I thought this could be because of missing command line parameters, and therefore when i run the same command but providing command line arguments (my twitter keys) like,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mvn
compile exec:java -Dstorm.topology=org.apache.storm.starter.PrintSampleStream
"key" "key" "key" "key"
"monday"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then
i get the following error:&lt;/P&gt;&lt;P&gt;[INFO]
------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;[ERROR]
Unknown lifecycle phase "3iUoGsyEocTZQo0Ay5XH4MHSQ". &lt;STRONG&gt;You must specify
a valid lifecycle phase or a goal in the format
&amp;lt;plugin-prefix&amp;gt;:&amp;lt;goal&amp;gt; or
&lt;/STRONG&gt;&amp;lt;plugin-group-id&amp;gt;:&amp;lt;plugin-artifact-id&amp;gt;[:&amp;lt;plugin-version&amp;gt;]:&amp;lt;goal&amp;gt;.
Available lifecycle phases are: validate, initialize, generate-sources,
process-sources, generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-sources, generate-test-resources,
process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test,
post-integration-test, verify, install, deploy, pre-clean, clean, post-clean,
pre-site, site, post-site, site-deploy. -&amp;gt; [Help 1]&lt;/P&gt;&lt;P&gt;[ERROR]&lt;/P&gt;&lt;P&gt;Please
could somebody help? I am running these commands from
/&lt;STRONG&gt;apache-storm-1.0.2/examples/storm-starter&lt;/STRONG&gt; directory.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naveen
Keshava&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 03:29:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-run-execute-PrintSampleStreamTopology-using-storm/m-p/175619#M61262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-05-17T03:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run/execute PrintSampleStreamTopology using storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-run-execute-PrintSampleStreamTopology-using-storm/m-p/175620#M61263</link>
      <description>&lt;P style="margin-left: 20px;"&gt;Guys it will be great if you could help me here ! thanks in advance, &lt;A rel="user" href="https://community.cloudera.com/users/172/schintalapani.html" nodeid="172"&gt;@Sriharsha Chintalapani&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/3486/cstanca.html" nodeid="3486"&gt;@Constantin Stanca&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/14221/ambudsharma.html" nodeid="14221"&gt;@Ambud Sharma&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 23:11:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-run-execute-PrintSampleStreamTopology-using-storm/m-p/175620#M61263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-05-17T23:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run/execute PrintSampleStreamTopology using storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-run-execute-PrintSampleStreamTopology-using-storm/m-p/175621#M61264</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/103233/unable-to-runexecute-printsamplestreamtopology-usi.html#"&gt;@Naveen Keshava&lt;/A&gt; why are you trying to run it using Maven? The issue is the code requires command line however maven is treating those arguments as goals. Please compile and run independently, even if you are trying to run it locally.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 23:57:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-run-execute-PrintSampleStreamTopology-using-storm/m-p/175621#M61264</guid>
      <dc:creator>ambud_sharma1</dc:creator>
      <dc:date>2017-05-17T23:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run/execute PrintSampleStreamTopology using storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-run-execute-PrintSampleStreamTopology-using-storm/m-p/175622#M61265</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/14221/ambudsharma.html" nodeid="14221"&gt;@Ambud Sharma&lt;/A&gt; I was able to solve the problem by building locally.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 23:39:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-run-execute-PrintSampleStreamTopology-using-storm/m-p/175622#M61265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-05-24T23:39:21Z</dc:date>
    </item>
  </channel>
</rss>

