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 6EE13200B56 for ; Sat, 16 Jul 2016 05:16:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6A748160A61; Sat, 16 Jul 2016 03:16:23 +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 B53B9160A89 for ; Sat, 16 Jul 2016 05:16:22 +0200 (CEST) Received: (qmail 74828 invoked by uid 500); 16 Jul 2016 03:16:21 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 74292 invoked by uid 99); 16 Jul 2016 03:16:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jul 2016 03:16:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A96332C0376 for ; Sat, 16 Jul 2016 03:16:20 +0000 (UTC) Date: Sat, 16 Jul 2016 03:16:20 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16235) TestSnapshotFromMaster#testSnapshotHFileArchiving will fail if there are too many hfiles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 16 Jul 2016 03:16:23 -0000 [ https://issues.apache.org/jira/browse/HBASE-16235?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D153= 80458#comment-15380458 ]=20 Hudson commented on HBASE-16235: -------------------------------- FAILURE: Integrated in HBase-Trunk_matrix #1236 (See [https://builds.apache= .org/job/HBase-Trunk_matrix/1236/]) HBASE-16235 TestSnapshotFromMaster#testSnapshotHFileArchiving will fail (te= dyu: rev 66c68f8ea369bf1a0f85978a49f14838ec345ab8) * hbase-server/src/test/java/org/apache/hadoop/hbase/master/cleaner/TestSna= pshotFromMaster.java > TestSnapshotFromMaster#testSnapshotHFileArchiving will fail if there are = too many hfiles > -------------------------------------------------------------------------= --------------- > > Key: HBASE-16235 > URL: https://issues.apache.org/jira/browse/HBASE-16235 > Project: HBase > Issue Type: Bug > Reporter: ChiaPing Tsai > Assignee: ChiaPing Tsai > Priority: Trivial > Fix For: 2.0.0 > > Attachments: HBASE-16235-v1.patch, HBASE-16235-v2.patch, HBASE-16= 235-v3.patch > > > TestSnapshotFromMaster#testSnapshotHFileArchiving assumes that all hfiles= will be compacted and be moved to =E2=80=9Carchive folder=E2=80=9D after c= leaning. But not all hfiles will be compacted if there are large number of = hfiles. > The above may be happened if changing the default config like smaller wri= te buffer(hbase.client.write.buffer) or ExponentialClientBackoffPolicy. > {code:title=3DTestSnapshotFromMaster.java|borderStyle=3Dsolid} > // it should also check the hfiles in the normal path (/hbase/data/defaul= t/...) > public void testSnapshotHFileArchiving() throws Exception { > //... > // get the archived files for the table > Collection files =3D getArchivedHFiles(archiveDir, rootDir, f= s, TABLE_NAME); > // and make sure that there is a proper subset > for (String fileName : snapshotHFiles) { > assertTrue("Archived hfiles " + files + " is missing snapshot file:= " + fileName, > files.contains(fileName)); > } > //... > } =20 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)