Apache Drill无法连接到HDFS

时间:2016-06-16 16:53:39

标签: hadoop hdfs apache-drill

这是我的hdfs版本:

  

NameNode' 10.207.78.21:38234'

     

开始时间:2015年2月2日星期一19:16:43 CST 2015

     

版本:1.0.4,r1393290

这是钻取文件系统插件的配置:

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
    ...

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

class ViewController: UIViewController {

    @IBOutlet var webView: UIWebView!

    override func viewDidLoad() {
        super.viewDidLoad()

        if let url = NSURL(string: "http://www.sourcefreeze.com") {
            let request = NSURLRequest(URL: url)
            webView.loadRequest(request)
        }
}

0 个答案:

没有答案