Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28AB619238 for ; Fri, 25 Mar 2016 17:10:26 +0000 (UTC) Received: (qmail 22349 invoked by uid 500); 25 Mar 2016 17:10:25 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 22293 invoked by uid 500); 25 Mar 2016 17:10:25 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 22277 invoked by uid 99); 25 Mar 2016 17:10:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2016 17:10:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 845CC2C1F5D for ; Fri, 25 Mar 2016 17:10:25 +0000 (UTC) Date: Fri, 25 Mar 2016 17:10:25 +0000 (UTC) From: "Wei-Chiu Chuang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12948) Maven profile startKdc is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HADOOP-12948: ------------------------------------- Attachment: 0001-HADOOP-12948-Maven-profile-startKdc-is-broken.patch HADOOP-12948.004.patch Thanks for the suggestion, Allen. Let's see if Yetus is clever enough to apply this patch. > Maven profile startKdc is broken > -------------------------------- > > Key: HADOOP-12948 > URL: https://issues.apache.org/jira/browse/HADOOP-12948 > Project: Hadoop Common > Issue Type: Bug > Components: test > Affects Versions: 3.0.0 > Environment: Mac OS > Reporter: Wei-Chiu Chuang > Assignee: Wei-Chiu Chuang > Attachments: 0001-HADOOP-12948-Maven-profile-startKdc-is-broken.patch, HADOOP-12948.001.patch, HADOOP-12948.002.patch, HADOOP-12948.003.patch, HADOOP-12948.004.patch > > > {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 ...... @ 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-8078, and must have -DstartKdc=true in order to run them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)