org.apache.drill.common.exceptions.UserRemoteException:从 localhost:8047 查询时发生

org.apache.drill.common.exceptions.UserRemoteException: is happening while querying from localhost:8047

我仅通过网页访问我的 HDFS 时遇到以下异常,并且在终端中使用 sqlLine 也能正常工作。

Query Failed: An Error Occurred
org.apache.drill.common.exceptions.UserRemoteException: VALIDATION ERROR: From line 1, column 15 to line 1, column 46: Table 'HDFSBolt-1-0-1489176215720.txt' not found SQL Query null [Error Id: b22f324a-456e-4a1c-bvfce-43a7b134daad on localhost:31010

我为上述查询尝试的命令:

1.use dfs.root;
2.select * from `HDFSBolt-1-0-1489176215720.txt` limit 10;

我的存储插件如下:

{
  "type": "file",
  "enabled": true,
  "connection": "hdfs://localhost:9000/",
  "config": null,
  "workspaces": {
    "root": {
      "location": "/rajdata6",
      "writable": true,
      "defaultInputFormat": "null"
    }
  },
  "formats": {
    "csv": {
      "type": "text",
      "extensions": [
        "txt"
      ],
      "delimiter": ";"
    }
  }
}

尝试在 table 名称前使用存储别名。

select * from dfs.`HDFSBolt-1-0-1489176215720.txt` limit 10;