Hi Team,

I know we need to setup the spill directory to the "mapred" local volume on
MapR cluster.
eg:
$ cat drill-override.conf
drill.exec: {
  cluster-id: "MyCluster-drillbits",
  zk.connect: "h2.poc.com:5181,h3.poc.com:5181,h4.poc.com:5181",
  sort.external.spill.directories: ["/var/mapr/local/h1.poc.com/mapred/drill
"],
  sort.external.spill.fs: "maprfs:///"
}

Is there any way to set drill.exec.sort.external.spill.directories to use
hostname variable?
For example:
/var/mapr/local/$HOST/mapred/drill

Or it is better to automatically create it and maintain it just like
MRv1/v2 if we configure it to use maprfs.
If this is not doable right now, can we consider it a feature request?

Thanks,
Hao

Reply via email to