[
https://issues.apache.org/jira/browse/HADOOP-15007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16242145#comment-16242145
]
Steve Loughran commented on HADOOP-15007:
-----------------------------------------
New stack trace: what you get when a config option has a tag which isn't
recognised; appears on every evocation of {{Configuration.iterator()}: if you
have a program which calls this a lot, you get a lot of stack traces.
* This is a potential compatibility/versioning problem. Imagine if Hadoop 3.2
did add the tag "secret", and configs used it. If a config with that tag is
parsed with the 3.1 binaries, this error will be raised repeatedly
* This is a distraction & should be logged at debug, ideally once per tag,
{code}
017-11-07 14:59:24,302 [main] INFO conf.Configuration
(Configuration.java:readTagFromConfig(3044)) - Invalid tag 'secret' found for
property:test.fs.s3a.name Source:[core-site.xml]
java.lang.IllegalArgumentException: No enum constant
org.apache.hadoop.conf.CorePropertyTag.secret
at java.lang.Enum.valueOf(Enum.java:238)
at
org.apache.hadoop.conf.Configuration.getPropertyTag(Configuration.java:3566)
at
org.apache.hadoop.conf.Configuration.readTagFromConfig(Configuration.java:3014)
at
org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2967)
at
org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2908)
at
org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2760)
at
org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2640)
at
org.apache.hadoop.conf.Configuration.iterator(Configuration.java:2688)
at
org.apache.hadoop.fs.s3a.S3AUtils.propagateBucketOptions(S3AUtils.java:856)
at
org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:226)
at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3334)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124)
at
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3383)
at org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:3357)
at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:530)
at
org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.initS3AFileSystem(S3GuardTool.java:266)
at
org.apache.hadoop.fs.s3a.s3guard.S3GuardTool$Diff.run(S3GuardTool.java:839)
at
org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.run(S3GuardTool.java:310)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at
org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.run(S3GuardTool.java:1232)
at
org.apache.hadoop.fs.s3a.s3guard.S3GuardTool.main(S3GuardTool.java:1241)
2017-11-07 14:59:24,313 [main] DEBUG s3a.S3AUtils
(S3AUtils.java:propagateBucketOptions(875)) - Updating fs.s3a.endpoint from
[core-site.xml]
{code}
> Stabilize and document Configuration <tag> element
> --------------------------------------------------
>
> Key: HADOOP-15007
> URL: https://issues.apache.org/jira/browse/HADOOP-15007
> Project: Hadoop Common
> Issue Type: Improvement
> Components: conf
> Affects Versions: 3.1.0
> Reporter: Steve Loughran
> Assignee: Anu Engineer
> Priority: Blocker
>
> HDFS-12350 (moved to HADOOP-15005). Adds the ability to tag properties with a
> <tag> value.
> We need to make sure that this feature is backwards compatible & usable in
> production. That's docs, testing, marshalling etc.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]