|
Evan Chan |
at Dec 7, 2012 at 9:01 pm
|
⇧ |
| |
I see that this uses common-lang, common-io and some other libraries. It's
very likely that the Storm distro you're using includes conflicting
dependency versions, and because of the way the supervisor specifies the
classpath when invoking child workers, Storm's jars override the ones you
include in your fat jar.
We had a similar issue with guava, used by astyanax.
-Evan
On Thursday, December 6, 2012 11:25:37 AM UTC-8, Shrikar archak wrote:https://github.com/jiminoc/goose This is the library which I am trying to
use..
By dependency I mean the fat jar created by storm which includes all the
dependent jar for running the application.
Thanks,
Shrikar
On Thursday, December 6, 2012 11:15:04 AM UTC-8, Evan Chan wrote:What is the library and what are the dependencies?
On Thursday, December 6, 2012 12:27:42 AM UTC-8, Shrikar archak wrote:
Hi All,
Here is my usecase..
Library X provides certain functionality and is a scala library.
My usecase
1) I have a storm topology and my bolt tries to use the functionality
provided by X.
Problem:
1) If I try to run the application in local mode it runs fine and I am
able to call all the api's provided by X..
2) If I try to run the same application using the jar created with
dependencies it doesn't work . ( I always get null)
FYI : The input to the methods are the same in both the case..
Am I missing something??
Thanks,
Shrikar