storm-hbase icon indicating copy to clipboard operation
storm-hbase copied to clipboard

storm-hbase

Open VladimirVV opened this issue 10 years ago • 4 comments

Hi, I study Storm HBase. I want to run your example Persistent Word Count

My actions

  1. MVN compile - ok! 2 When you run mvn exec: java -Dstorm.topology = org.apache.storm.hbase.topology.PersistentWordCount I receive an error [ERROR] Failed to execute goal org.codehaus.mojo: exec-maven-plugin: 1.4.0: java (default-cli) on project storm-hbase: The parameters 'mainClass' for goal org.codehaus.mojo: exec- maven-plugin: 1.4.0: java are missing or invalid -> [Help 1]

Tell me, please, what am I doing wrong? Vladimir

VladimirVV avatar Apr 06 '15 12:04 VladimirVV

Thank problem was solved.

VladimirVV avatar Apr 06 '15 17:04 VladimirVV

Hi VladimirVV , I am getting same error. how did you solve this issue?

u11140 avatar Apr 20 '15 07:04 u11140

Hi VladimirVV, I am getting the same error, Can please tell us how did you solve it.

becitratul avatar Apr 27 '15 06:04 becitratul

VladimirVV, bad boy... you could, at least, post again and admit to the world you got lucky and have no idea how you fixed it.

For everyone else, try making sure you have Java 7 JDK installed, and ensure JAVA_HOME is set properly, and ensure the Java 7 JDK is used for the javac and java commands.

Once I set all the java stuff to use Java 7 JDK, this issue went away.

I used oracle java, your mileage may vary.

Good luck!

MachineCity avatar Jul 22 '15 19:07 MachineCity