hive java insert_hive表insert报错

环境hive1,Linux6.5,平台是星环的Hadoop4.3

建了一张普通表,非ORC表,insert时报错,具体如下:

insert into temp.monitor_test values ('20160722153748','XXX','XXX','XXX','2016-07-22','0','20160722');

报错为:

[Hive Error]: Query returned non-zero code: 10, cause: FAILED: Error in semantic analysis: Only allow to single insert into Hyperbase/Transaction Orc/Holodesk, other data destination not allowed。

而且报错完后,再去查看其它正常表,报错:[Hive Error]: java.lang.Exception: Cannot enable local mode, please "set ngmr.exec.mode=cluster" to close it.

java.io.IOException: java.lang.Exception: Cannot enable local mode, please "set ngmr.exec.mode=cluster" to close it.

at io.transwarp.inceptor.execution.task.HyperbaseIteratableFetchTask.fetch(HyperbaseIteratableFetchTask.scala:254)

at org.apache.

你可能感兴趣的:(hive,java,insert)