hdfs - Apache Drill: Not able to query the database -
i using ubuntu 14.04.
i have started explore querying hdfs using apache drill, installed local system , configured storage plugin point remote hdfs. below configuration setup:
{ "type": "file", "enabled": true, "connection": "hdfs://devlpmnt.mycrop.kom:8020", "workspaces": { "root": { "location": "/", "writable": false, "defaultinputformat": null } }, "formats": { "json": { "type": "json" } } }
after creating json file "rest.json", passed query:
select * hdfs.`/tmp/rest.json` limit 1
i getting following error:
org.apache.drill.common.exceptions.userremoteexception: parse error: line 1, column 15 line 1, column 18: table 'hdfs./tmp/rest.json' not found
i appreciate if tries me figure out wrong.
thanks in advance!!
Comments
Post a Comment