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

          zhiyong zhang created issue -
          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.
          zhiyong zhang made changes -
          Field Original Value New Value
          Attachment HADOOP-5775.patch [ 12409335 ]
          zhiyong zhang made changes -
          Link This issue is part of HDFS-447 [ HDFS-447 ]
          Hide
          zhiyong zhang added a comment -

          solved in HDFS-447

          Show
          zhiyong zhang added a comment - solved in HDFS-447
          zhiyong zhang made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.21.0 [ 12313563 ]
          Resolution Fixed [ 1 ]
          Owen O'Malley made changes -
          Component/s contrib/hdfsproxy [ 12312547 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            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