Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Hive Web Services


Copy link to this message
-
RE: Hive Web Services

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 [[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2012 3:57 PM
To: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
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 [[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>]
Sent: Wednesday, July 18, 2012 3:40 PM
To: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB