Cloud Data Access
Also available as:
PDF
loading table of contents...

Configuring Support for Append API

The Azure Blob Storage interface for Hadoop includes optional support for Append API for single writer.

To enable it, set the configuration fs.azure.enable.append.support to "true" in core-site.xml:

<property>
  <name>fs.azure.enable.append.support</name>
  <value>true</value>
</property>
[Note]Note

Append support in Azure Blob Storage interface differs from HDFS semantics: it does not enforce single writer internally but requires applications to guarantee this semantic. It becomes a responsibility of the application either to ensure single-threaded handling for a particular file path, or to rely on some external locking mechanism of its own. Failure to do so will result in an unexpected behavior.