Return-Path: Delivered-To: apmail-incubator-hama-dev-archive@locus.apache.org Received: (qmail 76474 invoked from network); 14 Sep 2008 08:38:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Sep 2008 08:38:05 -0000 Received: (qmail 29902 invoked by uid 500); 14 Sep 2008 08:38:02 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 29880 invoked by uid 500); 14 Sep 2008 08:38:02 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 29844 invoked by uid 99); 14 Sep 2008 08:38:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Sep 2008 01:38:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Sep 2008 08:37:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ECA57234C1D0 for ; Sun, 14 Sep 2008 01:37:44 -0700 (PDT) Message-ID: <1244117513.1221381464968.JavaMail.jira@brutus> Date: Sun, 14 Sep 2008 01:37:44 -0700 (PDT) From: "Edward J. Yoon (JIRA)" To: hama-dev@incubator.apache.org Subject: [jira] Updated: (HAMA-55) Write dimension attributes when job completed In-Reply-To: <1784936860.1221376906348.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-55: ------------------------------- Fix Version/s: 0.1.0 Status: Patch Available (was: Open) Submit for review. > Write dimension attributes when job completed > --------------------------------------------- > > Key: HAMA-55 > URL: https://issues.apache.org/jira/browse/HAMA-55 > Project: Hama > Issue Type: Bug > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Fix For: 0.1.0 > > Attachments: HAMA-55.patch > > > Hello, > I changed the Matrix Addition example to do some matrix multiplications. > A NullPointException occurred when I tried to multiply two times like this. > 61 Matrix c = a.mult(b); > 62 Matrix d = c.mult(b); > (I changed line 61 from a.add(b) to a.mult(b) and added line 62.) > I ran it in a distributed operation (real cluster). > $ bin/hadoop jar hama-0.1.0-dev-examples.jar addition 3 3 > 08/09/11 12:07:58 INFO hama.AbstractMatrix: Initializing the matrix storage. > 08/09/11 12:08:08 INFO hama.AbstractMatrix: Create the 3 * 3 random matrix : > randivtpz > 08/09/11 12:08:09 INFO hama.AbstractMatrix: Initializing the matrix storage. > 08/09/11 12:08:19 INFO hama.AbstractMatrix: Create the 3 * 3 random matrix : > randzzoyr > Matrix A > ---------------------- > 0.12246664942306407 > 0.47492867854942666 > 0.753402452679103 > 0.11948311310699711 > 0.04760886057850422 > 0.04664804577467441 > 0.4865392863824721 > 0.7541368692517372 > 0.5844076068157283 > Matrix B > ---------------------- > 0.30800857170320417 > 0.250851984967709 > 0.5748486376994186 > 0.808254823959184 > 0.11114206173021035 > 0.021408513651528183 > 0.5489044167760238 > 0.23894781330682957 > 0.2000317464813144 > 08/09/11 12:08:19 INFO hama.AbstractMatrix: Initializing the matrix storage. > 08/09/11 12:08:30 WARN mapred.JobClient: No job jar file set. User classes > may not be found. See JobConf(Class) or JobConf#setJar(String). > 08/09/11 12:08:30 INFO mapred.JobClient: Running job: job_200809102127_0018 > 08/09/11 12:08:31 INFO mapred.JobClient: map 0% reduce 0% > 08/09/11 12:08:37 INFO mapred.JobClient: map 66% reduce 0% > 08/09/11 12:08:38 INFO mapred.JobClient: map 100% reduce 0% > 08/09/11 12:08:45 INFO mapred.JobClient: map 100% reduce 50% > 08/09/11 12:08:47 INFO mapred.JobClient: map 100% reduce 61% > 08/09/11 12:09:36 INFO mapred.JobClient: map 100% reduce 100% > 08/09/11 12:09:37 INFO mapred.JobClient: Job complete: job_200809102127_0018 > 08/09/11 12:09:38 INFO mapred.JobClient: Counters: 13 > 08/09/11 12:09:38 INFO mapred.JobClient: File Systems > 08/09/11 12:09:38 INFO mapred.JobClient: Local bytes read=1542 > 08/09/11 12:09:38 INFO mapred.JobClient: Local bytes written=3540 > 08/09/11 12:09:38 INFO mapred.JobClient: Job Counters > 08/09/11 12:09:38 INFO mapred.JobClient: Launched map tasks=3 > 08/09/11 12:09:38 INFO mapred.JobClient: Launched reduce tasks=3 > 08/09/11 12:09:38 INFO mapred.JobClient: Map-Reduce Framework > 08/09/11 12:09:38 INFO mapred.JobClient: Map input records=3 > 08/09/11 12:09:38 INFO mapred.JobClient: Map output records=9 > 08/09/11 12:09:38 INFO mapred.JobClient: Map input bytes=0 > 08/09/11 12:09:38 INFO mapred.JobClient: Map output bytes=1224 > 08/09/11 12:09:38 INFO mapred.JobClient: Combine input records=0 > 08/09/11 12:09:38 INFO mapred.JobClient: Combine output records=0 > 08/09/11 12:09:38 INFO mapred.JobClient: Reduce input groups=3 > 08/09/11 12:09:38 INFO mapred.JobClient: Reduce input records=9 > 08/09/11 12:09:38 INFO mapred.JobClient: Reduce output records=3 > 08/09/11 12:09:38 INFO hama.AbstractMatrix: Initializing the matrix storage. > 08/09/11 12:09:48 WARN mapred.JobClient: No job jar file set. User classes > may not be found. See JobConf(Class) or JobConf#setJar(String). > java.lang.NullPointerException > at > org.apache.hama.mapred.MatrixInputFormatBase.getSplits(MatrixInputFormatBase.java:212) > at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:712) > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:973) > at org.apache.hama.DenseMatrix.mult(DenseMatrix.java:185) > at > org.apache.hama.examples.MatrixAddition.main(MatrixAddition.java:62) > 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.hama.examples.ExampleDriver.main(ExampleDriver.java:30) > 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:155) > at org.apache.hadoop.mapred.JobShell.run(JobShell.java:194) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) > at org.apache.hadoop.mapred.JobShell.main(JobShell.java:220) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.