Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-953

put key operation throws exception when run via ozone sh cli

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Ozone Client
    • Labels:
      None

      Description

      steps taken :

      --------------------

      1. created docker cluster consisting of 3 datanodes.
      2. created volume and bucket and then ran put key operation.

       Put key operation throws following exception but the operation succeeds.

      hadoop@4214b6a267fc:~$ ozone sh key put test-1/bbb-1/passwd /etc/passwd
      2019-01-02 10:30:06 ERROR BlockOutputStream:530 - Unexpected Storage Container Exception:
      org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException: ContainerID 2 does not exist
       at org.apache.hadoop.hdds.scm.storage.ContainerProtocolCalls.validateContainerResponse(ContainerProtocolCalls.java:495)
       at org.apache.hadoop.hdds.scm.storage.BlockOutputStream.validateResponse(BlockOutputStream.java:528)
       at org.apache.hadoop.hdds.scm.storage.BlockOutputStream.lambda$writeChunkToContainer$5(BlockOutputStream.java:605)
       at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
       at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
       at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)
      2019-01-02 10:30:06 ERROR BlockOutputStream:530 - Unexpected Storage Container Exception:
      org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException: ContainerID 2 does not exist
       at org.apache.hadoop.hdds.scm.storage.ContainerProtocolCalls.validateContainerResponse(ContainerProtocolCalls.java:495)
       at org.apache.hadoop.hdds.scm.storage.BlockOutputStream.validateResponse(BlockOutputStream.java:528)
       at org.apache.hadoop.hdds.scm.storage.BlockOutputStream.lambda$handlePartialFlush$2(BlockOutputStream.java:386)
       at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
       at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
       at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shashikant Shashikant Banerjee
                Reporter:
                nilotpalnandi Nilotpal Nandi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: