Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51BBD10D3C for ; Wed, 19 Mar 2014 22:57:57 +0000 (UTC) Received: (qmail 92340 invoked by uid 500); 19 Mar 2014 22:57:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 92192 invoked by uid 500); 19 Mar 2014 22:57:47 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 92146 invoked by uid 99); 19 Mar 2014 22:57:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 22:57:46 +0000 Date: Wed, 19 Mar 2014 22:57:46 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10782) Hadoop2 MR tests fail occasionally because of mapreduce.jobhistory.address is no set in job conf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13941119#comment-13941119 ] stack commented on HBASE-10782: ------------------------------- +1 > Hadoop2 MR tests fail occasionally because of mapreduce.jobhistory.address is no set in job conf > ------------------------------------------------------------------------------------------------ > > Key: HBASE-10782 > URL: https://issues.apache.org/jira/browse/HBASE-10782 > Project: HBase > Issue Type: Test > Reporter: Liu Shaohui > Assignee: Liu Shaohui > Priority: Minor > Attachments: HBASE-10782-trunk-v1.diff > > > Hadoop2 MR tests fail occasionally with output like this: > {code} > ------------------------------------------------------------------------------- > Test set: org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1 > ------------------------------------------------------------------------------- > Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 347.57 sec <<< FAILURE! > testScanEmptyToAPP(org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1) Time elapsed: 50.047 sec <<< ERROR! > java.io.IOException: java.net.ConnectException: Call From liushaohui-OptiPlex-990/127.0.0.1 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused > at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:334) > at org.apache.hadoop.mapred.ClientServiceDelegate.getJobStatus(ClientServiceDelegate.java:419) > at org.apache.hadoop.mapred.YARNRunner.getJobStatus(YARNRunner.java:524) > at org.apache.hadoop.mapreduce.Job$1.run(Job.java:314) > at org.apache.hadoop.mapreduce.Job$1.run(Job.java:311) > at java.security.AccessController.doPrivileged(Native Method) > ... > {code} > The reason is that when MR job was running, the job client pulled the job status from AppMaster. When the job is completed, the AppMaster will exit. At this time, if the job client have not got the job completed event from AppMaster, it will switch to get job report from history server. > But in HBaseTestingUtility#startMiniMapReduceCluster, the config: mapreduce.jobhistory.address is not copied to TestUtil's config. > > CRUNCH-249 reported the same problem. -- This message was sent by Atlassian JIRA (v6.2#6252)