jlwright

Random Forest: Categorical Ignored - Null Pointer Exception

Apr 10th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. ********************************* PASTE 2 **********************************************
  2. Ignore categorical attributes
  3. generates null pointer exceptions
  4. ****************************************************************************************
  5.  
  6. 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 I 2 N I 4 N I 8 N 2 I 19 N L
  7. Warning: $HADOOP_HOME is deprecated.
  8.  
  9. Running on hadoop, using /usr/local/hadoop/bin/hadoop and HADOOP_CONF_DIR=
  10. MAHOUT-JOB: /usr/local/mahout0.9/mahout-examples-0.9-job.jar
  11. Warning: $HADOOP_HOME is deprecated.
  12.  
  13. 14/04/10 15:10:45 WARN driver.MahoutDriver: No org.apache.mahout.classifier.df.tools.Describe.props found on classpath, will use command-line arguments only
  14. 14/04/10 15:10:45 INFO tools.Describe: Generating the descriptor...
  15. 14/04/10 15:10:49 INFO tools.Describe: generating the dataset...
  16. Exception in thread "main" java.lang.NullPointerException
  17. at org.apache.mahout.classifier.df.data.Dataset.<init>(Dataset.java:152)
  18. at org.apache.mahout.classifier.df.data.DataLoader.generateDataset(DataLoader.java:203)
  19. at org.apache.mahout.classifier.df.tools.Describe.generateDataset(Describe.java:127)
  20. at org.apache.mahout.classifier.df.tools.Describe.runTool(Describe.java:115)
  21. at org.apache.mahout.classifier.df.tools.Describe.main(Describe.java:100)
  22. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  23. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  24. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  25. at java.lang.reflect.Method.invoke(Method.java:606)
  26. at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
  27. at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
  28. at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:195)
  29. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  30. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  31. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  32. at java.lang.reflect.Method.invoke(Method.java:606)
  33. at org.apache.hadoop.util.RunJar.main(RunJar.java:160)
Advertisement
Add Comment
Please, Sign In to add comment