Closed 235 closed 11 years ago
It's failing on this line of buildandrun:
petrel submit --sourcejar ../../jvmpetrel/target/storm-petrel-*-SNAPSHOT.jar $@
You probably forgot to build the jvmpetrel project. Make sure you follow the instructions in the README. There are a few manual setup steps before you can build and run a topology.
problem just found, storm
was not in $PATH. It would be nice to have a sanity check before this command: os.execvp('storm', submit_args)
I think the larger issue, which I ran into, is that full stack traces weren't being printed out on errors. It looks like the line to do so was commented out, so I put it back in: https://github.com/Parsely/Petrel/commit/9aca6e0ca6e1cb0af3335256e62c6e2bac8ddae7
Good idea -- I will make that change in my repo. When writing tools like this, it's often a struggle to know whether to show stack traces or not. They are great for developers, but they can terrify other people!
Thanks to
buildandrun
we can get a line number in an unknown file, however this still does not help.