Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.3.0
Description
When configuration reads in resources with a restricted parser, it skips evaluaging system ${env. } vars. But it also skips evaluating fallbacks
As a result, a property like fs.s3a.buffer.dir
${env.LOCAL_DIRS:-${hadoop.tmp.dir}} ends up evaluating as ${env.LOCAL_DIRS:-${hadoop.tmp.dir}}
It should instead fall back to the "env var unset" option of ${hadoop.tmp.dir}. This allows for configs (like for s3a buffer dirs) which are usable in restricted mode as well as unrestricted deployments.
Attachments
Issue Links
- blocks
-
HADOOP-17386 fs.s3a.buffer.dir to be under Yarn container path on yarn applications
- Resolved
- is related to
-
HADOOP-18313 AliyunOSS: AliyunOSSBlockOutputStream should not mark the temporary file for deletion
- Resolved
- relates to
-
HADOOP-9642 Configuration to resolve environment variables via ${env.VARIABLE} references
- Resolved
- links to