Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7785

Improve diagnostics information for HttpPutFailedException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • namenode
    • None

    Description

      One of our namenode logs shows the following exception message.

      ...
      Caused by: org.apache.hadoop.hdfs.server.namenode.TransferFsImage$HttpPutFailedException: org.apache.hadoop.security.authentication.util.SignerException: Invalid signature
      at org.apache.hadoop.hdfs.server.namenode.TransferFsImage.uploadImage(TransferFsImage.java:294)
      ...

      HttpPutFailedException should have its detailed information, such as status code and url, shown in the log to help debugging.

      Attachments

        1. HDFS-7785.01.patch
          1 kB
          Chengbing Liu
        2. HDFS-7785.01.patch
          1 kB
          Chengbing Liu

        Issue Links

          Activity

            People

              chengbing.liu Chengbing Liu
              chengbing.liu Chengbing Liu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: