Lumify-Twitter err

69 views
Skip to first unread message

Pasquale Iodice

unread,
Feb 11, 2015, 10:29:08 AM2/11/15
to lum...@googlegroups.com
When i try to import ontology by datasets/twitter/bin/importOntology.sh,   I have this result

katas@ubuntu:~/lumify-master/datasets/twitter/bin$ ./importOntology.sh
running maven to calculate the classpath...
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Lumify: Datasets: Twitter
[INFO] Lumify: Datasets: Twitter: Common
[INFO] Lumify: Datasets: Twitter: Graph Property Worker
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Lumify: Datasets: Twitter 0.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ lumify-twitter ---
[INFO] Deleting /home/katas/lumify-master/datasets/twitter/target
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lumify: Datasets: Twitter ......................... FAILURE [  5.818 s]
[INFO] Lumify: Datasets: Twitter: Common ................. SKIPPED
[INFO] Lumify: Datasets: Twitter: Graph Property Worker .. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.137 s
[INFO] Finished at: 2015-02-11T07:23:17-08:00
[INFO] Final Memory: 8M/84M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project lumify-twitter: Failed to clean project: Failed to delete /home/katas/lumify-master/datasets/twitter/target/classes/META-INF/lumify/lumify-twitter-build.properties -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Thanks in advance.

Pasquale Iodice

unread,
Feb 12, 2015, 8:30:00 AM2/12/15
to lum...@googlegroups.com
I tried running it from /opt/lumify-source and I have

bash-4.1# cd /opt/lumify-source
bash-4.1# datasets/twitter/bin/importOntology.sh

not running maven, using cached classpath.
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
2015-02-12 13:25:59.369/UTC WARN  [hadoop.util.NativeCodeLoader] Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Feb 12, 2015 1:26:00 PM com.google.inject.internal.MessageProcessor visit
INFO: An exception was caught and reported. Message: io.lumify.core.exception.LumifyException: Could not load class io.lumify.model.rabbitmq.RabbitMQWorkQueueRepository
io.lumify.core.exception.LumifyException: Could not load class io.lumify.model.rabbitmq.RabbitMQWorkQueueRepository for property repository.workQueue
at io.lumify.core.config.Configuration.getClass(Configuration.java:104)
at io.lumify.core.bootstrap.LumifyBootstrap.getConfigurableProvider(LumifyBootstrap.java:249)
at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:122)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at com.google.inject.Guice.createInjector(Guice.java:62)
at io.lumify.core.bootstrap.InjectHelper.ensureInjectorCreated(InjectHelper.java:81)
at io.lumify.core.bootstrap.InjectHelper.inject(InjectHelper.java:24)
at io.lumify.core.cmdline.CommandLineBase.run(CommandLineBase.java:69)
at io.lumify.core.cmdline.OwlImport.main(OwlImport.java:20)
Caused by: io.lumify.core.exception.LumifyException: Could not load class io.lumify.model.rabbitmq.RabbitMQWorkQueueRepository
at io.lumify.core.util.ClassUtil.forName(ClassUtil.java:18)
at io.lumify.core.config.Configuration.getClass(Configuration.java:102)
... 14 more

Exception in thread "main" com.google.inject.CreationException: Guice creation errors:

1) An exception was caught and reported. Message: Could not load class io.lumify.model.rabbitmq.RabbitMQWorkQueueRepository for property repository.workQueue
  at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)

2) No implementation for io.lumify.core.model.workQueue.WorkQueueRepository was bound.
  at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:122)

2 errors
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at com.google.inject.Guice.createInjector(Guice.java:62)
at io.lumify.core.bootstrap.InjectHelper.ensureInjectorCreated(InjectHelper.java:81)
at io.lumify.core.bootstrap.InjectHelper.inject(InjectHelper.java:24)
at io.lumify.core.cmdline.CommandLineBase.run(CommandLineBase.java:69)
at io.lumify.core.cmdline.OwlImport.main(OwlImport.java:20)
Caused by: io.lumify.core.exception.LumifyException: Could not load class io.lumify.model.rabbitmq.RabbitMQWorkQueueRepository for property repository.workQueue
at io.lumify.core.config.Configuration.getClass(Configuration.java:104)
at io.lumify.core.bootstrap.LumifyBootstrap.getConfigurableProvider(LumifyBootstrap.java:249)
at io.lumify.core.bootstrap.LumifyBootstrap.configure(LumifyBootstrap.java:122)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
... 7 more
Caused by: io.lumify.core.exception.LumifyException: Could not load class io.lumify.model.rabbitmq.RabbitMQWorkQueueRepository
at io.lumify.core.util.ClassUtil.forName(ClassUtil.java:18)
at io.lumify.core.config.Configuration.getClass(Configuration.java:102)
... 14 more

Raffaele Palmieri

unread,
Feb 18, 2015, 6:10:57 AM2/18/15
to lum...@googlegroups.com
Hi Pasquale, try to run the script from twitter/bin subdirectory,
Raffaele.

Joe Ferner

unread,
Feb 18, 2015, 12:49:38 PM2/18/15
to lum...@googlegroups.com
We have create a couple issues that are being worked on now relating to the twitter dataset:


We'll keep you updated.
Reply all
Reply to author
Forward
0 new messages