1

I am debugging a Big Data code in Production environment of my company. Hive return the following error:

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)

After investigation, I have found that this error could be caused by BoneCP in connectionPoolingType property, but the cluster support team told me that they fixed this bug by upgrading BoneCP.

My question is: can we INSERT INTO an external table in Hive, because I have doubt about the insertion script ?

BobC
  • 4,208
  • 1
  • 12
  • 15
mttb12
  • 75
  • 1
  • 9

1 Answers1

2

Yes, you can insert into external table.

David דודו Markovitz
  • 42,900
  • 6
  • 64
  • 88