Any thoughts regarding this problem?? Mahesh
On Sat, Jun 20, 2015 at 10:55 AM, Mahesh Sankaran <sankarmahes...@gmail.com> wrote: > 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 >