Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12948

Remove the defunct startKdc profile from hadoop-common

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.3.0
    • test
    • None
    • Reviewed

    Description

      mvn install -Dtest=TestUGIWithSecurityOn -DstartKdc=true
      
      main:
           [exec] xargs: illegal option -- -
           [exec] usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]
           [exec]              [-L number] [-n number [-x]] [-P maxprocs] [-s size]
           [exec]              [utility [argument ...]]
           [exec] Result: 1
            [get] Getting: http://newverhost.com/pub//directory/apacheds/unstable/1.5/1.5.7/apacheds-1.5.7.tar.gz
            [get] To: /Users/weichiu/sandbox/hadoop/hadoop-common-project/hadoop-common/target/test-classes/kdc/downloads/apacheds-1.5.7.tar.gz
            [get] Error getting http://newverhost.com/pub//directory/apacheds/unstable/1.5/1.5.7/apacheds-1.5.7.tar.gz to /Users/weichiu/sandbox/hadoop/hadoop-common-project/hadoop-common/target/test-classes/kdc/downloads/apacheds-1.5.7.tar.gz
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8.448 s
      [INFO] Finished at: 2016-03-21T10:00:56-07:00
      [INFO] Final Memory: 31M/439M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (kdc) on project hadoop-common: An Ant BuildException has occured: java.net.UnknownHostException: newverhost.com
      [ERROR] around Ant part ...<get dest="/Users/weichiu/sandbox/hadoop/hadoop-common-project/hadoop-common/target/test-classes/kdc/downloads" skipexisting="true" verbose="true" src="http://newverhost.com/pub//directory/apacheds/unstable/1.5/1.5.7/apacheds-1.5.7.tar.gz"/>... @ 7:244 in /Users/weichiu/sandbox/hadoop/hadoop-common-project/hadoop-common/target/antrun/build-main.xml
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      

      I'm using Mac so part of the reason might be my operating system (even though the pom.xml stated it supported Mac), but the major problem is that it attempted to download apacheds from newverhost.com, which does not seem exist any more.

      These tests were implemented in HADOOP-8078, and must have -DstartKdc=true in order to run them.

      Attachments

        1. 0001-HADOOP-12948-Maven-profile-startKdc-is-broken.patch
          26 kB
          Wei-Chiu Chuang
        2. HADOOP-12948.004.patch
          26 kB
          Wei-Chiu Chuang
        3. HADOOP-12948.003.patch
          23 kB
          Wei-Chiu Chuang
        4. HADOOP-12948.002.patch
          24 kB
          Wei-Chiu Chuang
        5. HADOOP-12948.001.patch
          21 kB
          Wei-Chiu Chuang

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: