Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB9BED9B4 for ; Tue, 4 Sep 2012 16:11:15 +0000 (UTC) Received: (qmail 26846 invoked by uid 500); 4 Sep 2012 16:11:10 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 26762 invoked by uid 500); 4 Sep 2012 16:11:10 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 26750 invoked by uid 99); 4 Sep 2012 16:11:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 16:11:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gdsayshi@gmail.com designates 209.85.216.41 as permitted sender) Received: from [209.85.216.41] (HELO mail-qa0-f41.google.com) (209.85.216.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 16:11:01 +0000 Received: by qafk30 with SMTP id k30so3628412qaf.14 for ; Tue, 04 Sep 2012 09:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ykz4T0EdKmNLDrn1UI/o+Qhsav+pgOwLeC/gNbz/Crg=; b=uxIx/aCF9qvm2oV8lMkjvwp1q1eDlxRsLAy6L+q6eFOeKCsz3H/AM87QPx+XcRStbi Hk9luC3Uhj06/n8Byg0FNtitEdwkfompLBRaK+uBD2hWSuTVaCaD9AcBc0ZP5i/Xia4C Fy+28F72Wl8qVZ7gqau88+tH7nlW+Lm41dgcjsAsCp+QEjN199qrAeHur6mLdaMW5phk fEXye4mDxwMsU/Y7spzfph0xHAxhGQ1g9H1Z32SJ2qI9Og/+NOeA1JXxhTfK9hygygeY ZB2/1A0CtmMjmqqdLubVKu9TnAqNGa0DCQo6G8BciQ5nkh6fD/wP+3scLddtOlfK59wd TAeg== MIME-Version: 1.0 Received: by 10.224.186.203 with SMTP id ct11mr40814793qab.80.1346775041135; Tue, 04 Sep 2012 09:10:41 -0700 (PDT) Received: by 10.49.60.102 with HTTP; Tue, 4 Sep 2012 09:10:41 -0700 (PDT) Date: Tue, 4 Sep 2012 21:40:41 +0530 Message-ID: Subject: Pi Estimator failing to print output after finishing the job sucessfully From: Gaurav Dasgupta To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=485b397dd5bdeb547c04c8e27fd3 --485b397dd5bdeb547c04c8e27fd3 Content-Type: text/plain; charset=ISO-8859-1 Hi All, I am running the Pi Estimator from hadoop-examples.jar in my 11 node CDH3u4 cluster. Initially I ran the job for 10 maps and 1000000 samples per map and it ran fine and displayed the execution time and the pi value in the console. Now again when I ran it for 88 maps and 1 trillion total samples (i.e., 11363636364 samples per map), it executed the job sucessfully, but at end gave the following error and could not display the "pi value" in the console: java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result. at java.math.BigDecimal.divide(BigDecimal.java:1603) at org.apache.hadoop.examples.PiEstimator.estimate(PiEstimator.java:313) at org.apache.hadoop.examples.PiEstimator.run(PiEstimator.java:342) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.examples.PiEstimator.main(PiEstimator.java:351) 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.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64) 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:197) Can anyone tell me where is it going wrong? Note: My Hadoop cluster (CDH3u4) contains all the necessary patches. Thanks, Gaurav Dasgupta --485b397dd5bdeb547c04c8e27fd3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi All,
=A0
I am running the Pi Estimator from hadoop-examples.jar in my 11 node C= DH3u4 cluster.
=A0
Initially I ran the job for 10 maps and 100000= 0 samples per map and it ran fine and displayed the execution time and the = pi value in the console.
Now again when I ran it for=A088 maps and 1 tr= illion total samples (i.e., 11363636364 samples per map), it executed the j= ob sucessfully, but at end gave the following error and could not display t= he "pi value" in the console:
=A0
java.lang.ArithmeticException: Non-terminating= decimal expansion; no exact representable decimal result.
=A0at java.ma= th.BigDecimal.divide(BigDecimal.java:1603)
=A0at org.apache.hadoop.examples.PiEstimator.estimate(PiEstimator.java:313)=
=A0at org.apache.hadoop.examples.PiEstimator.run(PiEstimator.java:342)<= br>=A0at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
=A0at= org.apache.hadoop.examples.PiEstimator.main(PiEstimator.java:351)
=A0at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
=A0at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3= 9)
=A0at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:25)
=A0at java.lang.reflect.Method.invoke(Method.java:597)
=A0at org.apache.= hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)<= br>=A0at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139= )
=A0at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64)<= br>=A0at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
=A0= at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a:39)
=A0at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25)
=A0at java.lang.reflect.Method.invoke(Method.java:597)<= br>=A0at org.apache.hadoop.util.RunJar.main(RunJar.java:197)
Can anyone tell me where is it going wrong?
Note: My Hadoop cluster (CDH3u4) contains all = the necessary patches.
=A0
Thanks,
Gaurav Dasgupta
=A0
=A0
--485b397dd5bdeb547c04c8e27fd3--