|
@@ -972,9 +972,12 @@ options are covered in [Testing](./testing.md).
|
|
|
|
|
|
<property>
|
|
|
<name>fs.s3a.buffer.dir</name>
|
|
|
- <value>${hadoop.tmp.dir}/s3a</value>
|
|
|
+ <value>${env.LOCAL_DIRS:-${hadoop.tmp.dir}}/s3a</value>
|
|
|
<description>Comma separated list of directories that will be used to buffer file
|
|
|
- uploads to.</description>
|
|
|
+ uploads to.
|
|
|
+ Yarn container path will be used as default value on yarn applications,
|
|
|
+ otherwise fall back to hadoop.tmp.dir
|
|
|
+ </description>
|
|
|
</property>
|
|
|
|
|
|
<property>
|
|
@@ -1824,9 +1827,12 @@ consumed, and so eliminates heap size as the limiting factor in queued uploads
|
|
|
|
|
|
<property>
|
|
|
<name>fs.s3a.buffer.dir</name>
|
|
|
- <value>${hadoop.tmp.dir}/s3a</value>
|
|
|
+ <value>${env.LOCAL_DIRS:-${hadoop.tmp.dir}}/s3a</value>
|
|
|
<description>Comma separated list of directories that will be used to buffer file
|
|
|
- uploads to.</description>
|
|
|
+ uploads to.
|
|
|
+ Yarn container path will be used as default value on yarn applications,
|
|
|
+ otherwise fall back to hadoop.tmp.dir
|
|
|
+ </description>
|
|
|
</property>
|
|
|
```
|
|
|
|