You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/03/23 18:53:44 UTC

[jira] [Updated] (HIVE-5858) Alter table fails with exception when fs.hdfs.impl.disable.cache is set false

     [ https://issues.apache.org/jira/browse/HIVE-5858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan updated HIVE-5858:
-----------------------------------

    Fix Version/s: 0.13.0

> Alter table fails with exception when fs.hdfs.impl.disable.cache is set false
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-5858
>                 URL: https://issues.apache.org/jira/browse/HIVE-5858
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5858.1.patch.txt
>
>
> http://www.mail-archive.com/user@hive.apache.org/msg10098.html
> {noformat}
> 2013-11-20 10:07:05,759 ERROR metastore.RetryingHMSHandler (RetryingHMSHandler.java:invoke(141)) - InvalidOperationException(message:table new location hdfs://localhost:9000/user/hive/warehouse/xa is on a different file system than the old location hdfs://localhost:9000/user/hive/warehouse/zz. This operation is not supported)
>         at org.apache.hadoop.hive.metastore.HiveAlterHandler.alterTable(HiveAlterHandler.java:146)
>         at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_with_environment_context(HiveMetaStore.java:2352)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:103)
>         at com.sun.proxy.$Proxy9.alter_table_with_environment_context(Unknown Source)
>         at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.alter_table(HiveMetaStoreClient.java:216)
>         at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.alter_table(HiveMetaStoreClient.java:211)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:74)
>         at com.sun.proxy.$Proxy10.alter_table(Unknown Source)
>         at org.apache.hadoop.hive.ql.metadata.Hive.alterTable(Hive.java:385)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.alterTable(DDLTask.java:3432)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:306)
>         at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:149)
>         at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:87)
>         at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1485)
>         at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1256)
>         at org.apache.hadoop.hive.ql.Driver.executePlan(Driver.java:1054)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:969)
>         at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:259)
>         at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:216)
>         at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:413)
>         at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:764)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)