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

        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>
        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.
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development