When DROP TABLE a table, metadata of the table is generated to be able to import the dropped table again.
However, the exported metadata name is '<table name>.metadata'.
Since ImportSemanticAnalyzer allows only '_metadata' as metadata filename, user have to rename the metadata file to import the table.
Set the following setting to hive-site.xml:
Then run the following queries: