Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR for : mahout trainnb -i train-vectors -el -li labelindex -o model -ow -c #4

Open
arunpune opened this issue Feb 17, 2016 · 1 comment

Comments

@arunpune
Copy link

I am getting an error when Run the below command: The error is for el parameter.

mahout trainnb -i train-vectors -el -li labelindex -o model -ow -c

Running on hadoop, using /home/ubuntu/hadoop/bin/hadoop and HADOOP_CONF_DIR=
MAHOUT-JOB: /home/ubuntu/mahout/examples/target/mahout-examples-0.11.2-SNAPSHOT-job.jar
16/02/17 16:44:36 WARN MahoutDriver: No trainnb.props found on classpath, will use command-line arguments only
16/02/17 16:44:36 ERROR AbstractJob: Unexpected -el while processing Job-Specific Options:
Unexpected -el while processing Job-Specific Options:
Usage:
[--input --output --alphaI --trainComplementary
--labelIndex --overwrite --help --tempDir --startPhase
--endPhase ]
Job-Specific Options:
--input (-i) input Path to job input directory.
--output (-o) output The directory pathname for output.
--alphaI (-a) alphaI smoothing parameter
--trainComplementary (-c) train complementary?
--labelIndex (-li) labelIndex The path to store the label index in
--overwrite (-ow) If present, overwrite the output directory
before running job
--help (-h) Print out help
--tempDir tempDir Intermediate output directory
--startPhase startPhase First phase to run
--endPhase endPhase Last phase to run

@fabianomichels
Copy link

This error happens because that Mahout has removed the --extractLabels option for trainnb in 0.10.1 release and runs as default."

https://github.com/intel-hadoop/Big-Data-Benchmark-for-Big-Bench/issues/50

Just remove "-el", or try to use a older version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants