hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1284) TestBlockToken fails
Date Wed, 07 Jul 2010 21:54:50 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886102#action_12886102
] 

Konstantin Shvachko commented on HDFS-1284:
-------------------------------------------

{code}
Error Message

java.lang.AssertionError: Only one BlockTokenIdentifier expected expected:<1> but was:<0>


Stacktrace

java.io.IOException: java.lang.AssertionError: Only one BlockTokenIdentifier expected expected:<1>
but was:<0>
	at org.apache.hadoop.hdfs.security.token.block.TestBlockToken$getLengthAnswer.answer(TestBlockToken.java:104)
	at org.apache.hadoop.hdfs.security.token.block.TestBlockToken$getLengthAnswer.answer(TestBlockToken.java:87)
	at org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:29)
	at org.mockito.internal.MockHandler.handle(MockHandler.java:95)
	at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:47)
	at org.apache.hadoop.hdfs.protocol.ClientDatanodeProtocol$$EnhancerByMockitoWithCGLIB$$aa5fc970.getReplicaVisibleLength(<generated>)
	at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1369)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1365)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:813)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1363)

	at org.apache.hadoop.ipc.Client.call(Client.java:918)
	at org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:198)
	at $Proxy4.getReplicaVisibleLength(Unknown Source)
	at org.apache.hadoop.hdfs.security.token.block.TestBlockToken.testBlockTokenRpc(TestBlockToken.java:215)
{code}


> TestBlockToken fails
> --------------------
>
>                 Key: HDFS-1284
>                 URL: https://issues.apache.org/jira/browse/HDFS-1284
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Shvachko
>
> Hudson runs fail several tests. {{TestBlockToken.testBlockTokenRpc}} is one of them.
> [See here|http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/423/testReport/junit/org.apache.hadoop.hdfs.security.token.block/TestBlockToken/testBlockTokenRpc/]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message