hortonworks-gallery / iot-truck-streaming Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
@nickcdryan I am using maven 3.2.5 on HDP 2.5 sandbox - ambari virtualbox setup and getting this error -
[INFO] ------------------------------------------------------------------------ [INFO] Building storm-streaming 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ storm-streaming --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ storm-streaming --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 18 source files to /root/iot-truck-streaming/storm-streaming/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /root/iot-truck-streaming/storm-streaming/src/main/java/com/hortonworks/streaming/impl/bolts/Prediction.java:[3,28] package backtype.storm.tuple does not exist [ERROR] /root/iot-truck-streaming/storm-streaming/src/main/java/com/hortonworks/streaming/impl/bolts/Prediction.java:[9,11] cannot find symbol symbol: class Tuple
`
@abajwa-hw Is it supported on HDP 2.5 now?
Looks like a really great tutorial, but I'm having trouble getting everything off the ground. I realize this isn't Q&A but saw that you've just updated the repo two days ago so thought my issue is possibly related to the update...
I should mention that the install_maven.sh script wasn't working, so I had to do it by hand in order to get the maven directory into the right place - I'm using Sandbox in Azure and guessing something to do with the wrong base directory. Also grabbed the latest version of Maven :)
My real issue is that the POM for poc.hortonworks.domain:transport-domain:jar:1.0.0-SNAPSHOT is missing.
Running "/usr/maven/bin/mvn clean package -DskipTests" worked fine, then timed out and now gives:
[nickcdryan@sandbox storm-streaming]$ /usr/maven/bin/mvn clean package -DskipTests
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building storm-streaming 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for poc.hortonworks.domain:transport-domain:jar:1.0.0-SNAPSHOT is missing, no dependency information availabl
e
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.380 s
[INFO] Finished at: 2016-09-26T05:39:32+00:00
[INFO] Final Memory: 24M/377M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project storm-streaming: Could not resolve dependencies for project com.hortonworks:storm-str
eaming:jar:1.0-SNAPSHOT: Failure to find poc.hortonworks.domain:transport-domain:jar:1.0.0-SNAPSHOT in http://clojars.org/repo
was cached in the local repository, resolution will not be reattempted until the update interval of clojars.org has elapsed or
updates are forced -> [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:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Failure occurs at:
Downloading: http://nexus-private.hortonworks.com/nexus/content/groups/public/poc/hortonworks/domain/transport-domain/1.0.0-SNA
PSHOT/transport-domain-1.0.0-SNAPSHOT.jar
A forum suggested a -U flag but no luck. Any idea?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.