我正在我公司的生产环境中调试大数据代码。Hive 返回以下错误:
Exception: org.apache.hadoop.hive.ql.lockmgr.LockException: No record of lock could be found, may have timed out
Killing DAG...
Execution has failed.
Exception in thread "main" java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask.
at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:282)
at org.apache.hive.jdbc.HiveStatement.executeUpdate(HiveStatement.java:392)
at HiveExec.main(HiveExec.java:159)
经过调查,我发现这个错误可能是由 BoneCP 的 connectionPoolingType 属性引起的,但是集群支持团队告诉我他们通过升级 BoneCP 修复了这个错误。
我的问题是:我们可以插入 Hive 中的外部表,因为我对插入脚本有疑问吗?