lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: FATAL conf.Configuration
Date Mon, 05 Dec 2011 23:18:53 GMT

Your question doesn't seem to have anything to do with Lucene, perhaps you 
should resend it to the mahout user mailing list?

https://mahout.apache.org/
https://cwiki.apache.org/confluence/display/MAHOUT/Mailing+Lists%2C+IRC+and+Archives


: I'm a new mahout user, i have been trying to run 20news classification on
: bayes
: but i got this error.
: 
: Could anyone here help me please?
: 
: $MAHOUT_HOME/mahout trainclassifier     -i
: ${WORK_DIR}/20news-bydate/bayes-train-input     -o
: ${WORK_DIR}/20news-bydate/bayes-model     -type bayes     -ng 1     -source
: hdfs
: MAHOUT_LOCAL is not set; adding HADOOP_CONF_DIR to classpath.
: no HADOOP_HOME set, running locally
: SLF4J: Class path contains multiple SLF4J bindings.
: SLF4J: Found binding in
: [jar:file:/home/pattaraporn/trunk/examples/target/mahout-examples-0.6-SNAPSHOT-job.jar!/org/slf4j/impl/StaticLoggerBinder.class]
: SLF4J: Found binding in
: [jar:file:/home/pattaraporn/trunk/examples/target/dependency/slf4j-jcl-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
: SLF4J: Found binding in
: [jar:file:/home/pattaraporn/trunk/examples/target/dependency/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
: explanation.
: WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please
: use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties
: files.
: 11/12/05 04:15:15 INFO bayes.TrainClassifier: Training Bayes Classifier
: 11/12/05 04:15:15 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:16 FATAL conf.Configuration: bad conf file: top-level element
: not <configuration>
: 11/12/05 04:15:17 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 0 time(s).
: 11/12/05 04:15:18 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 1 time(s).
: 11/12/05 04:15:19 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 2 time(s).
: 11/12/05 04:15:20 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 3 time(s).
: 11/12/05 04:15:21 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 4 time(s).
: 11/12/05 04:15:22 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 5 time(s).
: 11/12/05 04:15:23 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 6 time(s).
: 11/12/05 04:15:24 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 7 time(s).
: 11/12/05 04:15:25 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 8 time(s).
: 11/12/05 04:15:26 INFO ipc.Client: Retrying connect to server:
: localhost/127.0.0.1:9000. Already tried 9 time(s).
: Exception in thread "main" java.net.ConnectException: Call to
: localhost/127.0.0.1:9000 failed on connection exception:
: java.net.ConnectException: Connection refused
:         at org.apache.hadoop.ipc.Client.wrapException(Client.java:1057)
:         at org.apache.hadoop.ipc.Client.call(Client.java:1033)
:         at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:224)
:         at $Proxy1.getProtocolVersion(Unknown Source)
:         at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:364)
:         at
: org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106)
:         at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:208)
:         at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:175)
:         at
: org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89)
:         at
: org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1310)
:         at org.apache.hadoop.fs.FileSystem.access$100(FileSystem.java:65)
:         at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1328)
:         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:226)
:         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:109)
:         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:210)
:         at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
:         at org.apache.mahout.common.HadoopUtil.delete(HadoopUtil.java:185)
:         at org.apache.mahout.common.HadoopUtil.delete(HadoopUtil.java:194)
:         at
: org.apache.mahout.classifier.bayes.mapreduce.bayes.BayesDriver.runJob(BayesDriver.java:42)
:         at
: org.apache.mahout.classifier.bayes.TrainClassifier.trainNaiveBayes(TrainClassifier.java:53)
:         at
: org.apache.mahout.classifier.bayes.TrainClassifier.main(TrainClassifier.java:155)
:         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
:         at
: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
:         at
: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
:         at java.lang.reflect.Method.invoke(Method.java:597)
:         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:188)
: Caused by: java.net.ConnectException: Connection refused
:         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
:         at
: sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
:         at
: org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
:         at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:406)
:         at
: org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:414)
:         at
: org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:527)
:         at
: org.apache.hadoop.ipc.Client$Connection.access$1800(Client.java:187)
:         at org.apache.hadoop.ipc.Client.getConnection(Client.java:1164)
:         at org.apache.hadoop.ipc.Client.call(Client.java:1010)
:         ... 26 more
: 
: Thanks
: 
: --
: View this message in context: http://lucene.472066.n3.nabble.com/FATAL-conf-Configuration-tp3560383p3560383.html
: Sent from the Lucene - General mailing list archive at Nabble.com.
: 

-Hoss

Mime
View raw message