hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9160) TestNamespaceUpgrade fails on hadoop 2.1 due to existence of .snapshot directory in tar ball
Date Wed, 14 Aug 2013 12:03:49 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739577#comment-13739577
] 

Hudson commented on HBASE-9160:
-------------------------------

FAILURE: Integrated in hbase-0.95-on-hadoop2 #240 (See [https://builds.apache.org/job/hbase-0.95-on-hadoop2/240/])
HBASE-9160 TestNamespaceUpgrade fails on hadoop 2.1 due to existence of .snapshot directory
in tar ball (stack: rev 1513734)
* /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/migration/TestNamespaceUpgrade.java

                
> 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
>          Components: test
>            Reporter: Ted Yu
>            Assignee: Francis Liu
>            Priority: Critical
>             Fix For: 0.98.0, 0.95.2
>
>         Attachments: HBASE-9160.patch, 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

Mime
View raw message