Also I tried to run the example, but=>
/usr/local/mahout-distribution-0.7/examples/bin$ ./build-reuters.sh
Please call cluster-reuters.sh directly next time. This file is going away.
Please select a number to choose the corresponding clustering algorithm
1. kmeans clustering
2. fuzzykmeans clustering
3. dirichlet clustering
4. minhash clustering
Enter your choice : 1
ok. You chose 1 and we'll use kmeans Clustering
creating work directory at /tmp/mahout-work-hduser
Downloading Reuters-21578
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:01:03 --:--:--
0curl: (7) couldn't connect to host
Extracting...
tar (child): /tmp/mahout-work-hduser/reuters21578.tar.gz : open impossible:
Aucun fichier ou dossier de ce type
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
MAHOUT_LOCAL is not set; adding HADOOP_CONF_DIR to classpath.
Warning: $HADOOP_HOME is deprecated.
Running on hadoop, using /usr/local/hadoop/bin/hadoop and
HADOOP_CONF_DIR=/usr/local/hadoop/conf
MAHOUT-JOB: /usr/local/mahout-distribution-0.7/mahout-examples-0.7-job.jar
Warning: $HADOOP_HOME is deprecated.
12/06/25 15:54:53 WARN driver.MahoutDriver: No
org.apache.lucene.benchmark.utils.ExtractReuters.props found on classpath, will
use command-line arguments only
Deleting all files in /tmp/mahout-work-hduser/reuters-out-tmp
No .sgm files in /tmp/mahout-work-hduser/reuters-sgm
12/06/25 15:54:53 INFO driver.MahoutDriver: Program took 3 ms (Minutes:
6.666666666666667E-5)
MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath.
Warning: $HADOOP_HOME is deprecated.
MAHOUT_LOCAL is set, running locally
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/local/mahout-distribution-0.7/mahout-examples-0.7-job.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/mahout-distribution-0.7/lib/slf4j-jcl-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/mahout-distribution-0.7/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/util/ProgramDriver
at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:96)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.util.ProgramDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 1 more
Warning: $HADOOP_HOME is deprecated.
12/06/25 15:55:01 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 0 time(s).
12/06/25 15:55:02 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 1 time(s).
12/06/25 15:55:03 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 2 time(s).
12/06/25 15:55:04 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 3 time(s).
12/06/25 15:55:05 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 4 time(s).
12/06/25 15:55:06 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 5 time(s).
12/06/25 15:55:07 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 6 time(s).
12/06/25 15:55:08 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 7 time(s).
12/06/25 15:55:09 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 8 time(s).
12/06/25 15:55:10 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 9 time(s).
Bad connection to FS. command aborted. exception: Call to
localhost/10.84.30.51:54310 failed on connection exception:
java.net.ConnectException: Connection refused
Warning: $HADOOP_HOME is deprecated.
12/06/25 15:55:12 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 0 time(s).
12/06/25 15:55:13 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 1 time(s).
12/06/25 15:55:14 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 2 time(s).
12/06/25 15:55:15 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 3 time(s).
12/06/25 15:55:16 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 4 time(s).
12/06/25 15:55:17 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 5 time(s).
12/06/25 15:55:18 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 6 time(s).
12/06/25 15:55:19 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 7 time(s).
12/06/25 15:55:20 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 8 time(s).
12/06/25 15:55:21 INFO ipc.Client: Retrying connect to server:
localhost/10.84.30.51:54310. Already tried 9 time(s).
Bad connection to FS. command aborted. exception: Call to
localhost/10.84.30.51:54310 failed on connection exception:
java.net.ConnectException: Connection refused
-----Message d'origine-----
De : Sean Owen [mailto:[email protected]]
Envoyé : lundi 25 juin 2012 16:33
À : [email protected]
Objet : Re: several info
Either you have a typo, or you are not looking at the right setting.
Is your system out of RAM with no swap or something?
On Mon, Jun 25, 2012 at 3:28 PM, Videnova, Svetlana
<[email protected]> wrote:
> I have 4GB RAM. I set 2GB...
Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.