From mahout-user-return-3089-apmail-lucene-mahout-user-archive=lucene.apache.org@lucene.apache.org Fri Apr 09 19:26:04 2010 Return-Path: Delivered-To: apmail-lucene-mahout-user-archive@minotaur.apache.org Received: (qmail 51354 invoked from network); 9 Apr 2010 19:26:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 19:26:04 -0000 Received: (qmail 89716 invoked by uid 500); 9 Apr 2010 19:26:03 -0000 Delivered-To: apmail-lucene-mahout-user-archive@lucene.apache.org Received: (qmail 89690 invoked by uid 500); 9 Apr 2010 19:26:03 -0000 Mailing-List: contact mahout-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mahout-user@lucene.apache.org Delivered-To: mailing list mahout-user@lucene.apache.org Received: (qmail 89681 invoked by uid 99); 9 Apr 2010 19:26:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 19:26:03 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.158 is neither permitted nor denied by domain of adam.hammer@gmail.com) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 19:25:57 +0000 Received: from ben.nabble.com ([192.168.236.152]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1O0Jpf-0006Lo-NK for mahout-user@lucene.apache.org; Fri, 09 Apr 2010 12:25:35 -0700 Date: Fri, 9 Apr 2010 11:25:35 -0800 (PST) From: adam35413 To: mahout-user@lucene.apache.org Message-ID: <1270841135715-709066.post@n3.nabble.com> In-Reply-To: References: <1270834135736-708824.post@n3.nabble.com> <4BBF6C59.9070700@windwardsolutions.com> <1270839708472-709022.post@n3.nabble.com> Subject: Re: Dealing with kmean and meanshift output MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I would agree; if $HADOOP_HOME is set, CONF should have been set as well. I fixed that environment variable, and now the error is: bin/mahout clusterdump --seqFileDir part-00000 --output testFile.txt running on hadoop, using HADOOP_HOME=/home/adam/Coding/hadoopResearch/hadoop-0.20.2 and HADOOP_CONF_DIR=/home/adam/Coding/hadoopResearch/hadoop-0.20.2/conf 10/04/09 15:11:08 ERROR driver.MahoutDriver: MahoutDriver failed with args: [--seqFileDir, part-00000, --output, testFile.txt, null] null Exception in thread "main" java.lang.NullPointerException at org.apache.mahout.utils.clustering.ClusterDumper.printClusters(ClusterDumper.java:121) at org.apache.mahout.utils.clustering.ClusterDumper.main(ClusterDumper.java:302) 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:172) 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.RunJar.main(RunJar.java:156) -- View this message in context: http://n3.nabble.com/Dealing-with-kmean-and-meanshift-output-tp708824p709066.html Sent from the Mahout User List mailing list archive at Nabble.com.