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 4EDE11050B for ; Fri, 9 Aug 2013 22:56:48 +0000 (UTC) Received: (qmail 10117 invoked by uid 500); 9 Aug 2013 22:56:48 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 10046 invoked by uid 500); 9 Aug 2013 22:56:48 -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 10037 invoked by uid 99); 9 Aug 2013 22:56:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 22:56:48 +0000 Date: Fri, 9 Aug 2013 22:56:48 +0000 (UTC) From: "Jing Zhao (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9160) TestNamespaceUpgrade fails on hadoop 2.1 due to existence of .snapshot directory in tar ball 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-9160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13735441#comment-13735441 ] Jing Zhao commented on HBASE-9160: ---------------------------------- in 2.1 hdfs with the snapshot change, ".snapshot" is a reserved name. Thus if the old cluster contains files/directories with the name ".snapshot", you need to rename these files/directories before the upgrade to 2.1. > TestNamespaceUpgrade fails on hadoop 2.1 due to existence of .snapshot directory in tar ball > -------------------------------------------------------------------------------------------- > > Key: HBASE-9160 > URL: https://issues.apache.org/jira/browse/HBASE-9160 > Project: HBase > Issue Type: Test > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: TestNamespaceUpgrade.tgz > > > Here is partial listing of contents for TestNamespaceUpgrade.tgz : > {code} > -rwxrwxrwx 0 fcliu staff 0 May 13 10:50 hbase/.snapshot/ns.two.foo_snapshot2/7112077ccfba8a46c0694ca8c0a4bc2d/f/136799c89e244b9bad79281b37650927 > -rwxrwxrwx 0 fcliu staff 0 May 13 10:50 hbase/.snapshot/ns.two.foo_snapshot2/7112077ccfba8a46c0694ca8c0a4bc2d/f/98093488150c42229927fd2a1e8c5d69 > -rw-r--r-- 0 fcliu staff 12 May 13 10:50 hbase/.snapshot/ns.two.foo_snapshot1/..snapshotinfo.crc > {code} > Running the test on hadoop 2.1, I saw the following in test output: > {code} > 2013-08-08 19:59:29,834 WARN [IPC Server handler 3 on 47143] ipc.Server$Handler(2044): IPC Server handler 3 on 47143, call org.apache.hadoop.hdfs.protocol.ClientProtocol.mkdirs from 127.0.0.1:46287 Call#264 Retry#0: error: org.apache.hadoop.HadoopIllegalArgumentException: ".snapshot" is a reserved name. > org.apache.hadoop.HadoopIllegalArgumentException: ".snapshot" is a reserved name. > at org.apache.hadoop.hdfs.server.namenode.FSDirectory.verifyINodeName(FSDirectory.java:2108) > at org.apache.hadoop.hdfs.server.namenode.FSDirectory.addChild(FSDirectory.java:2204) > at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedMkdir(FSDirectory.java:2003) > at org.apache.hadoop.hdfs.server.namenode.FSDirectory.mkdirs(FSDirectory.java:1956) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:3379) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInt(FSNamesystem.java:3338) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:3310) > at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:694) > at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:502) > at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:48089) > at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:928) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2028) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2024) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1477) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2022) > put: ".snapshot" is a reserved name. > {code} > Looks like the tar ball was generated using an old version of 0.94 -- 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