Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CA2F18068 for ; Sun, 31 Jan 2016 00:53:45 +0000 (UTC) Received: (qmail 27276 invoked by uid 500); 31 Jan 2016 00:53:40 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 27219 invoked by uid 500); 31 Jan 2016 00:53:40 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 27207 invoked by uid 99); 31 Jan 2016 00:53:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jan 2016 00:53:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E2FE22C1F5B for ; Sun, 31 Jan 2016 00:53:39 +0000 (UTC) Date: Sun, 31 Jan 2016 00:53:39 +0000 (UTC) From: "Xiao Chen (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-9721) Allow Delimited PB OIV tool to run upon fsimage that contains INodeReference 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/HDFS-9721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HDFS-9721: ---------------------------- Attachment: HDFS-9721.04.patch Patch 4 addressed the comments above - better logging and warn if IOException is thrown. Added a new type {{IgnoreSnapshotException}} to handle the snapshots in the recursive call. [~eddyxu] please take a look and let me know what you think. Thank you! > Allow Delimited PB OIV tool to run upon fsimage that contains INodeReference > ---------------------------------------------------------------------------- > > Key: HDFS-9721 > URL: https://issues.apache.org/jira/browse/HDFS-9721 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Xiao Chen > Assignee: Xiao Chen > Attachments: HDFS-9721.01.patch, HDFS-9721.02.patch, HDFS-9721.03.patch, HDFS-9721.04.patch > > > HDFS-6673 added the feature of Delimited format OIV tool on protocol buffer based fsimage. > However, if the fsimage contains {{INodeReference}}, the tool fails because: > {code}Preconditions.checkState(e.getRefChildrenCount() == 0);{code} > This jira is to propose allow the tool to finish, so that user can get full metadata. -- This message was sent by Atlassian JIRA (v6.3.4#6332)