From common-issues-return-155820-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Sat Aug 4 00:18:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 54DD7180718 for ; Sat, 4 Aug 2018 00:18:04 +0200 (CEST) Received: (qmail 24426 invoked by uid 500); 3 Aug 2018 22:18:03 -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 24411 invoked by uid 99); 3 Aug 2018 22:18:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2018 22:18:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id EAA08C5BEE for ; Fri, 3 Aug 2018 22:18:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id sJaNCfdOUeOJ for ; Fri, 3 Aug 2018 22:18:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BBE1E5F4A2 for ; Fri, 3 Aug 2018 22:18:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1B4D8E263A for ; Fri, 3 Aug 2018 22:18:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 52D9823FA6 for ; Fri, 3 Aug 2018 22:18:00 +0000 (UTC) Date: Fri, 3 Aug 2018 22:18:00 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-15651) NPE in S3AInputStream.read() in ITestS3AInconsistency.testOpenFailOnRead 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/HADOOP-15651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568852#comment-16568852 ] Steve Loughran commented on HADOOP-15651: ----------------------------------------- Stack; test log will go in output. Endpoint: us-west-1; test run {{-Dparallel-tests -DtestsThreadCount=8 }}. Bucket always has DDB enabled. {code} [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 27.63 s <<< FAILURE! - in org.apache.hadoop.fs.s3a.ITestS3AInconsistency [ERROR] testOpenFailOnRead(org.apache.hadoop.fs.s3a.ITestS3AInconsistency) Time elapsed: 17.242 s <<< ERROR! java.lang.NullPointerException at org.apache.hadoop.fs.s3a.S3AInputStream.lambda$read$2(S3AInputStream.java:368) at org.apache.hadoop.fs.s3a.Invoker.once(Invoker.java:109) at org.apache.hadoop.fs.s3a.Invoker.lambda$retry$3(Invoker.java:260) at org.apache.hadoop.fs.s3a.Invoker.retryUntranslated(Invoker.java:317) at org.apache.hadoop.fs.s3a.Invoker.retry(Invoker.java:256) at org.apache.hadoop.fs.s3a.Invoker.retry(Invoker.java:231) at org.apache.hadoop.fs.s3a.S3AInputStream.read(S3AInputStream.java:364) at java.io.FilterInputStream.read(FilterInputStream.java:83) at org.apache.hadoop.fs.s3a.ITestS3AInconsistency.doOpenFailOnReadTest(ITestS3AInconsistency.java:180) at org.apache.hadoop.fs.s3a.ITestS3AInconsistency.testOpenFailOnRead(ITestS3AInconsistency.java:162) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) {code} > NPE in S3AInputStream.read() in ITestS3AInconsistency.testOpenFailOnRead > ------------------------------------------------------------------------ > > Key: HADOOP-15651 > URL: https://issues.apache.org/jira/browse/HADOOP-15651 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3, test > Affects Versions: 3.2.0 > Reporter: Steve Loughran > Priority: Major > > Test {{ITestS3AInconsistency.testOpenFailOnRead()}} raise an NPE in read(); could only happen on that line if {{wrappedStream==null}}, which implies that previous attempts to re-open the closed stream failed and that this didn't trigger anything. > Not seen this before, but given that the fault injection is random, it may be that so far test runs have been *unlucky* and missed this. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org