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

Hive metastore failure when alter table rename is attempted.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.1.0, 1.2.0
    • 1.2.1
    • Metastore
    • 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.1.patch
          3 kB
          Vikram Dixit K
        2. HIVE-10719.2.patch
          3 kB
          Vikram Dixit K
        3. HIVE-10719.3.patch
          3 kB
          Vikram Dixit K

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: