Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8691 Ozone Streaming Write Pipeline Phase 2
  3. HDDS-8772

Failed to create data stream: hdds.scm.container.common.helpers.StorageContainerException: ContainerID # does not exist

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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

      |

      
      

      Attachments

        Activity

          People

            sadanand_shenoy Sadanand Shenoy
            ghuangups George Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: