Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC259D7EB for ; Wed, 18 Jul 2012 06:16:59 +0000 (UTC) Received: (qmail 91905 invoked by uid 500); 18 Jul 2012 06:16:58 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 91852 invoked by uid 500); 18 Jul 2012 06:16:57 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 91813 invoked by uid 99); 18 Jul 2012 06:16:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2012 06:16:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [203.91.198.75] (HELO wipro-blr-out02.wipro.com) (203.91.198.75) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2012 06:16:48 +0000 X-AuditID: cb5bdd58-b7b82ae0000019f2-3e-500654ba243f Received: from BLR-OUT-EDG03.wipro.com ( [203.91.193.33]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client did not present a certificate) by wipro-blr-out02.wipro.com (Symantec Mail Security) with SMTP id 65.43.06642.AB456005; Wed, 18 Jul 2012 11:46:26 +0530 (IST) Received: from BLR-EC-MBX8.wipro.com (10.208.51.118) by BLR-OUT-EDG03.wipro.com (203.91.193.33) with Microsoft SMTP Server (TLS) id 14.1.289.1; Wed, 18 Jul 2012 11:47:25 +0530 Received: from BLR-EC-MBX7.wipro.com ([169.254.7.121]) by BLR-EC-MBX8.wipro.com ([169.254.8.54]) with mapi id 14.01.0289.001; Wed, 18 Jul 2012 11:46:25 +0530 From: To: Subject: RE: not able to access Hive web Interface Thread-Topic: not able to access Hive web Interface Thread-Index: AQHNZCGIY4sxgVK09UWbnRAUt0AS4ZcukD/R Importance: high X-Priority: 1 Date: Wed, 18 Jul 2012 06:16:24 +0000 Message-ID: <2ADA1B0170E3434DA763D609DCD01EB541DC1FF6@BLR-EC-MBX7.wipro.com> References: <2ADA1B0170E3434DA763D609DCD01EB541DC1E49@BLR-EC-MBX7.wipro.com>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.203.33.76] Content-Type: multipart/alternative; boundary="_000_2ADA1B0170E3434DA763D609DCD01EB541DC1FF6BLRECMBX7wiproc_" MIME-Version: 1.0 X-Brightmail-Tracker: AAAAAQAAAZE= --_000_2ADA1B0170E3434DA763D609DCD01EB541DC1FF6BLRECMBX7wiproc_ Content-Type: text/plain; charset="iso-8859-1" content-transfer-encoding: quoted-printable Thanks Kulkarni, I uploaded the hole hive directory and created path like. Hadoop dfs -mkdir /HADOOP/ Hadoop dfs -put /HADOOP/hive /HADOOP/ and also tried hive> SET fs.default.name=3D'/HADOOP/hive/lib/' but still the same. FATAL hwi.HWIServer: HWI WAR file not found at /HADOOP/hive/lib/hive-hwi-0.8= .1.war Please suggest, Regards Yogesh Kumar ________________________________ From: kulkarni.swarnim@gmail.com [kulkarni.swarnim@gmail.com] Sent: Tuesday, July 17, 2012 6:54 PM To: user@hive.apache.org Subject: Re: not able to access Hive web Interface The problem is that it is probably looking for these files in HDFS instead o= f your local file system. As a workaround, try creating that path on HDFS an= d uploading these files there and see if it works. Also, try setting the fs.= default.name property in conf-site.xml to point to y= our local filesystem instead of HDFS (file://.....). PS: You can also directly do this from the hive command line itself. hive> SET fs.default.name=3D'file://`pwd` But this would be temporary and limited to your current session. Hope that helps. On Tue, Jul 17, 2012 at 7:36 AM, > wrote: Hi all :-), Iam trying to access Hive Web Interface but it fails. I have this changes in hive-site.xml ****************************************************************************= ******************** hive.hwi.listen.host 0.0.0.0 This is the host address the Hive Web Interface will li= sten on hive.hwi.listen.port 9999 This is the port the Hive Web Interface will listen on<= /description> hive.hwi.war.file /HADOOP/hive/lib/hive-hwi-0.8.1.war /* (Here is the= hive directory) */ This is the WAR file with the jsp content for Hive Web= Interface ***************************************************************************= ******************** And also export the ANT lib like. export ANT_LIB=3D/Yogesh/ant-1.8.4/lib export PATH=3D$PATH:$ANT_LIB now when i do run command hive --service hwi it results 12/07/17 18:03:02 INFO hwi.HWIServer: HWI is starting up 12/07/17 18:03:02 WARN conf.HiveConf: DEPRECATED: Ignoring hive-default.xml= found on the CLASSPATH at /HADOOP/hive/conf/hive-default.xml 12/07/17 18:03:02 FATAL hwi.HWIServer: HWI WAR file not found at /HADOOP/hiv= e/lib/hive-hwi-0.8.1.war and if I go for hive --service hwi --help it results Usage ANT_LIB=3DXXXX hive --service hwi Althought if I go to /HADOOP/hive/lib directory I found 1) hive-hwi-0.8.1.war 2) hive-hwi-0.8.1.jar these files are present there. what is Iam doing wrong :-( ? Please help and Suggest Greetings Yogesh Kumar Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and may= contain proprietary, confidential or privileged information. If you are not= the intended recipient, you should not disseminate, distribute or copy this= e-mail. Please notify the sender immediately and destroy all copies of this= message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should= check this email and any attachments for the presence of viruses. The compa= ny accepts no liability for any damage caused by any virus transmitted by th= is email. www.wipro.com -- Swarnim Please do not print this email unless it is absolutely necessary. =0A= =0A= The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and may= contain proprietary, confidential or privileged information. If you are not= the intended recipient, you should not disseminate, distribute or copy this= e-mail. Please notify the sender immediately and destroy all copies of this= message and any attachments. =0A= =0A= WARNING: Computer viruses can be transmitted via email. The recipient should= check this email and any attachments for the presence of viruses. The compa= ny accepts no liability for any damage caused by any virus transmitted by th= is email. =0A= =0A= www.wipro.com --_000_2ADA1B0170E3434DA763D609DCD01EB541DC1FF6BLRECMBX7wiproc_ Content-Type: text/html; charset="iso-8859-1" content-transfer-encoding: quoted-printable
Thanks Kulkarni,

I uploaded the hole hive directory and created path like.

Hadoop dfs -mkdir /HADOOP/
Hadoop dfs -put /HADOOP/hive /HADOOP/

and also tried

hive> SET fs.default.name=3D'/HADOOP/h= ive/lib/'

but still the same.

FATAL hwi.HWIServer: HWI WAR file not fou= nd at /HADOOP/hive/lib/hive-hwi-0.8.1.war


Please suggest,

Regards
Yogesh Kumar



From: kulkarni.swarnim@gmail.com [kulkarni.s= warnim@gmail.com]
Sent: Tuesday, July 17, 2012 6:54 PM
To: user@hive.apache.org
Subject: Re: not able to access Hive web Interface

The problem is that it is probably looking for these files in HDFS inst= ead of your local file system. As a workaround, try creating that path on HD= FS and uploading these files there and see if it works. Also, try setting th= e fs.default.name pro= perty in conf-site.xml to point to your local filesystem instead of HDFS (fi= le://.....).

PS: You can also directly do this from the hive command line itself.

hive> SET fs.de= fault.name=3D'file://`pwd`

But this would be temporary and limited to your current session.

Hope that helps.

On Tue, Jul 17, 2012 at 7:36 AM, <yogesh.k= umar13@wipro.com> wrote:
Hi all= :-),

Iam trying to access Hive Web Interface but it fails.

I have this changes in hive-site.xml

****************************************************************************= ********************
<configuration>
    <property>
        <name>hive.hwi.listen.host&= lt;/name>
        <value>0.0.0.0</value>= ;
        <description>This is the ho= st address the Hive Web Interface will listen on</description>
    </property>
   
    <property>
        <name>hive.hwi.listen.port&= lt;/name>
        <value>9999</value>         <description>This is the po= rt the Hive Web Interface will listen on</description>
    </property>
   
    <property>
        <name>hive.hwi.war.file<= /name>
        <value>/HADOOP/hive/lib/hiv= e-hwi-0.8.1.war</value> /*  (H= ere is the hive directory) */
        <description>This is the WA= R file with the jsp content for Hive Web Interface</description>
    </property>   
  
</configuration>

 **********************************************************************= *************************
 
And also export the ANT lib like.

export ANT_LIB=3D/Yogesh/ant-1.8.4/lib
export PATH=3D$PATH:$ANT_LIB


now when i do run command

hive --service hwi  it result= s

12/07/17 18:03:02 INFO hwi.HWIServer: HWI= is starting up
12/07/17 18:03:02 WARN conf.HiveConf: DEP= RECATED: Ignoring hive-default.xml found on the CLASSPATH at /HADOOP/hive/co= nf/hive-default.xml
12/07/17 18:03:02 FATAL hwi.HWIServer: HW= I WAR file not found at /HADOOP/hive/lib/hive-hwi-0.8.1.war


and if I go for

hive --service hwi --help it results

Usage ANT_LIB=3DXXXX hive --service hwi


Althought if I go to /HADOOP/hive/lib directory I found

1) hive-hwi-0.8.1.war
2) hive-hwi-0.8.1.jar

these files are present there.

what is Iam doing wrong :-( ?

Please help and Suggest

Greetings
Yogesh Kumar


Please do not print this email u= nless it is absolutely necessary.

The information contained in this electronic message and any attachments= to this message are intended for the exclusive use of the addressee(s) and= may contain proprietary, confidential or privileged information. If you are= not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the s= ender immediately and destroy all copies of this message and any attachments= .

WARNING: Computer viruses can be transmitted via email. The recipient sho= uld check this email and any attachments for the presence of viruses. The co= mpany accepts no liability for any damage caused by any virus transmitted by= this email.

www.wipro.com




--
Swarnim

Please do not print this email unl= ess it is absolutely necessary.

=0A= =0A= =0A=

The information contained in this electronic message and any attachments= to this message are intended for the exclusive use of the addressee(s) and= may contain proprietary, confidential or privileged information. If you are= not the intended recipient, you should not disseminate, distribute or copy= this e-mail. Please notify the sender immediately and destroy all copies of= this message and any attachments.

=0A= =0A=

WARNING: Computer viruses can be transmitted via email. The recipient sho= uld check this email and any attachments for the presence of viruses. The co= mpany accepts no liability for any damage caused by any virus transmitted by= this email.

=0A=

=0A= www.wipro.com=0A=

--_000_2ADA1B0170E3434DA763D609DCD01EB541DC1FF6BLRECMBX7wiproc_--