curl -X POST -/json" -d '{"name":"myplugin", "config": {"type": "file",
"enabled": false, "connection": "file:///", "workspaces": { "root": {
"location": "/", "writable": false, "defaultInputFormat": null}}, "formats":
null}}' http://localhost:8047/storage/myplugin.json
<http://localhost:8047/storage/myplugin.json>
Rajkumar Singh
MapR Technologies
> On Jun 23, 2015, at 7:50 PM, Ganesh Muthuraman <[email protected]> wrote:
>
> Absolutely. That is the intent going further. For now, I just need to resolve
> this error. We have everything running in 0.8 in Dev and runs well. Need the
> same thing to work in Test before we can plan an upgrade.
> Need to know the method to configure plugins without going to the UI.
> Thanks,G
>> From: [email protected]
>> Date: Tue, 23 Jun 2015 07:16:23 -0700
>> Subject: Re: Cannot start drillbit
>> To: [email protected]
>>
>> Try using Drill 1.0
>>
>> LOTs of improvements since 0.8.
>>
>>
>>
>> On Tue, Jun 23, 2015 at 7:06 AM, Ganesh Muthuraman <[email protected]>
>> wrote:
>>
>>> Hi,
>>> Anybody know what this error is? This is drill 0.8. I am unable to start
>>> Drillbit and cannot go the UI to configure the plugin. I see this in
>>> /var/log/drill/drillbit.out
>>>
>>>
>>> Drill log directory: /var/log/drillDrill log directory:
>>> /var/log/drillOpenJDK 64-Bit Server VM warning: ignoring option
>>> MaxPermSize=512M; support was removed in 8.0Exception in thread "main"
>>> org.apache.drill.exec.exception.DrillbitStartupException: Failure during
>>> initial startup of Drillbit. at
>>> org.apache.drill.exec.server.Drillbit.start(Drillbit.java:88) at
>>> org.apache.drill.exec.server.Drillbit.start(Drillbit.java:66) at
>>> org.apache.drill.exec.server.Drillbit.main(Drillbit.java:166)Caused by:
>>> java.lang.RuntimeException:
>>> com.fasterxml.jackson.databind.JsonMappingException: Could not resolve type
>>> id 'avro' into a subtype of [simple type, class
>>> org.apache.drill.common.logical.FormatPluginConfig] at [Source: [B@2c18cde7;
>>> line: 24, column: 7] (through reference chain:
>>> org.apache.drill.exec.store.dfs.FileSystemConfig["formats"]->java.util.LinkedHashMap["avro"])
>>> at
>>> org.apache.drill.exec.store.sys.zk.ZkAbstractStore$Iter$DeferredEntry.getValue(ZkAbstractStore.java:197)
>>> at
>>> org.apache.drill.exec.store.StoragePluginRegistry.createPlugins(StoragePluginRegistry.java:166)
>>> at
>>> org.apache.drill.exec.store.StoragePluginRegistry.init(StoragePluginRegistry.java:130)
>>> at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:239)
>>> at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:85)
>>> ... 2 more
>>>
>>>
>>>
>>> -Ganesh
>>>
>