Closed stanfea closed 10 years ago
This looks like a cross-version AOT issue. Parkour dynamically selects which shutdown-hook mechanism to use based on the presence of the class you're getting a not-found exception for. Especially given the presence of an explicit parkour.util.shutdown__init.<clinit>
method in your trace, it looks like you have stale AOTed classes from a Hadoop 2-derived distribution.
Doing a lein clean
and restarting your REPL should fix things up. You may also need to delete a literal "%s" directory -- I just realized (and acted upon the realization) that I forgot to fix this in my blog post, but the version of Leiningen currently bundled into Alembic doesn't understand profile separation etc, so you need spell out full explicit paths for any non-default :target-path
, :compile-path
, etc.
Thanks! that solved it I had tried with hadoop 2.3.0 before going with 1.2.1. lein clean
fixed it
Hi I can't get the example in the doc to run (https://github.com/damballa/parkour/blob/master/doc/repl.md#repl-launched-remote-jobs)
I try to run it like so:
Here is the output:
Here's the error:
My project.clj file:
My profiles.clj file:
Here's my leiningen version:
Running on:
I've noticed that org.apache.hadoop.util.ShutdownHookManager can be found in hadoop-common but I'm on hadoop 1.2.1 and couldn't find a compatible package.
Thanks!