You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Tomasz Domański <do...@gmail.com> on 2010/05/25 17:27:27 UTC

HWI WAR file not found on hive 0.5.0

Hello,

I have problem running WHI. My hive version is 0.5.0 so i changed hive-hwi
in cofiguration to hive-hwi-0.5.0.war
but I still get information that hive can't find the file.


hive --service hwi
10/05/25 17:17:56 INFO hwi.HWIServer: HWI is starting up
10/05/25 17:17:57 FATAL hwi.HWIServer: HWI WAR file not found at
/usr/lib/hive/lib/hive-hwi-0.5.0.war

My config:

<property>
  <name>hive.hwi.war.file</name>
  <value>/usr/lib/hive/lib/hive-hwi-0.5.0.war</value>
  <description>This is the WAR file with the jsp content for Hive Web
Interface</description>
</property>

And ls returns:

>ls /usr/lib/hive/lib/hive-hwi*
/usr/lib/hive/lib/hive-hwi-0.5.0.jar  /usr/lib/hive/lib/hive-hwi-0.5.0.war

Does anyone else have problem like this?

--
Tom

Re: HWI WAR file not found on hive 0.5.0

Posted by Tomasz Domański <do...@gmail.com>.
On 25 May 2010 17:50, Edward Capriolo <ed...@gmail.com> wrote:

>
>
> 2010/5/25 Tomasz Domański <do...@gmail.com>
>
> Hello,
>>
>> I have problem running WHI. My hive version is 0.5.0 so i changed hive-hwi
>> in cofiguration to hive-hwi-0.5.0.war
>> but I still get information that hive can't find the file.
>>
>>
>> hive --service hwi
>> 10/05/25 17:17:56 INFO hwi.HWIServer: HWI is starting up
>> 10/05/25 17:17:57 FATAL hwi.HWIServer: HWI WAR file not found at
>> /usr/lib/hive/lib/hive-hwi-0.5.0.war
>>
>> My config:
>>
>> <property>
>>   <name>hive.hwi.war.file</name>
>>   <value>/usr/lib/hive/lib/hive-hwi-0.5.0.war</value>
>>   <description>This is the WAR file with the jsp content for Hive Web
>> Interface</description>
>> </property>
>>
>> And ls returns:
>>
>> >ls /usr/lib/hive/lib/hive-hwi*
>> /usr/lib/hive/lib/hive-hwi-0.5.0.jar  /usr/lib/hive/lib/hive-hwi-0.5.0.war
>>
>> Does anyone else have problem like this?
>>
>> --
>> Tom
>>
>
> Hello,
>
> Tom, this is fixed in hive trunk. The problem is that the error message is
> not actually printing the path it is looking in. In 5.0 the path is relative
> to hive home. Try something like this:
>
> <value>/lib/hive-hwi-0.5.0.war</value>
>
> Sorry for the confusion.
>
> Edward
>

Hi Edward,

thanx for help it is working now.


Tom

Re: HWI WAR file not found on hive 0.5.0

Posted by Edward Capriolo <ed...@gmail.com>.
2010/5/25 Tomasz Domański <do...@gmail.com>

> Hello,
>
> I have problem running WHI. My hive version is 0.5.0 so i changed hive-hwi
> in cofiguration to hive-hwi-0.5.0.war
> but I still get information that hive can't find the file.
>
>
> hive --service hwi
> 10/05/25 17:17:56 INFO hwi.HWIServer: HWI is starting up
> 10/05/25 17:17:57 FATAL hwi.HWIServer: HWI WAR file not found at
> /usr/lib/hive/lib/hive-hwi-0.5.0.war
>
> My config:
>
> <property>
>   <name>hive.hwi.war.file</name>
>   <value>/usr/lib/hive/lib/hive-hwi-0.5.0.war</value>
>   <description>This is the WAR file with the jsp content for Hive Web
> Interface</description>
> </property>
>
> And ls returns:
>
> >ls /usr/lib/hive/lib/hive-hwi*
> /usr/lib/hive/lib/hive-hwi-0.5.0.jar  /usr/lib/hive/lib/hive-hwi-0.5.0.war
>
> Does anyone else have problem like this?
>
> --
> Tom
>

Hello,

Tom, this is fixed in hive trunk. The problem is that the error message is
not actually printing the path it is looking in. In 5.0 the path is relative
to hive home. Try something like this:

<value>/lib/hive-hwi-0.5.0.war</value>

Sorry for the confusion.

Edward