You're welcome, let us know if it works for you. On Tue, Jun 23, 2015 at 10:41 AM, Ganesh Muthuraman <[email protected]> wrote:
> Thanks Jason. That helps. > Thanks,G > > > From: [email protected] > > Date: Tue, 23 Jun 2015 09:14:11 -0700 > > Subject: Re: Cannot start drillbit > > To: [email protected] > > > > If you have started Drill previously and there is already a configuration > > stored in zookeeper, we will not pick up the > boostrap-storage-plugins.json > > file upon starting Drill. This is only for the first time starting it. > You > > can modify the entry in zookeeper yourself by uploading the json file for > > that plugin to the correct path in zookeeper. If you do not have a lot of > > configuration already set that you need to preserve you could just blow > > away the /drill directory in zk. If you want to preserve it, you can copy > > it out of zk before deleting it to try testing out starting Drill from a > > fresh configuration. > > > > On Tue, Jun 23, 2015 at 7:48 AM, Ganesh Muthuraman < > [email protected]> > > wrote: > > > > > Ok. I will do that. But in my case, I think I need to remove the > plugin (I > > > am thinking avro, by looking at the error below). > > > Regards,G > > > > > > > Subject: Re: Cannot start drillbit > > > > From: [email protected] > > > > Date: Tue, 23 Jun 2015 20:15:45 +0530 > > > > To: [email protected] > > > > > > > > The other way is to put plugin-configuration json file in the drill > > > class path and drill will pick it up at startup but in your case you > are > > > not able to start drill bit.I will suggest you to upgrade drill and > then > > > add the drill storage plugin. > > > > > > > > Rajkumar Singh > > > > MapR Technologies > > > > > > > > > > > > > On Jun 23, 2015, at 8:10 PM, Ganesh Muthuraman < > [email protected]> > > > wrote: > > > > > > > > > > > > > > > Thanks. > > > > > But I do not seem to be able to connect to 8047 since the drillbit > is > > > not running. I am unable to get it to start even with inline sqlline. > > > > > Ganesh > > > > >> From: [email protected] > > > > >> Subject: Re: Cannot start drillbit > > > > >> Date: Tue, 23 Jun 2015 20:03:13 +0530 > > > > >> To: [email protected] > > > > >> > > > > >> > > > > >> 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 > > > > >>>>> > > > > >>> > > > > >> > > > > > > > > > > > > > > > > >
