I'm new in java and storm . i ran Crawler to get tweets successfully then i
tried to run first story detection class

1) after i wrote this command

    mvn compile exec:java -Dexec.classpathScope=compile
-Dexec.mainClass=trident.FirstStoryDetection

i found this

    3163307 [Thread-347] ERROR backtype.storm.daemon.executor -
    java.lang.RuntimeException: java.lang.IndexOutOfBoundsException:
Attempted to access 19 matrix     at index=923
     at
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:87)
    at
backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:58)
    at
backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:62)
    at
backtype.storm.daemon.executor$fn__4050$fn__4059$fn__4106.invoke(executor.clj:658)
    at backtype.storm.util$async_loop$fn__465.invoke(util.clj:377)
    at clojure.lang.AFn.run(AFn.java:24)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.IndexOutOfBoundsException: Attempted to access 19
matrix at index=923
    at cern.colt.matrix.impl.AbstractMatrix1D.checkIndex(Unknown Source)
    at cern.colt.matrix.DoubleMatrix1D.set(Unknown Source)
    at trident.functions.VectorBuilder.getValues(VectorBuilder.java:133)
    at trident.functions.VectorBuilder.execute(VectorBuilder.java:49)
    at
storm.trident.planner.processor.EachProcessor.execute(EachProcessor.java:48)
    at
storm.trident.planner.processor.AppendCollector.emit(AppendCollector.java:33)
    at trident.functions.TextProcessor.execute(TextProcessor.java:53)

storm.trident.planner.processor.EachProcessor.execute(EachProcessor.java:48)
    at
storm.trident.planner.processor.ProjectedProcessor.execute(ProjectedProcessor.java:44)
    at
storm.trident.planner.SubtopologyBolt$InitialReceiver.receive(SubtopologyBolt.java:189)
    at
storm.trident.planner.SubtopologyBolt.execute(SubtopologyBolt.java:129)
    at
storm.trident.topology.TridentBoltExecutor.execute(TridentBoltExecutor.java:352)
    at
backtype.storm.daemon.executor$fn__4050$tuple_action_fn__4052.invoke(executor.clj:566)
    at
backtype.storm.daemon.executor$mk_task_receiver$fn__3976.invoke(executor.clj:345)
    at
backtype.storm.disruptor$clojure_handler$reify__1606.onEvent(disruptor.clj:43)
    at
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
    ... 6 more
    3163374 [Thread-347] INFO backtype.storm.util - Halting process:
("Worker died")

2)i want to know what's the outputs of this class or how can i find this ?

as i understand there is a file called result.txt. Is this file will
contain FSD"first story detection" after running the above command ?

thanks in advance

Reply via email to