我正在尝试在 Apache Drill 中注册一个文件系统,但它不起作用。
我尝试了这些步骤:
- 导航到http://localhost:8047,然后选择存储选项卡。
- 在 New Storage Plugin 窗口中,输入唯一名称,然后单击 Create。
- 在“配置”窗口中,为您要配置为数据源的文件系统类型提供以下配置信息。a.
我进入了:
{ "type": "file",
"enabled": true,
"connection": "file:///",
"workspaces": {
"root": {
"location": "/root/data/json",
"writable": false,
"storageformat": null
}
},
"formats" : {
"json" : {
"type" : "json"
}
}
}
- 更新。
每次按下按钮时,我的代码都会被删除,结果: null
创建了一个实例但没有内容。
有任何想法吗?