From common-issues-return-157760-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu Sep 13 18:52:06 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 77A40180649 for ; Thu, 13 Sep 2018 18:52:05 +0200 (CEST) Received: (qmail 66220 invoked by uid 500); 13 Sep 2018 16:52:04 -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 66205 invoked by uid 99); 13 Sep 2018 16:52:04 -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; Thu, 13 Sep 2018 16:52:04 +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 17F10C685A for ; Thu, 13 Sep 2018 16:52:04 +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 jeFMiTQyWNvs for ; Thu, 13 Sep 2018 16:52:03 +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 AC5F45F640 for ; Thu, 13 Sep 2018 16:52:02 +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 D8386E2635 for ; Thu, 13 Sep 2018 16:52: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 D81C423FB3 for ; Thu, 13 Sep 2018 16:52:00 +0000 (UTC) Date: Thu, 13 Sep 2018 16:52:00 +0000 (UTC) From: "Gabor Bota (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-15754) s3guard: testDynamoTableTagging should clear existing config MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-15754?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 613771#comment-16613771 ]=20 Gabor Bota commented on HADOOP-15754: ------------------------------------- Thanks for testing it [~stevel@apache.org]. I've tested against eu-west-1. = I'll check again if I'm able to reproduce these. > s3guard: testDynamoTableTagging should clear existing config > ------------------------------------------------------------ > > Key: HADOOP-15754 > URL: https://issues.apache.org/jira/browse/HADOOP-15754 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 3.2.0 > Reporter: Aaron Fabbri > Assignee: Gabor Bota > Priority: Minor > Attachments: HADOOP-15754.001.patch > > > I recently committed HADOOP-14734 which adds support for tagging Dynamo D= B tables for S3Guard when they are created. > =C2=A0 > Later, when testing another patch, I hit a test failure because I still h= ad a tag option set in my test configuration (auth-keys.xml) that was addin= g my own table tag. > {noformat} > [ERROR] testDynamoTableTagging(org.apache.hadoop.fs.s3a.s3guard.ITestS3Gu= ardToolDynamoDB)=C2=A0 Time elapsed: 13.384 s=C2=A0 <<< FAILURE! > java.lang.AssertionError: expected:<2> but was:<3> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.Assert.fail(Assert.java:88) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.Assert.failNotEquals(Assert.java= :743) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.Assert.assertEquals(Assert.java:= 118) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.Assert.assertEquals(Assert.java:= 555) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.Assert.assertEquals(Assert.java:= 542) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.hadoop.fs.s3a.s3guard.ITestS3Gu= ardToolDynamoDB.testDynamoTableTagging(ITestS3GuardToolDynamoDB.java:129) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.reflect.NativeMethodAccessorImpl.invok= e0(Native Method) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.reflect.NativeMethodAccessorImpl.invok= e(NativeMethodAccessorImpl.java:62) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.reflect.DelegatingMethodAccessorImpl.i= nvoke(DelegatingMethodAccessorImpl.java:43) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.lang.reflect.Method.invoke(Method.jav= a:498) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.runners.model.FrameworkMethod$1.= runReflectiveCall(FrameworkMethod.java:47) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.internal.runners.model.Reflectiv= eCallable.run(ReflectiveCallable.java:12) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.runners.model.FrameworkMethod.in= vokeExplosively(FrameworkMethod.java:44) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.internal.runners.statements.Invo= keMethod.evaluate(InvokeMethod.java:17) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.internal.runners.statements.RunB= efores.evaluate(RunBefores.java:26) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.internal.runners.statements.RunA= fters.evaluate(RunAfters.java:27) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.rules.TestWatcher$1.evaluate(Tes= tWatcher.java:55) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.junit.internal.runners.statements.Fail= OnTimeout$StatementThread.run(FailOnTimeout.java:74){noformat} > I think the solution is just to clear any tag.* options set in the config= uration at the beginning of the test. -- 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