Giter VIP home page Giter VIP logo

Comments (10)

kai-wei avatar kai-wei commented on August 15, 2024

The script should be ran under the HiBench root directory.

from hibench.

vinayakponangi avatar vinayakponangi commented on August 15, 2024

I apologize, I don't seem to understand. I ran it under /root/hibench/kmeans/bin/ directory where the prepare.sh script is.
When I do a "jar -tf datatools.jar" it doesn't show me any of the uncommons packages. Which makes me wonder if the build.xml is not right, but then it seems to include *.jar under the lib directory on the classpath. So I am not really sure?

from hibench.

kai-wei avatar kai-wei commented on August 15, 2024

Which distribution of hadoop did you use?

from hibench.

vinayakponangi avatar vinayakponangi commented on August 15, 2024

Cdh4

from hibench.

kai-wei avatar kai-wei commented on August 15, 2024

Can you paste your last line of prepare.sh here?

from hibench.

vinayakponangi avatar vinayakponangi commented on August 15, 2024

Sure. Thanks for looking into this.

hadoop jar ${DATATOOLS} org.apache.mahout.clustering.kmeans.GenKMeansDataset -libjars $MAHOUT_HOME/examples/target/mahout-examples-0.7-job.jar ${OPTION}

from hibench.

kai-wei avatar kai-wei commented on August 15, 2024

Here are the last two lines of the latest version of the script. As you can see, the first line make sure the client machine get access to the right jars, the second line make sure the mahout-examples-0.7-job.jar (which include the definition of MersenneTwisterRNG) is distributed to cluster nodes. I can not reproduce the problem here, can you give the full log?

export HADOOP_CLASSPATH=${MAHOUT_HOME}/bin/mahout classpath | tail -1

exec "$HADOOP_EXECUTABLE" --config $HADOOP_CONF_DIR jar ${DATATOOLS} org.apache.mahout.clustering.kmeans.GenKMeansDataset -libjars $MAHOUT_HOME/examples/target/mahout-examples-0.7-job.jar ${COMPRESS_OPT} ${OPTION}

from hibench.

vinayakponangi avatar vinayakponangi commented on August 15, 2024

I was able to make it run after I used the mahout classpath command. Somehow I missed it first time around. Thanks for the help.

from hibench.

VladimirStarostenkov avatar VladimirStarostenkov commented on August 15, 2024

vinayakponangi, can you please provide more details on the solution?

In case Hadoop is deployed with Cloudera Manager, Ambari etc. one should check if the JAVA_HOME was set properly. It is required for "${MAHOUT_HOME}/bin/mahout classpath"

from hibench.

lingyan1002 avatar lingyan1002 commented on August 15, 2024

vinayakponangi, could you provide more details about the solution?

from hibench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.