You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "George Huang (Jira)" <ji...@apache.org> on 2023/06/07 11:13:00 UTC

[jira] [Comment Edited] (HDDS-8772) BlockTokenException: Failed to find any token (empty or null.)

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

George Huang edited comment on HDDS-8772 at 6/7/23 11:12 AM:
-------------------------------------------------------------

Failed to process DataStreamRequestByteBuf:clientId=client-8095A2DCE8C3,type=STREAM_DATA,id=2496,offset=0,length=112
java.util.concurrent.CompletionException: Failed to create data stream

data stream creation failed due to not finding container. This is caused by HDDS-8696 and is fixed? [~adoroszlai], [~szetszwo]


was (Author: ghuangups):
Failed to process DataStreamRequestByteBuf:clientId=client-8095A2DCE8C3,type=STREAM_DATA,id=2496,offset=0,length=112
java.util.concurrent.CompletionException: Failed to create data stream

data stream creation failed due to not finding container. Are you saying this is caused by HDDS-8696? [~adoroszlai], [~szetszwo]

> BlockTokenException: Failed to find any token (empty or null.)
> --------------------------------------------------------------
>
>                 Key: HDDS-8772
>                 URL: https://issues.apache.org/jira/browse/HDDS-8772
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: George Huang
>            Priority: Major
>
> {code:java}
> HddsDispatcher 	
> Operation: StreamInit , Trace ID:  , Message: Block token verification failed. Failed to find any token (empty or null.) , Result: BLOCK_TOKEN_VERIFICATION_FAILED , StorageContainerException Occurred.
> org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException: Block token verification failed. Failed to find any token (empty or null.)
> 	at org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.dispatchRequest(HddsDispatcher.java:215)
> 	at org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.lambda$dispatch$0(HddsDispatcher.java:171)
> 	at org.apache.hadoop.hdds.server.OzoneProtocolMessageDispatcher.processRequest(OzoneProtocolMessageDispatcher.java:87)
> 	at org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.dispatch(HddsDispatcher.java:170)
> 	at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.dispatchCommand(ContainerStateMachine.java:439)
> 	at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.runCommand(ContainerStateMachine.java:449)
> 	at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.getStreamDataChannel(ContainerStateMachine.java:562)
> 	at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.lambda$stream$4(ContainerStateMachine.java:577)
> 	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
> 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> 	at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: org.apache.hadoop.hdds.security.token.BlockTokenException: Failed to find any token (empty or null.)
> 	at org.apache.hadoop.hdds.security.token.TokenVerifier.verify(TokenVerifier.java:60)
> 	at org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.validateToken(HddsDispatcher.java:460)
> 	at org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.dispatchRequest(HddsDispatcher.java:212)
> 	... 11 more
> |DataStreamManagement|{code:java}
> Failed to process DataStreamRequestByteBuf:clientId=client-6F7180804FBC,type=STREAM_DATA,id=2499,offset=0,length=112
> java.util.concurrent.CompletionException: Failed to create data stream
> at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.lambda$stream$4(ContainerStateMachine.java:582)
> at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException: ContainerID 392 does not exist
> at org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.getStreamDataChannel(HddsDispatcher.java:715)
> at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.getStreamDataChannel(ContainerStateMachine.java:563)
> at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.lambda$stream$4(ContainerStateMachine.java:577)
> ... 4 more{code}|
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org