apache drill无法连接到hdfs

zd287kbt  于 2021-06-02  发布在  Hadoop
关注(0)|答案(0)|浏览(206)

这是我的hdfs版本:
名称节点'10.207.78.21:38234'
开始时间:2015年2月2日星期一19:16:43 cst
版本:1.0.4,r1393290
这是drill文件系统插件的配置:

{
  "type": "file",
  "enabled": true,
  "connection": "hdfs://10.207.78.21:38234",
  "config": null,
  "workspaces": {
    "root": {
    "location": "/",
    "writable": false,
    "defaultInputFormat": null
  },
  "tmp": {
    "location": "/tmp",
    "writable": true,
    "defaultInputFormat": null
  }
},
"formats": ...

这是我的测试数据:

bash-4.3$ ./hadoop fs -cat /test
{"key": "value"}

在嵌入模式下执行查询失败:

0: jdbc:drill:zk=local> SELECT * FROM rpmp.`/test` LIMIT 20;
Error: SYSTEM ERROR: EOFException

[Error Id: fd784c1a-8353-430a-9ae3-08a5154755fe on xxx.com:31010]

  (org.apache.drill.exec.work.foreman.ForemanException) Unexpected exception during fragment initialization: Failed to create schema tree: End of File Exception between local host is: "xxx.com/10.95.112.80"; destination host is: "yyy.com":38234; : java.io.EOFException; For more details see:  http://wiki.apache.org/hadoop/EOFException
    org.apache.drill.exec.work.foreman.Foreman.run():262
    java.util.concurrent.ThreadPoolExecutor.runWorker():1145
    java.util.concurrent.ThreadPoolExecutor$Worker.run():615
    java.lang.Thread.run():745
  Caused By (org.apache.drill.common.exceptions.DrillRuntimeException) Failed to create schema tree: End of File Exception between local host is: "xxx.com/10.95.112.80"; destination host is: "yyy.com":38234; : java.io.EOFException; For more details see:  http://wiki.apache.org/hadoop/EOFException
    org.apache.drill.exec.ops.QueryContext.getRootSchema():169
    org.apache.drill.exec.ops.QueryContext.getRootSchema():151
    ...

暂无答案!

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

相关问题