Return-Path: Delivered-To: apmail-hadoop-hive-user-archive@minotaur.apache.org Received: (qmail 7051 invoked from network); 7 Apr 2010 18:54:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Apr 2010 18:54:49 -0000 Received: (qmail 95695 invoked by uid 500); 7 Apr 2010 18:54:49 -0000 Delivered-To: apmail-hadoop-hive-user-archive@hadoop.apache.org Received: (qmail 95657 invoked by uid 500); 7 Apr 2010 18:54:48 -0000 Mailing-List: contact hive-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-user@hadoop.apache.org Delivered-To: mailing list hive-user@hadoop.apache.org Received: (qmail 95649 invoked by uid 99); 7 Apr 2010 18:54:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 18:54:48 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dilip.antony.joseph@gmail.com designates 209.85.222.189 as permitted sender) Received: from [209.85.222.189] (HELO mail-pz0-f189.google.com) (209.85.222.189) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 18:54:42 +0000 Received: by pzk27 with SMTP id 27so1262426pzk.2 for ; Wed, 07 Apr 2010 11:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=MqU0WHUQoYOql0MgAu9ekZfTp9P9V80cFxhXzsubNCM=; b=BFzeC/ssFo39Rp2cOUI2zOHg27XTOzElxpoZ/4KHvU9uDelEHCTjEcXIy1tH/gSMLE uaf28+ieZLug/FeSUUFuEpLde1O1oMLKl3s2eqw18cOwNZaeTv1FlV4BCQAkYkuxAdtq fwG/E57z6LkjupA5Ku9GBqsufjYneHxI4lSY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rnDPphv+GntBZQGT0PaOJg6iMOzmqFkB5C73us4FuHPktm/Bl6MbjCB9YcnEmVrd3M owt0IYUpc5Qij8g8YpD+0k+NuEGdy5LI0hB2Hl0kb/KgYABa86DLHAIajU852Ih0jkSH 23tEMVXst+nOhgddXdD35sy0ZUixyfEwLw1aI= MIME-Version: 1.0 Received: by 10.140.204.1 with HTTP; Wed, 7 Apr 2010 11:54:22 -0700 (PDT) Date: Wed, 7 Apr 2010 11:54:22 -0700 Received: by 10.141.125.3 with SMTP id c3mr1444347rvn.234.1270666462720; Wed, 07 Apr 2010 11:54:22 -0700 (PDT) Message-ID: Subject: HIVE_AUX_JARS_PATH interfering with startup of Hive Web Interface From: Dilip Joseph To: hive-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 The Hive Webserver fails to startup with the following error message, if HIVE_AUX_JARS_PATH environment variable is set (works fine if unset). Is this a bug? $ build/dist/bin/hive --service hwi Exception in thread "main" java.io.IOException: Error opening job jar: -libjars at org.apache.hadoop.util.RunJar.main(RunJar.java:90) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:114) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:70) at org.apache.hadoop.util.RunJar.main(RunJar.java:88) Slightly modifying the command line to launch hadoop in hwi.sh solves the problem: $ diff bin/ext/hwi.sh /tmp/new-hwi.sh 28c28 < exec $HADOOP jar $AUX_JARS_CMD_LINE ${HWI_JAR_FILE} $CLASS $HIVE_OPTS "$@" --- > exec $HADOOP jar ${HWI_JAR_FILE} $CLASS $AUX_JARS_CMD_LINE $HIVE_OPTS "$@" Dilip