nathanmarz / cascalog

Data processing on Hadoop without the hassle.
Other
1.38k stars 178 forks source link

ClassNotFoundException: cascalog.logic.def.ParallelAggregator #245

Closed methylene closed 9 years ago

methylene commented 10 years ago

We get this compile error under certain circumstances, see here: methylene/class-not-found@11cb158d7eadfc8e6b3e5810af77e4b20cb34305

It goes away when you remove test/user.clj or the :aot and :main in project.clj. It affects cascalog 2.1.0.

methylene commented 10 years ago

There are some workarounds. The compile error disappears when you put the -main in a separate namespace with no direct cascalog dependencies in the :requires section. It's also enough to remove [cascalog.api] from the :requires section in test/user.clj. See methylene/class-not-found@9864f76e857dffd986894075a459c193d2378924 and methylene/class-not-found@b96668f24311e385a4280efdbd430b56edc87df5

methylene commented 10 years ago

This may be an instance of http://dev.clojure.org/jira/browse/CLJ-1413

sritchie commented 9 years ago

Hey @methylene, is this still an issue for you guys?

sritchie commented 9 years ago

Closing this since it looks from the README like a classloader issue. Feel free to reopen if I'm mistaken. Thanks!