Search code examples
apache-drill

Storage plugin configuration persistence not working for Apache Drill


According to Drill's documentation :

Drill uses /tmp/drill/sys.storage_plugins to store storage plugin configurations. The temporary directory clears when you quit the Drill shell. To save your storage plugin configurations from one session to the next, set the following option in the drill-override.conf file if you are running Drill in embedded mode.

drill.exec.sys.store.provider.local.path = "/mypath"

I checked /tmp/drill/sys.storage_plugins, there is some data in this file. Then I modified drill-override.conf :

drill.exec: {
  cluster-id: "drillbits1",
  zk.connect: "localhost:2181",
  drill.exec.sys.store.provider.local.path = "/home/dev/abc"
}

I restarted drill & even restarted my machine. Nothing is created at this location.

Note: I am using ubuntu 14.0.4 & Drill version - 1.3. Drill is running in embedded mode

Any pointer on this.


Solution

  • I raised an issue regarding this. It is resolved.

    Use sys.store.provider.local.path instead of drill.exec.sys.store.provider.local.path because it's already in drill.exec

    Modified drill-override.conf :

    drill.exec: {
      cluster-id: "drillbits1",
      zk.connect: "localhost:2181",
      sys.store.provider.local.path = "/home/dev/abc"
    }