hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Subramanian <Sanjay.Subraman...@wizecommerce.com>
Subject Re: In Beeline what is the syntax for ALTER TABLE ?
Date Tue, 22 Oct 2013 03:27:45 GMT
Then something s broken in this version

Thanks
Regards

sanjay

From: Thejas Nair <thejas@hortonworks.com<mailto:thejas@hortonworks.com>>
Reply-To: "user@hive.apache.org<mailto:user@hive.apache.org>" <user@hive.apache.org<mailto:user@hive.apache.org>>
Date: Monday, October 21, 2013 5:59 PM
To: "<user@hive.apache.org<mailto:user@hive.apache.org>>" <user@hive.apache.org<mailto:user@hive.apache.org>>
Subject: Re: In Beeline what is the syntax for ALTER TABLE ?

beeline does not have any query syntax of its own, it just sends the query to hive server2,
which uses same code as hive-cli to run the query. ie query syntax is same as hive cli




On Mon, Oct 21, 2013 at 11:41 AM, Sanjay Subramanian <Sanjay.Subramanian@wizecommerce.com<mailto:Sanjay.Subramanian@wizecommerce.com>>
wrote:
Hi guys

Using
Hive    0.10.0+198      CDH4

Getting this error for ALTER table command

jdbc:hive2://dev-thdp5.corp.nextag.com:100<http://dev-thdp5.corp.nextag.com:100>>
ALTER TABLE outpdir_seller_hidden ADD IF NOT EXISTS PARTITION (header_date_partition='2013-10-17',
header_servername_partition='lu3') LOCATION '/data/output/impressions/outpdir/2013-10-17/0000008-131018121904385-oozie-oozi-W/outpdir_seller_hidden/sellerhidden/2013-10-17/lu3';
Error: Error while processing statement: FAILED: IllegalArgumentException URI '' in invalid.
Must start with file:// or hdfs:// (state=42000,code=40000)

Thanks
Regards

sanjay



CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient, please contact the sender
by reply email and destroy all copies of the original message along with any attachments,
from your computer system. If you are the intended recipient, please be advised that the content
of this message is subject to access, review and disclosure by the sender's Email System Administrator.


CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to which it is addressed
and may contain information that is confidential, privileged and exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient, you are hereby
notified that any printing, copying, dissemination, distribution, disclosure or forwarding
of this communication is strictly prohibited. If you have received this communication in error,
please contact the sender immediately and delete it from your system. Thank You.

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient, please contact the sender
by reply email and destroy all copies of the original message along with any attachments,
from your computer system. If you are the intended recipient, please be advised that the content
of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Mime
View raw message