Does anyone have the list of hive error codes?
For example, if we get a table not found error in hive, the value of "echo $?" will be 17.
If you look at https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java you'll see most of the error codes.
Although in order to map these to an exit code, you'd probably have to walk through the CLI code to trace that.
来源:https://stackoverflow.com/questions/49063409/does-anyone-have-a-list-of-hive-error-codes