1)创建DB并使用。
hive> create database testdb;
hive> use testdb;2)设置hive.cli.print.current.db=true,显示正在使用哪个DB。
hive> set hive.cli.print.current.db=true;
hive (testdb)>3)丢弃DB。
hive (testdb)> drop database testdb;4)设置hive.cli.print.current.db=false,然后设置回true。
hive (testdb)> set hive.cli.print.current.db=false;
hive> set hive.cli.print.current.db=true;5) Hive CLI仍然指示已删除的DB正在使用中。
hive (testdb)>发布于 2016-11-26 15:09:18
如果您使用DEV环境,
https://stackoverflow.com/questions/40805051
复制相似问题