You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Brent Miller <br...@gmail.com> on 2010/02/20 00:10:43 UTC
Can't start HWI service in trunk
Hello, I'm trying to get the hive HWI service up and running. I'm on r911664
and when I try to start the HWI service I get:
hive@hadoop-master:~$ hive --service hwi
ls: cannot access /opt/hive/lib/hive-hwi-*.war: No such file or directory
10/02/19 14:57:42 INFO hwi.HWIServer: HWI is starting up
10/02/19 14:57:42 INFO mortbay.log: Logging to
org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
org.mortbay.log.Slf4jLog
10/02/19 14:57:42 INFO mortbay.log: jetty-6.1.14
10/02/19 14:57:43 INFO mortbay.log: Started SocketConnector@0.0.0.0:9999
Which just gives me a 404 when I try to navigate to the page.
Since there was no .war file in my $HIVE_HOME/lib/ folder, but there was one
in hive-src/build/hwi/hive-hwi-0.6.0.war, I just copied that file in and now
I just get:
10/02/19 15:02:31 INFO hwi.HWIServer: HWI is starting up
10/02/19 15:02:31 FATAL hwi.HWIServer: HWI WAR file not found at
/opt/hive/lib/hive-hwi-0.6.0.war
Even though:
$ stat /opt/hive/lib/hive-hwi-0.6.0.war
File: `/opt/hive/lib/hive-hwi-0.6.0.war'
Size: 16766 Blocks: 40 IO Block: 4096 regular file
Device: 801h/2049d Inode: 112 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1002/ hive) Gid: ( 1002/ hive)
Access: 2010-02-19 15:02:26.674738237 -0800
Modify: 2010-02-19 15:02:26.674738237 -0800
Change: 2010-02-19 15:02:26.674738237 -0800
I have my $ANT_HOME set to /usr/share/ant/lib which has all of the ant*.jar
files in it.
Any ideas?
Thanks,
Brent
Re: Can't start HWI service in trunk
Posted by Edward Capriolo <ed...@gmail.com>.
We worked this out offline. Thanks for pointing this out. We just
fixed this for 5 and trunk.
https://issues.apache.org/jira/browse/HIVE-1183
For reference the variable is relative to the $HIVE_HOME environment variable.
<!--
<property>
<name>hive.hwi.war.file</name>
<value>lib/hive-hwi-version.war</value>
<description>This sets the path to the HWI war file, relative to
${HIVE_HOME}. </description>
</property>
-->
On Fri, Feb 19, 2010 at 6:10 PM, Brent Miller <br...@gmail.com> wrote:
> Hello, I'm trying to get the hive HWI service up and running. I'm on r911664
> and when I try to start the HWI service I get:
> hive@hadoop-master:~$ hive --service hwi
> ls: cannot access /opt/hive/lib/hive-hwi-*.war: No such file or directory
> 10/02/19 14:57:42 INFO hwi.HWIServer: HWI is starting up
> 10/02/19 14:57:42 INFO mortbay.log: Logging to
> org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
> org.mortbay.log.Slf4jLog
> 10/02/19 14:57:42 INFO mortbay.log: jetty-6.1.14
> 10/02/19 14:57:43 INFO mortbay.log: Started SocketConnector@0.0.0.0:9999
> Which just gives me a 404 when I try to navigate to the page.
> Since there was no .war file in my $HIVE_HOME/lib/ folder, but there was one
> in hive-src/build/hwi/hive-hwi-0.6.0.war, I just copied that file in and now
> I just get:
> 10/02/19 15:02:31 INFO hwi.HWIServer: HWI is starting up
> 10/02/19 15:02:31 FATAL hwi.HWIServer: HWI WAR file not found at
> /opt/hive/lib/hive-hwi-0.6.0.war
> Even though:
> $ stat /opt/hive/lib/hive-hwi-0.6.0.war
> File: `/opt/hive/lib/hive-hwi-0.6.0.war'
> Size: 16766 Blocks: 40 IO Block: 4096 regular file
> Device: 801h/2049d Inode: 112 Links: 1
> Access: (0644/-rw-r--r--) Uid: ( 1002/ hive) Gid: ( 1002/ hive)
> Access: 2010-02-19 15:02:26.674738237 -0800
> Modify: 2010-02-19 15:02:26.674738237 -0800
> Change: 2010-02-19 15:02:26.674738237 -0800
> I have my $ANT_HOME set to /usr/share/ant/lib which has all of the ant*.jar
> files in it.
> Any ideas?
> Thanks,
> Brent