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

HftpFileSystem.RangeHeaderUrlOpener uses the default URLConnectionFactory which does not import SSL certificates

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When HftpFileSystem tries to get the data, it create a RangeHeaderUrlOpener object to open a HTTP / HTTPS connection to the NN. However, HftpFileSystem.RangeHeaderUrlOpener uses the default URLConnectionFactory. It does not import the SSL certificates from ssl-client.xml. Therefore HsftpFileSystem fails.

      To fix this bug, HftpFileSystem.RangeHeaderUrlOpener needs to use the same URLConnectionFactory as the one used by HftpFileSystem.

        Attachments

        1. HDFS-5893.000.patch
          8 kB
          Haohui Mai

          Activity

            People

            • Assignee:
              wheat9 Haohui Mai
              Reporter:
              yeshavora Yesha Vora
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: