Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10719

Hive metastore failure when alter table rename is attempted.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.2.0, 1.1.0
    • Fix Version/s: 1.2.1
    • Component/s: Metastore
    • Labels:
      None

      Description

      create database newDB location "/tmp/";
      describe database extended newDB;
      use newDB;
      create table tab (name string);
      alter table tab rename to newName;
      

      Fails:

      InvalidOperationException(message:Unable to access old location hdfs://localhost:8020/tmp/tab for table x.tab)
      

        Attachments

        1. HIVE-10719.3.patch
          3 kB
          Vikram Dixit K
        2. HIVE-10719.2.patch
          3 kB
          Vikram Dixit K
        3. HIVE-10719.1.patch
          3 kB
          Vikram Dixit K

          Activity

            People

            • Assignee:
              vikram.dixit Vikram Dixit K
              Reporter:
              vikram.dixit Vikram Dixit K
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: