nathanmarz / cascalog

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

JCascalog not working - ClassCastException when calling Api.compileFlow #261

Closed dkincaid closed 9 years ago

dkincaid commented 9 years ago

When calling Api.compileFlow the object returned is a ClojureFlow Clojure record instead of a Cascading Flow object so a ClassCastException is thrown.

 java.lang.ClassCastException: cascalog.cascading.types.ClojureFlow cannot be cast to cascading.flow.Flow
at jcascalog.Api.compileFlow(Api.java:26)
at jcascalog.Api.compileFlow(Api.java:34)
sritchie commented 9 years ago

@dkincaid, is this all fixed with that new stuff you added?

dkincaid commented 9 years ago

Yes. It is! Thanks.