presto:无法插入值

xuo3flqw  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(332)

我可以在presto中正常地创建和删除表并进行查询,但是当我使用 insert ,总是错误的,如下图所示:

presto:default> create table test.lll (a int);
CREATE TABLE
presto:default> insert into test.lll select 1;

Query 20180104_091933_00007_k8e78, FAILED, 5 nodes
Splits: 84 total, 30 done (35.71%)
0:00 [0 rows, 0B] [0 rows/s, 0B/s]

Query 20180104_091933_00007_k8e78 failed: No page sink provider for connector 'hive'

原因是什么?如何解决?感谢您的帮助。 Error Type :
INTERNAL_ERROR Error Code : GENERIC_INTERNAL_ERROR (65536) 完整堆栈跟踪:

java.lang.IllegalArgumentException: No page sink provider for connector 'hive'
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:191)
    at com.facebook.presto.split.PageSinkManager.providerFor(PageSinkManager.java:67)
    at com.facebook.presto.split.PageSinkManager.createPageSink(PageSinkManager.java:61)
    at com.facebook.presto.operator.TableWriterOperator$TableWriterOperatorFactory.createPageSink(TableWriterOperator.java:97)
    at com.facebook.presto.operator.TableWriterOperator$TableWriterOperatorFactory.createOperator(TableWriterOperator.java:88)
    at com.facebook.presto.operator.DriverFactory.createDriver(DriverFactory.java:92)
    at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunnerFactory.createDriver(SqlTaskExecution.java:515)
    at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunnerFactory.access$1400(SqlTaskExecution.java:490)
    at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:616)
    at com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:163)
    at com.facebook.presto.execution.executor.LegacyPrioritizedSplitRunner.process(LegacyPrioritizedSplitRunner.java:23)
    at com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:492)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)`

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题