From commits-return-91424-apmail-hbase-commits-archive=hbase.apache.org@hbase.apache.org Mon Jan 27 20:05:30 2020 Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id C7F921982C for ; Mon, 27 Jan 2020 20:05:29 +0000 (UTC) Received: (qmail 35569 invoked by uid 500); 27 Jan 2020 20:05:29 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 35500 invoked by uid 500); 27 Jan 2020 20:05:29 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 35491 invoked by uid 99); 27 Jan 2020 20:05:29 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2020 20:05:29 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id D1B5E819F5; Mon, 27 Jan 2020 20:05:28 +0000 (UTC) Date: Mon, 27 Jan 2020 20:05:28 +0000 To: "commits@hbase.apache.org" Subject: [hbase] branch branch-2 updated: HBASE-23746 [Flakey Tests] Caused by: org.apache.hadoop.hbase.util.CommonFSUtils$StreamLacksCapabilityException: hflush and hsync MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <158015552846.25356.2154134925237381611@gitbox.apache.org> From: stack@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: hbase X-Git-Refname: refs/heads/branch-2 X-Git-Reftype: branch X-Git-Oldrev: ff3d2aea81328ad3c8ebce7394ae87a5a8fa1b99 X-Git-Newrev: e0f913323eef768fe38adcf4aadf089432b4470d X-Git-Rev: e0f913323eef768fe38adcf4aadf089432b4470d X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. stack pushed a commit to branch branch-2 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2 by this push: new e0f9133 HBASE-23746 [Flakey Tests] Caused by: org.apache.hadoop.hbase.util.CommonFSUtils$StreamLacksCapabilityException: hflush and hsync e0f9133 is described below commit e0f913323eef768fe38adcf4aadf089432b4470d Author: stack AuthorDate: Mon Jan 27 12:05:01 2020 -0800 HBASE-23746 [Flakey Tests] Caused by: org.apache.hadoop.hbase.util.CommonFSUtils$StreamLacksCapabilityException: hflush and hsync --- .../java/org/apache/hadoop/hbase/io/hfile/TestHFilePrettyPrinter.java | 3 +++ .../hbase/procedure2/store/region/RegionProcedureStoreTestBase.java | 2 ++ 2 files changed, 5 insertions(+) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFilePrettyPrinter.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFilePrettyPrinter.java index e0a168e..f8c85a2 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFilePrettyPrinter.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFilePrettyPrinter.java @@ -33,6 +33,7 @@ import org.apache.hadoop.hbase.regionserver.TestHRegionServerBulkLoad; import org.apache.hadoop.hbase.testclassification.IOTests; import org.apache.hadoop.hbase.testclassification.SmallTests; import org.apache.hadoop.hbase.util.Bytes; +import org.apache.hadoop.hbase.util.CommonFSUtils; import org.apache.hadoop.hbase.util.FSUtils; import org.junit.After; import org.junit.Before; @@ -64,6 +65,8 @@ public class TestHFilePrettyPrinter { @Before public void setup() throws Exception { conf = UTIL.getConfiguration(); + // Runs on local filesystem. Test does not need sync. Turn off checks. + conf.setBoolean(CommonFSUtils.UNSAFE_STREAM_CAPABILITY_ENFORCE, false); fs = UTIL.getTestFileSystem(); stream = new ByteArrayOutputStream(); ps = new PrintStream(stream); diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure2/store/region/RegionProcedureStoreTestBase.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure2/store/region/RegionProcedureStoreTestBase.java index c5694d2..3ffadf6 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure2/store/region/RegionProcedureStoreTestBase.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure2/store/region/RegionProcedureStoreTestBase.java @@ -46,6 +46,8 @@ public class RegionProcedureStoreTestBase { public void setUp() throws IOException { htu = new HBaseCommonTestingUtility(); htu.getConfiguration().setBoolean(MemStoreLAB.USEMSLAB_KEY, false); + // Runs on local filesystem. Test does not need sync. Turn off checks. + htu.getConfiguration().setBoolean(CommonFSUtils.UNSAFE_STREAM_CAPABILITY_ENFORCE, false); configure(htu.getConfiguration()); Path testDir = htu.getDataTestDir(); CommonFSUtils.setWALRootDir(htu.getConfiguration(), testDir);