Hive - Beeline - 如何将异常从 fileinputformat 传递到 beeline
Hive - Beeline - how to pass exceptions from fileinputformat to beeline
我的 FileInputFormat 有时会抛出异常,我希望用户能看到来自异常的消息。有没有办法通知直线异常。它只显示 Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask (state=08S01,code=1)
如果您在 beeline
调用中添加 --verbose=true
和 --showNestedErrs=true
标志,Beeline 将提供更多错误消息。
我的 FileInputFormat 有时会抛出异常,我希望用户能看到来自异常的消息。有没有办法通知直线异常。它只显示 Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask (state=08S01,code=1)
如果您在 beeline
调用中添加 --verbose=true
和 --showNestedErrs=true
标志,Beeline 将提供更多错误消息。