Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-12006

Namespace deletion should clean up the hive tables before dropping the hive database.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.1.1
    • Fix Version/s: None
    • Component/s: Namespaces
    • Labels:
    • Rank:
      1|i004dz:

      Description

      Now, if some previous errors happen on hive when we delete the namespace and some hive tables are left, the next time the delete call will try to drop the database directly instead of dropping the tables first, which results in InvalidOperationException(message:Database <database_name> is not empty. One or more tables exist.).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhooshan Bhooshan Mogal
                Reporter:
                yaojie Yaojie Feng
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: