Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A20BF267 for ; Thu, 4 Apr 2013 05:37:18 +0000 (UTC) Received: (qmail 59096 invoked by uid 500); 4 Apr 2013 05:37:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 59021 invoked by uid 500); 4 Apr 2013 05:37:17 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 58989 invoked by uid 500); 4 Apr 2013 05:37:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 58980 invoked by uid 99); 4 Apr 2013 05:37:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 05:37:16 +0000 Date: Thu, 4 Apr 2013 05:37:16 +0000 (UTC) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4289) HCatalog build fails when behind a firewall 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/HIVE-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621818#comment-13621818 ] Namit Jain commented on HIVE-4289: ---------------------------------- +1 > HCatalog build fails when behind a firewall > ------------------------------------------- > > Key: HIVE-4289 > URL: https://issues.apache.org/jira/browse/HIVE-4289 > Project: Hive > Issue Type: Bug > Components: Build Infrastructure, HCatalog > Affects Versions: 0.11.0 > Reporter: Samuel Yuan > Assignee: Samuel Yuan > Attachments: HIVE-4289.HIVE-4289.HIVE-4289.HIVE-4289.D9921.1.patch > > > A bug in Maven makes it impossible to set a proxy for a Maven Ant POM task (see https://jira.codehaus.org/browse/MANTTASKS-216). Building behind a firewall results in the following error: > [artifact:pom] Downloading: org/apache/apache/11/apache-11.pom from repository central at http://repo1.maven.org/maven2 > [artifact:pom] Transferring 14K from central > [artifact:pom] [WARNING] Unable to get resource 'org.apache:apache:pom:11' from repository central (http://repo1.maven.org/maven2): Error transferring file: No route to host > [artifact:pom] An error has occurred while processing the Maven artifact tasks. > [artifact:pom] Diagnosis: > [artifact:pom] > [artifact:pom] Unable to initialize POM pom.xml: Cannot find parent: org.apache:apache for project: org.apache.hcatalog:hcatalog:pom:0.11.0-SNAPSHOT for project org.apache.hcatalog:hcatalog:pom:0.11.0-SNAPSHOT > [artifact:pom] Unable to download the artifact from any repository > Despite the error message, Ant/Maven is actually able to retrieve the POM file by using the proxy set for Ant. However, it mysteriously fails when trying to retrieve the checksum, which causes the entire operation to fail. Regardless, a proxy should be set through Maven's settings.xml file. Since this is not possible, the only way to build HCat behind a firewall right now is to manually fetch the POM file and have Maven read it from the cache. > Ideally we would fix this in Maven, but given that this issue has been reported for a long time in a number of separate places I think it is more practical to modify the HCatalog build to specify the POM as a dependency, fetching it into the cache so that the artifact:pom task can succeed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira