Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *********************************PASTE1********************************
- Describe step of https://mahout.apache.org/users/stuff/partial-implementation.html
- (changed file name for 20Percent File, runnign with mahout script instead of as hadoop -jar)
- ***********************************************************************
- hduser@ausrine:~$ $MAHOUT_HOME/bin/mahout org.apache.mahout.classifier.df.tools.Describe -p testdata/KDDTrain+_20Percent.arff -f testdata/KDDTrain+.info -d N 3 C 2 N C 4 N C 8 N 2 C 19 N L
- Warning: $HADOOP_HOME is deprecated.
- Running on hadoop, using /usr/local/hadoop/bin/hadoop and HADOOP_CONF_DIR=
- MAHOUT-JOB: /usr/local/mahout0.9/mahout-examples-0.9-job.jar
- Warning: $HADOOP_HOME is deprecated.
- 14/04/10 14:59:38 WARN driver.MahoutDriver: No org.apache.mahout.classifier.df.tools.Describe.props found on classpath, will use command-line arguments only
- 14/04/10 14:59:39 INFO tools.Describe: Generating the descriptor...
- 14/04/10 14:59:44 INFO tools.Describe: generating the dataset...
- Exception in thread "main" java.lang.IllegalArgumentException: values not found for attribute 1
- at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125)
- at org.apache.mahout.classifier.df.data.Dataset.validateValues(Dataset.java:251)
- at org.apache.mahout.classifier.df.data.Dataset.<init>(Dataset.java:121)
- at org.apache.mahout.classifier.df.data.DataLoader.generateDataset(DataLoader.java:203)
- at org.apache.mahout.classifier.df.tools.Describe.generateDataset(Describe.java:127)
- at org.apache.mahout.classifier.df.tools.Describe.runTool(Describe.java:115)
- at org.apache.mahout.classifier.df.tools.Describe.main(Describe.java:100)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:606)
- at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
- at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
- at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:195)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:606)
- at org.apache.hadoop.util.RunJar.main(RunJar.java:160)
Advertisement
Add Comment
Please, Sign In to add comment