Wei-Chiu Chuang created HADOOP-12948: ----------------------------------------
Summary: Maven profile startKdc is broken Key: HADOOP-12948 URL: https://issues.apache.org/jira/browse/HADOOP-12948 Project: Hadoop Common Issue Type: Bug Affects Versions: 3.0.0 Environment: Mac OS Reporter: Wei-Chiu Chuang {noformat} 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 {noformat} 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-8087, and must have -DstartKdc=true in order to run them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)