Description
instance.dfs.uri and instance.dfs.dir are no longer needed with the instance.volumes property.
Together, these two fields are needed for upgrades from relative paths, but full URIs for volumes should be specified in the instance.volumes set.
Instead of appending instance.dfs.dir to every volume, which is a bit confusing, they should be specified explicitly in the instance.volumes.
Example:
<property>
<name>instance.volumes</name>
<value>hdfs://nn1/accumulo</value>
</property>
should be equivalent to
<property>
<name>instance.dfs.uri</name>
<value>hdfs://nn1</value>
</property>
<property>
<name>instance.dfs.dir</name>
<value>/accumulo</value>
</property>
This change simplifies the semantics of configuring volumes for Accumulo to use for storage, and is a bit more obvious that we're logically configuring filesystem volumes, not "namenode URIs".
Attachments
Issue Links
- is related to
-
ACCUMULO-2527 Suppress expected deprecation warnings from instance.dfs.{dir,uri}
- Resolved
-
ACCUMULO-3376 VolumeChooser API: replace String[] with Set<Volume>
- Resolved
- links to