strom jar error

487 views
Skip to first unread message

Jayasree Atmakuru

unread,
Nov 17, 2014, 11:30:07 AM11/17/14
to lum...@googlegroups.com
Hi ,

I am building lumify based on centos documentation.

I am getting error in strom jar cmd.

I have created accumulo hadoop based on the cmds given in the documentation.
Still i am getting error on acquiring lock in AccumuloRepositoryAuthorisation create lock method.

please find the error log below:

4959 [ConnectionStateManager-0] WARN  org.apache.curator.framework.
state.ConnectionStateManager - There are no ConnectionStateListeners registered.
5006 [main] INFO  io.lumify.core.model.user.AccumuloAuthorizationRepository - adding authorization [ontology] for secure graph user
Exception in thread "main" com.google.inject.ProvisionException: Guice provision errors:

1) Error injecting constructor, java.lang.NoSuchMethodError: org.apache.curator.utils.PathUtils.validatePath(Ljava/lang/String;)Ljava/lang/String;
  at io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository.<init>(SecureGraphOntologyRepository.java:66)
  at io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository.class(SecureGraphOntologyRepository.java:39)
  while locating io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository
  at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:137)
  at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:137)
  while locating io.lumify.core.model.ontology.OntologyRepository
    for parameter 3 at io.lumify.securegraph.model.user.SecureGraphUserRepository.<init>(SecureGraphUserRepository.java:60)
  at io.lumify.securegraph.model.user.SecureGraphUserRepository.class(SecureGraphUserRepository.java:39)
  while locating io.lumify.securegraph.model.user.SecureGraphUserRepository
  at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:128)
  at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:128)
  while locating io.lumify.core.model.user.UserRepository
    for parameter 0 at io.lumify.core.cmdline.CommandLineBase.setUserRepository(CommandLineBase.java:157)
  while locating io.lumify.storm.StormRunner

1 error
    at com.google.inject.internal.Errors.throwProvisionExceptionIfErrorsExist(Errors.java:451)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:65)
    at com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:944)
    at io.lumify.core.bootstrap.InjectHelper.inject(InjectHelper.java:31)
    at io.lumify.core.bootstrap.InjectHelper.inject(InjectHelper.java:24)
    at io.lumify.core.cmdline.CommandLineBase.run(CommandLineBase.java:66)
    at io.lumify.storm.StormRunner.main(StormRunner.java:11)
Caused by: java.lang.NoSuchMethodError: org.apache.curator.utils.PathUtils.validatePath(Ljava/lang/String;)Ljava/lang/String;
    at org.apache.curator.framework.recipes.locks.InterProcessMutex.<init>(InterProcessMutex.java:194)
    at org.apache.curator.framework.recipes.locks.InterProcessMutex.<init>(InterProcessMutex.java:76)
    at org.apache.curator.framework.recipes.locks.InterProcessMutex.<init>(InterProcessMutex.java:66)
    at io.lumify.core.model.lock.LockRepository.createLock(LockRepository.java:30)
    at io.lumify.core.model.lock.LockRepository.lock(LockRepository.java:53)
    at io.lumify.core.model.lock.LockRepository.lock(LockRepository.java:39)
    at io.lumify.core.model.user.AccumuloAuthorizationRepository.addAuthorizationToGraph(AccumuloAuthorizationRepository.java:25)
    at io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository.<init>(SecureGraphOntologyRepository.java:69)
    at io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository$$FastClassByGuice$$7fb7e09b.newInstance(<generated>)
    at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
    at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
    at io.lumify.core.bootstrap.InjectHelper.getInstance(InjectHelper.java:47)
    at io.lumify.core.bootstrap.LumifyBootstrap$ConfigurableProvider.get(LumifyBootstrap.java:284)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
    at io.lumify.core.bootstrap.InjectHelper.getInstance(InjectHelper.java:47)
    at io.lumify.core.bootstrap.LumifyBootstrap$ConfigurableProvider.get(LumifyBootstrap.java:284)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:83)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75)
    at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
    at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:73)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:60)
    ... 5 more

Greg McNutt

unread,
Nov 17, 2014, 11:54:43 AM11/17/14
to lum...@googlegroups.com
HI, we just finished an update to get the VM and the code in sync ourselves.   Was a bit of a change to the VM and to the code versions in the code.  Namely storm to 0.93rc1 and kryo to 2.21 but also to remove some of the exclusions in the storm standalone jars.  This gets all the moving pieces in sync [especially the underlying jar support in storm]

Will work offline with the Lumify crew today to get some of our changes into the main branches.

In the mean time, things do work ok when run locally [like storm-local] -- hope this helps.

Jayasree Atmakuru

unread,
Nov 17, 2014, 12:49:54 PM11/17/14
to lum...@googlegroups.com
Hi greg,

thank you very much for your reply.

Will you please elaborate on how to use storm-local.

Regards,
Jayasree.A

Joe Ferner

unread,
Nov 24, 2014, 3:43:41 PM11/24/14
to lum...@googlegroups.com

This is the configuration I use in IntelliJ.

Jayasree Atmakuru

unread,
Nov 25, 2014, 12:36:43 AM11/25/14
to lum...@googlegroups.com
I am able to run storm jar with out any errors. 
I removed everything from my storm-local directory and added the curator jars of 2.7.0 version and zookeeper-3.4.6 jar in storm_home/lob directory. 
This workaround helped me in getting my storm jar running. 

Can you please tell me why you are using Program arguments as --local?
I am running my storm jar using cmd prompt not from any IDE. 

Regards,
Jayasree.A

Chao Wang

unread,
Nov 26, 2014, 9:42:41 AM11/26/14
to lum...@googlegroups.com
"--local" argument is for running the topology in a in-process storm cluster instead of remote cluster. You don't have to start the storm nimbus service etc to run in local mode.
I am trying to deploy the lumify topology to the storm-0.9.2-incubating too. Had to do the same thing to add curator-2.7.0 jars, I also had to add Kryo-2.17 jar to get rid of another NoSuchMethodError. And then I got anoth NoSuchMethodError that I am not able to resolve 
17218 [Thread-11-graphProperty-bolt] ERROR backtype.storm.util - Async loop died!
java.lang.NoSuchMethodError: io.lumify.core.bootstrap.InjectHelper.inject(Ljava/lang/Object;Lio/lumify/core/bootstrap/InjectHelper$ModuleMaker;)V
at io.lumify.storm.GraphPropertyBolt.prepare(GraphPropertyBolt.java:42) ~[lumify-storm-0.4.0-SNAPSHOT-jar-with-dependencies.jar:na]
at backtype.storm.daemon.executor$fn__5641$fn__5653.invoke(executor.clj:690) ~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
at backtype.storm.util$async_loop$fn__457.invoke(util.clj:429) ~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_72]

Have you experienced this issue?
I turned on classloading trace, there is only lumify storm jar loading this class. I don't get this error message, any idea?

Jayasree Atmakuru

unread,
Nov 27, 2014, 7:34:35 AM11/27/14
to lum...@googlegroups.com
Hi , 
Thank you for your reply. 

I have resolved the curator jar errors. But Kryo jar is not resolving even though i added 2.17 jar. 

What need to be done to resolve this jar error. I have karyo 2.21 jar in the storm_home/ lib directory. I have replace that with 2.17 jar and run again the topology. But the error still remains. 

Please suggest me.

Christian Béland

unread,
Dec 8, 2014, 2:56:38 PM12/8/14
to lum...@googlegroups.com
Hi,

Were you able to fix this? I currently have to same initial problem... (java.lang.NoSuchMethodError: org.apache.curator.utils.PathUtils.validatePath

Chao Wang

unread,
Dec 9, 2014, 5:23:06 PM12/9/14
to lum...@googlegroups.com
just add curator version 2.7.0 jar to the storm home directory

Christian Béland

unread,
Dec 10, 2014, 3:53:54 PM12/10/14
to lum...@googlegroups.com
Thanks,

It almost work now
Reply all
Reply to author
Forward
0 new messages