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

Add more methods to WebHdfsTestUtil to support tests outside of package

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None
    • Reviewed

    Description

      Before HDFS-14434, we can access a secure cluster by WebHDFS using user.name parameter and PseudoAuthenticationHandler without kerberos authentication, it's quite useful for some test situation.

      HDFS-14434 ignores user.name query parameter in secure WebHDFS when we using WebHdfsFileSystem, so the only way to use user.name parameter is to access by URL.

      This Jira try to add more methods to WebHdfsTestUtil to support UT out of package to test WebHDFS in customize way.

      More background and discuss, see HDFS-14609.

      Attachments

        1. HDFS-14784.001.patch
          3 kB
          Chen Zhang
        2. HDFS-14784.002.patch
          4 kB
          Chen Zhang

        Issue Links

          Activity

            People

              zhangchen Chen Zhang
              zhangchen Chen Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: