Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 75F4D200B66 for ; Thu, 18 Aug 2016 11:27:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 74A9F160AAB; Thu, 18 Aug 2016 09:27:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9E662160AAE for ; Thu, 18 Aug 2016 11:27:21 +0200 (CEST) Received: (qmail 89937 invoked by uid 500); 18 Aug 2016 09:27:20 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 89928 invoked by uid 99); 18 Aug 2016 09:27:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2016 09:27:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7A77C2C02A5 for ; Thu, 18 Aug 2016 09:27:20 +0000 (UTC) Date: Thu, 18 Aug 2016 09:27:20 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-18194) Hsi-Hs2: Mondrian tests intermittently fail with "java.io.IOException: Connection reset by peer" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 18 Aug 2016 09:27:22 -0000 Andrew Onischuk created AMBARI-18194: ---------------------------------------- Summary: Hsi-Hs2: Mondrian tests intermittently fail with "java.io.IOException: Connection reset by peer" Key: AMBARI-18194 URL: https://issues.apache.org/jira/browse/AMBARI-18194 Project: Ambari Issue Type: Bug Reporter: Andrew Onischuk Assignee: Andrew Onischuk Fix For: 2.4.0 I'd reported this issue previously in not see this due to its intermitent nature. In yesterdays nightly, around 8 tests had failed with this issue and on rerun 48 failed. Hs2 logs are below: 2016-08-17T07:28:55,479 INFO [HiveServer2-Background-Pool: Thread-6508]: SessionState (SessionState.java:printInfo(1075)) - Status: Running (Executing on YARN cluster with App id application_1471417242320_0006) Map 1: 1/1 Reducer 2: 0(+1)/1 Reducer 3: 0/1 2016-08-17T07:28:55,480 INFO [HiveServer2-Background-Pool: Thread-6508]: SessionState (SessionState.java:printInfo(1075)) - Map 1: 1/1 Reducer 2: 0(+1)/1 Reducer 3: 0/1 Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1)/1 2016-08-17T07:28:55,681 INFO [HiveServer2-Background-Pool: Thread-6508]: SessionState (SessionState.java:printInfo(1075)) - Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1)/1 Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-2)/1 2016-08-17T07:28:58,422 INFO [HiveServer2-Background-Pool: Thread-6503]: SessionState (SessionState.java:printInfo(1075)) - Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-2)/1 Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-1)/1 2016-08-17T07:28:58,422 INFO [HiveServer2-Background-Pool: Thread-6507]: SessionState (SessionState.java:printInfo(1075)) - Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-1)/1 Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1)/1 2016-08-17T07:28:58,955 INFO [HiveServer2-Background-Pool: Thread-6508]: SessionState (SessionState.java:printInfo(1075)) - Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1)/1 Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-1)/1 2016-08-17T07:29:00,566 INFO [HiveServer2-Background-Pool: Thread-6508]: SessionState (SessionState.java:printInfo(1075)) - Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-1)/1 Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-3)/1 2016-08-17T07:29:00,633 INFO [HiveServer2-Background-Pool: Thread-6503]: SessionState (SessionState.java:printInfo(1075)) - Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-3)/1 Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-2)/1 2016-08-17T07:29:00,635 INFO [HiveServer2-Background-Pool: Thread-6507]: SessionState (SessionState.java:printInfo(1075)) - Map 1: 1/1 Reducer 2: 1/1 Reducer 3: 0(+1,-2)/1 Status: Failed 2016-08-17T07:29:00,708 ERROR [HiveServer2-Background-Pool: Thread-6503]: SessionState (SessionState.java:printError(1084)) - Status: Failed Vertex failed, vertexName=Reducer 3, vertexId=vertex_1471417242320_0005_293_02, diagnostics=[Task failed, taskId=task_1471417242320_0005_293_02_000000, diagnostics=[TaskAttempt 0 failed, info=[Error: Error while running task ( failure ) : attempt_1471417242320_0005_293_02_000000_0:java.lang.RuntimeException: java.lang.RuntimeException: Hive Runtime Error while closing operators: java.io.IOException: Connection reset by peer at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:211) at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:168) at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:370) at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:73) at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:61) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724) at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:61) at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:37) at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36) at org.apache.hadoop.hive.llap.daemon.impl.StatsRecordingThreadPool$WrappedCallable.call(StatsRecordingThreadPool.java:110) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Hive Runtime Error while closing operators: java.io.IOException: Connection reset by peer at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordProcessor.close(ReduceRecordProcessor.java:360) at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:199) ... 15 more Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: java.io.IOException: Connection reset by peer at org.apache.hadoop.hive.ql.exec.FileSinkOperator$FSPaths.closeWriters(FileSinkOperator.java:194) at org.apache.hadoop.hive.ql.exec.FileSinkOperator.closeOp(FileSinkOperator.java:1039) at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:683) at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:697) at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordProcessor.close(ReduceRecordProcessor.java:337) ... 16 more Attached the logs for the failed application_1471417242320_0006. Test console logs: 2016-08-17 07:28:54,010|beaver.machine|INFO|18245|140470708778752|MainThread|[4382] Running query #6: select employee.employee_id as c0, employee.full_name as c1 from employee as employee where employee.supervisor_id = 30 group by employee.employee_id, employee.full_name order by employee.employee_id ASC 2016-08-17 07:29:00,745|beaver.machine|INFO|18245|140470708778752|MainThread|[4382] Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.tez.TezTask. Vertex failed, vertexName=Reducer 3, vertexId=vertex_1471417242320_0005_293_02, diagnostics=[Task failed, taskId=task_1471417242320_0005_293_02_000000, diagnostics=[TaskAttempt 0 failed, info=[Error: Error while running task ( failure ) : attempt_1471417242320_0005_293_02_000000_0:java.lang.RuntimeException: java.lang.RuntimeException: Hive Runtime Error while closing operators: java.io.IOException: Connection reset by peer 2016-08-17 07:29:00,746|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:211) 2016-08-17 07:29:00,746|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:168) 2016-08-17 07:29:00,746|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:370) 2016-08-17 07:29:00,746|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:73) 2016-08-17 07:29:00,746|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:61) 2016-08-17 07:29:00,747|beaver.machine|INFO|18245|140470708778752|MainThread|at java.security.AccessController.doPrivileged(Native Method) 2016-08-17 07:29:00,747|beaver.machine|INFO|18245|140470708778752|MainThread|at javax.security.auth.Subject.doAs(Subject.java:422) 2016-08-17 07:29:00,747|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724) 2016-08-17 07:29:00,747|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:61) 2016-08-17 07:29:00,747|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:37) 2016-08-17 07:29:00,747|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36) 2016-08-17 07:29:00,747|beaver.machine|INFO|18245|140470708778752|MainThread|at org.apache.hadoop.hive.llap.daemon.impl.StatsRecordingThreadPool$WrappedCallable.call(StatsRecordingThreadPool.java:110) 2016-08-17 07:29:00,748|beaver.machine|INFO|18245|140470708778752|MainThread|at java.util.concurrent.FutureTask.run(FutureTask.java:266) 2016-08-17 07:29:00,748|beaver.machine|INFO|18245|140470708778752|MainThread|at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-08-17 07:29:00,748|beaver.machine|INFO|18245|140470708778752|MainThread|at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-08-17 07:29:00,748|beaver.machine|INFO|18245|140470708778752|MainThread|at java.lang.Thread.run(Thread.java:745) 2016-08-17 07:29:00,748|beaver.machine|INFO|18245|140470708778752|MainThread|Caused by: java.lang.RuntimeException: Hive Runtime Error while closing operators: java.io.IOException: Connection reset by peer Unfortunately we are not able to extend the lifetime beyond 24 hours on nightly clusters. -- This message was sent by Atlassian JIRA (v6.3.4#6332)