0

我正在尝试在 Apache Drill 中注册一个文件系统,但它不起作用。

我尝试了这些步骤:

  1. 导航到http://localhost:8047,然后选择存储选项卡。
  2. 在 New Storage Plugin 窗口中,输入唯一名称,然后单击 Create。
  3. 在“配置”窗口中,为您要配置为数据源的文件系统类型提供以下配置信息。a.

我进入了:

{  "type": "file",  
      "enabled": true,  
      "connection": "file:///",  
      "workspaces": {    
       "root": {      
        "location": "/root/data/json",      
        "writable": false,      
        "storageformat": null    
        }
      },
       "formats" : {      
          "json" : {         
            "type" : "json"      
          }   
      }
  }
  1. 更新。

每次按下按钮时,我的代码都会被删除,结果: null

创建了一个实例但没有内容。

有任何想法吗?

4

1 回答 1

0

更改"storageformat": null"defaultInputFormat": null

于 2015-07-22T21:36:56.917 回答