Hadoop Common
  1. Hadoop Common
  2. HADOOP-5775

HdfsProxy Unit Test should not depend on HDFSPROXY_CONF_DIR environment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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
          zhiyong zhang added a comment -

          solved in HDFS-447

          Show
          zhiyong zhang added a comment - solved in HDFS-447
          Hide
          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
          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:
              zhiyong zhang
              Reporter:
              zhiyong zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Development