h2o-world-2014-training icon indicating copy to clipboard operation
h2o-world-2014-training copied to clipboard

Missing dependency backtype.storm...

Open datafireball opened this issue 8 years ago • 0 comments

I am following the tutorial and unable to reproduce the result probably due to the fact that the tutorial was made 2014 and 2 years have passed...

  1. the path of storm starter is no longer in 'examples/storm-starter/test/jvm/storm/starter/' but 'examples/storm-starter/test/jvm/org/apache/storm/starter/'.
    • all the paths relevant to starter need to be changed
    • the package storm.starter probably need to changed to package org.apache.storm.starter?
  2. I have no problem building the storm from git source, however, when I followed the tutorial and tried to run the H2OStormStarter, it errored out with missing dependencies - java cannot find symbol..etc.

import backtype.storm.Config; import backtype.storm.LocalCluster; import backtype.storm.StormSubmitter; import backtype.storm.task.OutputCollector; import backtype.storm.task.TopologyContext; import backtype.storm.topology.OutputFieldsDeclarer; import backtype.storm.topology.TopologyBuilder; import backtype.storm.topology.base.BaseRichBolt; import backtype.storm.tuple.Fields; import backtype.storm.tuple.Tuple; import backtype.storm.tuple.Values; import backtype.storm.utils.Utils;

Can any more experienced user share how to solve the dependency issue?

datafireball avatar Jun 24 '16 15:06 datafireball