You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Massoud Mazar <Ma...@avg.com> on 2009/11/13 20:39:27 UTC

hive web interface problem

With help from this mailing list, I got hive working.
Today I tried to use the web interface, but noticed the hive.hwi.war.file in hive-default.xml points to ${HIVE_HOME}/lib/hive-hwi.war instead of ${HIVE_HOME}/lib/hive_hwi.war (notice the dash and underscore).
I thought I should let others know.

Even after fixing that, the web interface does not start, and claims it cannot find the hwi file, but I know the file is there:

hadoop@hmaster:/hadoop/hive$ ls ${HIVE_HOME}/lib/hive_hwi.war
/hadoop/hive/lib/hive_hwi.war
hadoop@hmaster:/hadoop/hive$ bin/hive --service hwi
09/11/13 14:31:29 INFO hwi.HWIServer: HWI is starting up
09/11/13 14:31:29 FATAL hwi.HWIServer: HWI WAR file not found at ${HIVE_HOME}/lib/hive_hwi.war
09/11/13 14:31:29 INFO mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
09/11/13 14:31:29 INFO mortbay.log: jetty-6.1.14
09/11/13 14:31:29 WARN mortbay.log: Web application not found ${HIVE_HOME}/lib/hive_hwi.war
09/11/13 14:31:29 WARN mortbay.log: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@e5b723{/hwi,${HIVE_HOME}/lib/hive_hwi.war}
java.io.FileNotFoundException: ${HIVE_HOME}/lib/hive_hwi.war
        at org.mortbay.jetty.webapp.WebAppContext.resolveWebApp(WebAppContext.java:959) 

Any Advise?

Thanks
Massoud

RE: hive web interface problem

Posted by Massoud Mazar <Ma...@avg.com>.
Thanks Edward. That was it. It is working.

-----Original Message-----
From: Edward Capriolo [mailto:edlinuxguru@gmail.com] 
Sent: Friday, November 13, 2009 2:46 PM
To: hive-user@hadoop.apache.org
Subject: Re: hive web interface problem

Massoud,

This is a bug resolved in trunk.

Environment variables ${HIVE_HOME} are not interpreted by hive conf.

If you had an older version you need the full path. Sorry about the confusion

Edward

On Fri, Nov 13, 2009 at 2:39 PM, Massoud Mazar <Ma...@avg.com> wrote:
> With help from this mailing list, I got hive working.
> Today I tried to use the web interface, but noticed the hive.hwi.war.file in hive-default.xml points to ${HIVE_HOME}/lib/hive-hwi.war instead of ${HIVE_HOME}/lib/hive_hwi.war (notice the dash and underscore).
> I thought I should let others know.
>
> Even after fixing that, the web interface does not start, and claims it cannot find the hwi file, but I know the file is there:
>
> hadoop@hmaster:/hadoop/hive$ ls ${HIVE_HOME}/lib/hive_hwi.war
> /hadoop/hive/lib/hive_hwi.war
> hadoop@hmaster:/hadoop/hive$ bin/hive --service hwi
> 09/11/13 14:31:29 INFO hwi.HWIServer: HWI is starting up
> 09/11/13 14:31:29 FATAL hwi.HWIServer: HWI WAR file not found at ${HIVE_HOME}/lib/hive_hwi.war
> 09/11/13 14:31:29 INFO mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
> 09/11/13 14:31:29 INFO mortbay.log: jetty-6.1.14
> 09/11/13 14:31:29 WARN mortbay.log: Web application not found ${HIVE_HOME}/lib/hive_hwi.war
> 09/11/13 14:31:29 WARN mortbay.log: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@e5b723{/hwi,${HIVE_HOME}/lib/hive_hwi.war}
> java.io.FileNotFoundException: ${HIVE_HOME}/lib/hive_hwi.war
>        at org.mortbay.jetty.webapp.WebAppContext.resolveWebApp(WebAppContext.java:959)
>
> Any Advise?
>
> Thanks
>
>

suggested hardware configuration for nodes

Posted by Massoud Mazar <Ma...@avg.com>.
Not knowing much about internal working of hadoop, I was thinking maybe it is better to have smaller storage per node to better distribute the load between more nodes. Is this a correct way of thinking?

-----Original Message-----
From: Edward Capriolo [mailto:edlinuxguru@gmail.com] 
Sent: Monday, November 16, 2009 11:50 AM
To: hive-user@hadoop.apache.org
Subject: Re: hive web interface problem

On Mon, Nov 16, 2009 at 11:07 AM, Massoud Mazar <Ma...@avg.com> wrote:
> This mailing list has been a great source of information for me.

Thanks we try :)

>
> Are there guidelines to select hardware configuration for hive nodes?
>

None in particular. Hive nodes are just regular DataNode/TaskTrackers.
For reference, the hive code only had to be installed on the node
launching the Job.

Re: hive web interface problem

Posted by Edward Capriolo <ed...@gmail.com>.
On Mon, Nov 16, 2009 at 11:07 AM, Massoud Mazar <Ma...@avg.com> wrote:
> This mailing list has been a great source of information for me.

Thanks we try :)

>
> Are there guidelines to select hardware configuration for hive nodes?
>

None in particular. Hive nodes are just regular DataNode/TaskTrackers.
For reference, the hive code only had to be installed on the node
launching the Job.

RE: hive web interface problem

Posted by Massoud Mazar <Ma...@avg.com>.
This mailing list has been a great source of information for me.

Are there guidelines to select hardware configuration for hive nodes?

Re: hive web interface problem

Posted by Edward Capriolo <ed...@gmail.com>.
Massoud,

This is a bug resolved in trunk.

Environment variables ${HIVE_HOME} are not interpreted by hive conf.

If you had an older version you need the full path. Sorry about the confusion

Edward

On Fri, Nov 13, 2009 at 2:39 PM, Massoud Mazar <Ma...@avg.com> wrote:
> With help from this mailing list, I got hive working.
> Today I tried to use the web interface, but noticed the hive.hwi.war.file in hive-default.xml points to ${HIVE_HOME}/lib/hive-hwi.war instead of ${HIVE_HOME}/lib/hive_hwi.war (notice the dash and underscore).
> I thought I should let others know.
>
> Even after fixing that, the web interface does not start, and claims it cannot find the hwi file, but I know the file is there:
>
> hadoop@hmaster:/hadoop/hive$ ls ${HIVE_HOME}/lib/hive_hwi.war
> /hadoop/hive/lib/hive_hwi.war
> hadoop@hmaster:/hadoop/hive$ bin/hive --service hwi
> 09/11/13 14:31:29 INFO hwi.HWIServer: HWI is starting up
> 09/11/13 14:31:29 FATAL hwi.HWIServer: HWI WAR file not found at ${HIVE_HOME}/lib/hive_hwi.war
> 09/11/13 14:31:29 INFO mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
> 09/11/13 14:31:29 INFO mortbay.log: jetty-6.1.14
> 09/11/13 14:31:29 WARN mortbay.log: Web application not found ${HIVE_HOME}/lib/hive_hwi.war
> 09/11/13 14:31:29 WARN mortbay.log: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@e5b723{/hwi,${HIVE_HOME}/lib/hive_hwi.war}
> java.io.FileNotFoundException: ${HIVE_HOME}/lib/hive_hwi.war
>        at org.mortbay.jetty.webapp.WebAppContext.resolveWebApp(WebAppContext.java:959)
>
> Any Advise?
>
> Thanks
>
>