Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5775

HdfsProxy Unit Test should not depend on HDFSPROXY_CONF_DIR environment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None

      Description

      as war target read user-certs.xml and user-permissions.xml from $HDFSPROXY_CONF_DIR. If a user set this environment and have some files in it, it could potentially cause the unit test to fail if the conf files does not match what the unit test needs.

      1. HADOOP-5775.patch
        9 kB
        zhiyong zhang

        Issue Links

          Activity

          Hide
          zhiyong1 zhiyong zhang added a comment -

          solved in HDFS-447

          Show
          zhiyong1 zhiyong zhang added a comment - solved in HDFS-447
          Hide
          zhiyong1 zhiyong zhang added a comment -

          use a separate "testwar" ant target to load the conf files for testing purpose.
          war target remains the same.

          Show
          zhiyong1 zhiyong zhang added a comment - use a separate "testwar" ant target to load the conf files for testing purpose. war target remains the same.

            People

            • Assignee:
              zhiyong1 zhiyong zhang
              Reporter:
              zhiyong1 zhiyong zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Development