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 A2066200C1D for ; Wed, 11 Jan 2017 13:53:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A0B60160B2E; Wed, 11 Jan 2017 12:53:00 +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 D76A6160B51 for ; Wed, 11 Jan 2017 13:52:59 +0100 (CET) Received: (qmail 79458 invoked by uid 500); 11 Jan 2017 12:52:59 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 79321 invoked by uid 99); 11 Jan 2017 12:52:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2017 12:52:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A33452C03E1 for ; Wed, 11 Jan 2017 12:52:58 +0000 (UTC) Date: Wed, 11 Jan 2017 12:52:58 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13973) S3 requests failing: java.lang.IllegalStateException: Connection is not open MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 11 Jan 2017 12:53:00 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15818235#comment-15818235 ] Steve Loughran commented on HADOOP-13973: ----------------------------------------- Stack 2: GET {code} java.lang.IllegalStateException: Connection is not open at org.apache.http.util.Asserts.check(Asserts.java:34) at org.apache.http.impl.SocketHttpClientConnection.assertOpen(SocketHttpClientConnection.java:75) at org.apache.http.impl.AbstractHttpClientConnection.sendRequestHeader(AbstractHttpClientConnection.java:253) at org.apache.http.impl.conn.DefaultClientConnection.sendRequestHeader(DefaultClientConnection.java:278) at org.apache.http.impl.conn.ManagedClientConnectionImpl.sendRequestHeader(ManagedClientConnectionImpl.java:223) at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:204) at com.amazonaws.http.protocol.SdkHttpRequestExecutor.doSendRequest(SdkHttpRequestExecutor.java:47) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:122) at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:686) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:728) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:489) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:310) at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3785) at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1191) at org.apache.hadoop.fs.s3a.S3AInputStream.reopen(S3AInputStream.java:148) at org.apache.hadoop.fs.s3a.S3AInputStream.lazySeek(S3AInputStream.java:281) at org.apache.hadoop.fs.s3a.S3AInputStream.read(S3AInputStream.java:364) at org.apache.hadoop.fs.s3a.S3AInputStream.readFully(S3AInputStream.java:579) at org.apache.hadoop.fs.FSDataInputStream.readFully(FSDataInputStream.java:111) at org.apache.orc.impl.ReaderImpl.extractFileTail(ReaderImpl.java:501) at org.apache.orc.impl.ReaderImpl.(ReaderImpl.java:369) at org.apache.hadoop.hive.ql.io.orc.ReaderImpl.(ReaderImpl.java:62) at org.apache.hadoop.hive.ql.io.orc.encoded.ReaderImpl.(ReaderImpl.java:32) at org.apache.hadoop.hive.ql.io.orc.encoded.EncodedOrcFile.createReader(EncodedOrcFile.java:28) {code} > S3 requests failing: java.lang.IllegalStateException: Connection is not open > ---------------------------------------------------------------------------- > > Key: HADOOP-13973 > URL: https://issues.apache.org/jira/browse/HADOOP-13973 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 2.8.0 > Environment: EC2 cluster > Reporter: Rajesh Balamohan > Assignee: Steve Loughran > Fix For: 2.8.0 > > > S3 requests failing with an error coming from Http client, "java.lang.IllegalStateException: Connection is not open" > Some online discussion implies that this is related to shared connection pool shutdown & fixed in http client 4.4+. Hadoop & AWS SDK use v 4.5.2 so the fix is in, we just need to make sure the pool is being set up right. > There's a problem here of course: it may require moving to a later version of the AWS SDK, with the consequences on jackson &c, as seen in HADOOP-13050. And that's if there is a patched version out there -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org