Hadoop Common
  1. Hadoop Common
  2. HADOOP-7400

HdfsProxyTests fails when the -Dtest.build.dir and -Dbuild.test is set

    Details

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

      Description

      HdfsProxyTests fails when the -Dtest.build.dir and -Dbuild.test is set a dir other than build dir

      test-junit:
      [copy] Copying 1 file to /home/y/var/builds/thread2/workspace/Cloud-Hadoop-0.20.1xx-Secondary/src/contrib/hdfsproxy/src/test/resources/proxy-config
      [junit] Running org.apache.hadoop.hdfsproxy.TestHdfsProxy
      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
      [junit] Test org.apache.hadoop.hdfsproxy.TestHdfsProxy FAILED

      1. HADOOP-7400.patch
        0.6 kB
        Giridharan Kesavan
      2. HADOOP-7400.patch
        0.6 kB
        Giridharan Kesavan

        Activity

        Giridharan Kesavan created issue -
        Giridharan Kesavan made changes -
        Field Original Value New Value
        Attachment HADOOP-7400.patch [ 12482857 ]
        Giridharan Kesavan made changes -
        Attachment HADOOP-7400.patch [ 12482859 ]
        Hide
        Kihwal Lee added a comment -

        Thanks, Giri. With this patch, the test is launched correctly. Although TestHdfsProxy is a bit flaky in trunk, this patch should still apply.

        +1 on commit to 0.20-security.

        For trunk the patch needs to be a bit different due to the tree structure change.

        Show
        Kihwal Lee added a comment - Thanks, Giri. With this patch, the test is launched correctly. Although TestHdfsProxy is a bit flaky in trunk, this patch should still apply. +1 on commit to 0.20-security. For trunk the patch needs to be a bit different due to the tree structure change.
        Hide
        Kihwal Lee added a comment -

        Hmm. It seems the entire TestHdfsProxy is disabled in trunk. I thought just one thing was disabled in the test. We can still do the same on trunk since the code is still there and may be brought back to life in the future.

        Show
        Kihwal Lee added a comment - Hmm. It seems the entire TestHdfsProxy is disabled in trunk. I thought just one thing was disabled in the test. We can still do the same on trunk since the code is still there and may be brought back to life in the future.
        Hide
        Kihwal Lee added a comment -

        FYI, the following was done to trunk in HDFS-1666. If anyone intend to verify hdfsproxy in trunk or any release based off trunk, HDFS-1666 needs to be revisited.

           <target name="test">
        +    <!-- hdfsproxy tests failing due to HDFS-1666
             <subant target="test">
               <fileset dir="." includes="hdfsproxy/build.xml"/>
             </subant>
        +      -->
           </target>
        
        Show
        Kihwal Lee added a comment - FYI, the following was done to trunk in HDFS-1666 . If anyone intend to verify hdfsproxy in trunk or any release based off trunk, HDFS-1666 needs to be revisited. <target name= "test" > + <!-- hdfsproxy tests failing due to HDFS-1666 <subant target= "test" > <fileset dir= "." includes= "hdfsproxy/build.xml" /> </subant> + --> </target>
        Giridharan Kesavan made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.20.206.0 [ 12316501 ]
        Resolution Fixed [ 1 ]
        Hide
        Matt Foley added a comment -

        Corrected version - this jira was actually fixed in 0.20.205.0.

        Show
        Matt Foley added a comment - Corrected version - this jira was actually fixed in 0.20.205.0.
        Matt Foley made changes -
        Fix Version/s 0.20.205.0 [ 12316390 ]
        Fix Version/s 0.20.206.0 [ 12316501 ]
        Affects Version/s 0.20.205.0 [ 12316390 ]
        Affects Version/s 0.20.206.0 [ 12316501 ]
        Hide
        Matt Foley added a comment -

        Closed upon release of 0.20.205.0

        Show
        Matt Foley added a comment - Closed upon release of 0.20.205.0
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3h 2m 1 Giridharan Kesavan 17/Jun/11 00:39
        Resolved Resolved Closed Closed
        124d 46m 1 Matt Foley 19/Oct/11 01:26

          People

          • Assignee:
            Giridharan Kesavan
            Reporter:
            Giridharan Kesavan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development