hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9160) TestNamespaceUpgrade fails on hadoop 2.1 due to existence of .snapshot directory in tar ball
Date Thu, 08 Aug 2013 20:08:48 GMT
Ted Yu created HBASE-9160:
-----------------------------

             Summary: 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


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

Mime
View raw message