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

WebHdfsFileSystem exceptions should retain the caused by exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 3.1.0, 2.9.1
    • hdfs
    • None
    • Reviewed

    Description

      WebHdfsFileSystem#runWithRetry uses reflection to prepend the remote host to the exception. While it preserves the original stacktrace, it omits the original cause which complicates debugging.

      Attachments

        1. HDFS-12705.003.patch
          3 kB
          Hanisha Koneru
        2. HDFS-12705.002.patch
          3 kB
          Hanisha Koneru
        3. HDFS-12705.001.patch
          1 kB
          Hanisha Koneru

        Activity

          People

            hanishakoneru Hanisha Koneru
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: