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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          51d 23h 40m 1 zhiyong zhang 27/Jun/09 00:06
          Resolved Resolved Closed Closed
          423d 21h 31m 1 Tom White 24/Aug/10 21:37
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Owen O'Malley made changes -
          Component/s contrib/hdfsproxy [ 12312547 ]
          zhiyong zhang made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.21.0 [ 12313563 ]
          Resolution Fixed [ 1 ]
          Hide
          zhiyong zhang added a comment -

          solved in HDFS-447

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

            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