PREHOOK: query: CREATE DATABASE hbaseDB PREHOOK: type: CREATEDATABASE POSTHOOK: query: CREATE DATABASE hbaseDB POSTHOOK: type: CREATEDATABASE PREHOOK: query: -- INCLUDE_HADOOP_MAJOR_VERSIONS(0.20, 1.0) -- Hadoop 0.23 changes the behavior FsShell on Exit Codes -- In Hadoop 0.20 -- Exit Code == 0 on success -- Exit code < 0 on any failure -- In Hadoop 0.23 -- Exit Code == 0 on success -- Exit Code < 0 on syntax/usage error -- Exit Code > 0 operation failed CREATE TABLE hbaseDB.hbase_table_0(key int, value string) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf:string") TBLPROPERTIES ("hbase.table.name" = "hbase_table_0") PREHOOK: type: CREATETABLE POSTHOOK: query: -- INCLUDE_HADOOP_MAJOR_VERSIONS(0.20, 1.0) -- Hadoop 0.23 changes the behavior FsShell on Exit Codes -- In Hadoop 0.20 -- Exit Code == 0 on success -- Exit code < 0 on any failure -- In Hadoop 0.23 -- Exit Code == 0 on success -- Exit Code < 0 on syntax/usage error -- Exit Code > 0 operation failed CREATE TABLE hbaseDB.hbase_table_0(key int, value string) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf:string") TBLPROPERTIES ("hbase.table.name" = "hbase_table_0") POSTHOOK: type: CREATETABLE POSTHOOK: Output: hbaseDB@hbase_table_0 Found 3 items #### A masked pattern was here #### PREHOOK: query: DROP DATABASE IF EXISTS hbaseDB CASCADE PREHOOK: type: DROPDATABASE POSTHOOK: query: DROP DATABASE IF EXISTS hbaseDB CASCADE POSTHOOK: type: DROPDATABASE Command failed with exit code = -1 Query returned non-zero code: -1, cause: null