PREHOOK: query: SHOW DATABASES PREHOOK: type: SHOWDATABASES POSTHOOK: query: SHOW DATABASES POSTHOOK: type: SHOWDATABASES default PREHOOK: query: -- Try to drop a database that does not exist DROP DATABASE does_not_exist PREHOOK: type: DROPDATABASE There is no database named does_not_exist FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask