Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 546ABF8B2 for ; Fri, 29 Mar 2013 22:19:28 +0000 (UTC) Received: (qmail 71966 invoked by uid 500); 29 Mar 2013 22:19:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71938 invoked by uid 500); 29 Mar 2013 22:19:28 -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 71929 invoked by uid 99); 29 Mar 2013 22:19:28 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 22:19:28 +0000 Date: Fri, 29 Mar 2013 22:19:27 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8199) Eliminate exception for ExportSnapshot against the null table snapshot (with no data in) 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/HBASE-8199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617800#comment-13617800 ] Hudson commented on HBASE-8199: ------------------------------- Integrated in HBase-0.94-security #129 (See [https://builds.apache.org/job/HBase-0.94-security/129/]) HBASE-8199 Eliminate exception for ExportSnapshot against the null table snapshot (Julian Zhou) (Revision 1461346) Result = FAILURE mbertozzi : Files : * /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java * /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java > Eliminate exception for ExportSnapshot against the null table snapshot (with no data in) > ---------------------------------------------------------------------------------------- > > Key: HBASE-8199 > URL: https://issues.apache.org/jira/browse/HBASE-8199 > Project: HBase > Issue Type: Improvement > Components: snapshots > Affects Versions: 0.95.0, 0.94.6, 0.94.7 > Reporter: Julian Zhou > Assignee: Julian Zhou > Priority: Minor > Fix For: 0.95.0, 0.94.7 > > Attachments: HBASE-8199-0.94.patch, HBASE-8199-trunk.patch, HBASE-8199-with-test.patch > > > In the test environment, when snapshoting the null table (with no data), snapshot artifact can be generated successfully with snapshot meta data, while there is no CF data under region dir. Then when exporting this null snapshot via ExportSnapshot, "java.io.IOException: No input paths specified in job" occurred, which affects the normal application flow. > But seems snapshot for null table also makes sense just with the meta information (.snapshot/), although ".archive/" does not show up. Later snapshot restore seems work from this "dummy" snapshot artifact with no CF data. > Just eliminate exception for ExportSnapshot against the null table snapshot to make application work through. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira