hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahesh Sankaran <sankarmahes...@gmail.com>
Subject hive-1.1.0 - alter table rename issue
Date Sat, 20 Jun 2015 05:25:58 GMT
Hi all,

I am using hive-1.1.0 and hadoop-2.6.0.

am trying to rename a existing table in hive but it shows following error.

hive> *altertable testrename rename to testrenamebkp ;*
*FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.DDLTask. Unable to alter table. Invalid
method name: 'alter_table_with_cascade'.*

*From this error i followed this jira,*
https://issues.apache.org/jira/browse/HIVE-10552

 to connect hive with beeline but stills it shows the same error.

 HADOOP_CONF_DIR=/opt/hadoop-2.6.0/etc/hadoop
YARN_CONF_DIR=/opt/hadoop-2.6.0/etc/hadoop  /opt/hive/bin/beeline -u
jdbc:hive2://hostname:10000 username password
org.apache.hive.jdbc.HiveDriver
Connected to: Apache Hive (version 1.1.0)
Driver: Hive JDBC (version 1.1.0)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version 1.1.0 by Apache Hive
0: jdbc:hive2://hostname:10000> *altertable testrename rename to
testrenamebkp ;*
*FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.DDLTask. Unable to alter table. Invalid
method name: 'alter_table_with_cascade'*

Thanks
Mahesh.S

Mime
View raw message