You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by yo...@wipro.com on 2012/07/18 12:06:29 UTC

Hive Web Services

Hi all,

I have installed hadoop and hive and its working well through terminal,
I have also started HWI (http://localhost:9999/hwi)

Now I want to run queries like displaying Hive's table data, is it possible to do it from Hive Web services. If so then how?

Please suggest

Regards
Yogesh Dhari



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 company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

RE: Hive Web Services

Posted by yo...@wipro.com.
I can access the databases list and the tables via browse Scheme of HWI.
and can see the Field Schema of the tables.

but when I go to List Sessions --->  Yogesh (Session I created)  ---> write HQL ( say  Describe tables; ) in Query box, set the ---> Result File  /dev/null.
And then I submit the query then it shows message "Changes accepted"

If I click on View File of result file it open new page of /dev/null  with blank text box ( no records)  and if I go to next Block its again still the same.



Although If I run commands over Terminal it work well.

Please suggest.


Regards
Yogesh Kumar



________________________________
From: Jasper Knulst [jasper.knulst@incentro.com]
Sent: Wednesday, July 18, 2012 3:57 PM
To: user@hive.apache.org
Subject: Re: Hive Web Services

Hi Yogesh,

If you have correctly set-up your metastore (in MySQL or the Derby default) it should work.

try HQL statements in the HWI like:

show tables;
describe <table_name>;
describe extended <table_name>;


Jasper

2012/7/18 <yo...@wipro.com>>
Hi Jasper,

I have just changed the path from /HADOOP/hive/lib/hive-hwi-0.8.1.war to /lib/hive-hwi-0.8.1.war and it just worked :-)

*******************************************************************************************************
<property>
        <name>hive.hwi.war.file</name>
        <value>/HADOOP/hive/lib/hive-hwi-0.8.1.war</value> /*  (Here is the hive directory) */

to


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

*******************************************************************************************************


Now I want to run queries like displaying Hive's table data, is it possible to do it from Hive Web services. If so then how?

Please suggest

Regards
Yogesh Kumar Dhari
________________________________
From: Jasper Knulst [jasper.knulst@incentro.com<ma...@incentro.com>]
Sent: Wednesday, July 18, 2012 3:40 PM
To: user@hive.apache.org<ma...@hive.apache.org>
Subject: Re: Hive Web Services

Hi Yogesh,

Can you tell us what you eventually had to do to get the HWI running ? (seen your earlier mail topic where you had some trouble to get it going)

Was it the relative path?

Thanks

Jasper

2012/7/18 <yo...@wipro.com>>
Hi all,

I have installed hadoop and hive and its working well through terminal,
I have also started HWI (http://localhost:9999/hwi)

Now I want to run queries like displaying Hive's table data, is it possible to do it from Hive Web services. If so then how?

Please suggest

Regards
Yogesh Dhari



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 company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com<http://www.wipro.com>



--



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 company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com<http://www.wipro.com>



--


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 company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

Re: Hive Web Services

Posted by Jasper Knulst <ja...@incentro.com>.
Hi Yogesh,

If you have correctly set-up your metastore (in MySQL or the Derby default)
it should work.

try HQL statements in the HWI like:

show tables;
describe <table_name>;
describe extended <table_name>;


Jasper

2012/7/18 <yo...@wipro.com>

>  Hi Jasper,
>
> I have just changed the path from /HADOOP/hive/lib/hive-hwi-0.8.1.war to
> /lib/hive-hwi-0.8.1.war and it just worked :-)
>
>
> *******************************************************************************************************
> <property>
>         <name>hive.hwi.war.file</name>
>         <value>/HADOOP/hive/lib/hive-hwi-0.8.1.war</value>* /*  (Here is
> the hive directory) */
>
> *to *
>
>
> *           <value>/lib/hive-hwi-0.8.1.war</value>
>         <description>This is the WAR file with the jsp content for Hive
> Web Interface</description>
>     </property>
>
>
> *******************************************************************************************************
>
>
> Now I want to run queries like displaying Hive's table data, is it
> possible to do it from Hive Web services. If so then how?
>
> Please suggest
>
> Regards
> Yogesh Kumar Dhari
>  ------------------------------
> *From:* Jasper Knulst [jasper.knulst@incentro.com]
> *Sent:* Wednesday, July 18, 2012 3:40 PM
> *To:* user@hive.apache.org
> *Subject:* Re: Hive Web Services
>
>  Hi Yogesh,
>
> Can you tell us what you eventually had to do to get the HWI running ?
> (seen your earlier mail topic where you had some trouble to get it going)
>
> Was it the relative path?
>
> Thanks
>
> Jasper
>
> 2012/7/18 <yo...@wipro.com>
>
>>  Hi all,
>>
>> I have installed hadoop and hive and its working well through terminal,
>> I have also started HWI (http://localhost:9999/hwi)
>>
>> Now I want to run queries like displaying Hive's table data, is it
>> possible to do it from Hive Web services. If so then how?
>>
>> Please suggest
>>
>> Regards
>> Yogesh Dhari
>>
>>
>>  *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 company accepts no liability for any damage caused by any virus
>> transmitted by this email.
>>
>> www.wipro.com
>>
>
>
>
> --
>
>
>   * 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 company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>



--

RE: Hive Web Services

Posted by yo...@wipro.com.
Hi Jasper,

I have just changed the path from /HADOOP/hive/lib/hive-hwi-0.8.1.war to /lib/hive-hwi-0.8.1.war and it just worked :-)

*******************************************************************************************************
<property>
        <name>hive.hwi.war.file</name>
        <value>/HADOOP/hive/lib/hive-hwi-0.8.1.war</value> /*  (Here is the hive directory) */

to


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

*******************************************************************************************************

Now I want to run queries like displaying Hive's table data, is it possible to do it from Hive Web services. If so then how?

Please suggest

Regards
Yogesh Kumar Dhari
________________________________
From: Jasper Knulst [jasper.knulst@incentro.com]
Sent: Wednesday, July 18, 2012 3:40 PM
To: user@hive.apache.org
Subject: Re: Hive Web Services

Hi Yogesh,

Can you tell us what you eventually had to do to get the HWI running ? (seen your earlier mail topic where you had some trouble to get it going)

Was it the relative path?

Thanks

Jasper

2012/7/18 <yo...@wipro.com>>
Hi all,

I have installed hadoop and hive and its working well through terminal,
I have also started HWI (http://localhost:9999/hwi)

Now I want to run queries like displaying Hive's table data, is it possible to do it from Hive Web services. If so then how?

Please suggest

Regards
Yogesh Dhari



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 company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com<http://www.wipro.com>



--



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 company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

Re: Hive Web Services

Posted by Jasper Knulst <ja...@incentro.com>.
Hi Yogesh,

Can you tell us what you eventually had to do to get the HWI running ?
(seen your earlier mail topic where you had some trouble to get it going)

Was it the relative path?

Thanks

Jasper

2012/7/18 <yo...@wipro.com>

>  Hi all,
>
> I have installed hadoop and hive and its working well through terminal,
> I have also started HWI (http://localhost:9999/hwi)
>
> Now I want to run queries like displaying Hive's table data, is it
> possible to do it from Hive Web services. If so then how?
>
> Please suggest
>
> Regards
> Yogesh Dhari
>
>
>  * 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 company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>



--