我正在我公司的生产环境中调试大数据代码。配置单元返回以下错误:
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)
经过调查,我发现这个错误可能是由connectionPoolingType属性中的BoneCP引起的,但是集群支持团队告诉我他们通过升级BoneCP修复了这个错误。
我的问题是:我们能否在 Hive 中插入一个外部表,因为我对插入脚本有疑问?
最佳答案
是的,您可以插入到外部表中。
关于hadoop - 我们可以插入外部表吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42395972/