Ok i'll give it a try, thanks! 2016-05-13 12:05 GMT-05:00 Vince Gonzalez <vince.gonza...@gmail.com>:
> I have used a pipeline involving jq and curl to modify storage plugins via > the rest interface. The one below adds a workspace to the dfs plugin: > > curl -s localhost:8047/storage.json | jq '.[] | select(.name == "dfs") > | .config.workspaces |= . + { "nypdmvc": { "location": > "/Users/vince/data/nyc/nypdmvc", "writable": true, > "defaultInputFormat": null} }' | curl -s -X POST -H "Content-Type: > application/json" -d @- http://localhost:8047/storage/dfs.json > > Note that this won't work as is if you have authentication enabled. > > On Friday, May 13, 2016, Odin Guillermo Caudillo Gallegos < > odin.guille...@gmail.com> wrote: > > > I have the restriction to not configure it via web console, so is there a > > way to configure them on the terminal? > > Cause in embed mode, i only create the files on the /tmp/ directory via > > terminal, also on the drill-override.conf file i use another path for the > > plugins (with sys.store.provider.local.path) > > > > Thanks. > > > > 2016-05-13 11:33 GMT-05:00 Andries Engelbrecht < > aengelbre...@maprtech.com > > <javascript:;>>: > > > > > You should start drill in distributed mode first and then configure the > > > storage plugins. > > > If you configure the storage plugins in embedded mode the information > is > > > stored in the tmp space instead of registered with ZK for the cluster > to > > > use. > > > > > > --Andries > > > > > > > On May 13, 2016, at 9:08 AM, Odin Guillermo Caudillo Gallegos < > > > odin.guille...@gmail.com <javascript:;>> wrote: > > > > > > > > The plugins are working fine in the embbed mode, but when i start the > > > > drillbit on each server and connect via drill-conf i don't see them. > > > > Do i need to configure another parameter apart from the zookeeper > > servers > > > > in the drill-override.conf file? > > > > > > > > 2016-05-13 11:01 GMT-05:00 Andries Engelbrecht < > > > aengelbre...@maprtech.com <javascript:;>>: > > > > > > > >> If Drill was correctly installed in distributed mode the storage > > plugin > > > >> and workspaces will be used by the Drill cluster. > > > >> > > > >> Make sure the plugin and workspace was correctly configured and > > > accepted. > > > >> > > > >> Are you using the WebUI or REST to configure the storage plugins? > > > >> > > > >> --Andries > > > >> > > > >>> On May 13, 2016, at 8:48 AM, Odin Guillermo Caudillo Gallegos < > > > >> odin.guille...@gmail.com <javascript:;>> wrote: > > > >>> > > > >>> Is there a way to configure workspaces on a distributed > installation? > > > >>> Cause i only see the default plugin configuration but not the one > > that > > > i > > > >>> created. > > > >>> > > > >>> Thanks > > > >> > > > >> > > > > > > > > > > > -- >