Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2659

KeyValueHandler#handleCreateContainer should log the exception on container creation failure

    XMLWordPrintableJSON

Details

    Description

      KeyValueHandler#handleCreateContainer does not log the stack trace of the StorageContainerException cause. This leads to difficulty in debugging the reason for failure.

       

      2019-11-04 00:40:56,719 INFO org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler: Operation: CreateContainer : Trace ID: 1f7530ed73cf2e47:74588d4de9f1d702:1f7530ed73cf2e47:0 : Message: Container creation failed. : Result: CONTAINER_INTERNAL_ERROR
      2019-11-04 00:40:56,720 INFO org.apache.hadoop.ozone.container.common.impl.HddsDispatcher: Operation: WriteChunk : Trace ID: 1f7530ed73cf2e47:74588d4de9f1d702:1f7530ed73cf2e47:0 : Message: ContainerID 11 creation failed : Result: CONTAINER_INTERNAL_ERROR
      

       

      Attachments

        Issue Links

          Activity

            People

              cxorm Yi-Sheng Lien
              nilotpalnandi Nilotpal Nandi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m