-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-8048: DATASTREAM is not listed as supported tag in ozone-default.xml #4332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
adoroszlai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kmizumar for the patch.
This list seems to be out of date. Not only was DATASTREAM missing, but there are several other differences when compared to the list of tags Ozone actually has in the configs.
Also, there are two related config properties (ultimately used by HddsConfServlet), which also have mismatches:
ozone/hadoop-hdds/common/src/main/resources/ozone-default.xml
Lines 1350 to 1360 in abd9dd0
| <property> | |
| <name>hadoop.tags.custom</name> | |
| <value>OZONE,MANAGEMENT,SECURITY,PERFORMANCE,DEBUG,CLIENT,SERVER,OM,SCM, | |
| CRITICAL,RATIS,CONTAINER,REQUIRED,REST,STORAGE,PIPELINE,STANDALONE,S3GATEWAY,RECON</value> | |
| </property> | |
| <property> | |
| <name>ozone.tags.system</name> | |
| <value>OZONE,MANAGEMENT,SECURITY,PERFORMANCE,DEBUG,CLIENT,SERVER,OM,SCM, | |
| CRITICAL,RATIS,CONTAINER,REQUIRED,REST,STORAGE,PIPELINE,STANDALONE,S3GATEWAY,TOKEN,TLS,RECON</value> | |
| </property> |
I have compiled a list of tags from different sources:
- mentioned in the comment "Tags supported": comment.txt
- listed in each of the tags properties: custom.txt, system.txt
- used in
ozone-default.xml: used_xml.txt - used in classes annotated with
@Config: used_class.txt
(Hopefully I got those right.)
Would you like to fix these discrepancies as well?
|
Note: #4328 is also changing these two properties (removing whitespace). |
|
Thanks for the thorough list of tags, @adoroszlai . |
I think it would be more useful to:
|
|
@SaketaChalamchala can you please take a look? |
|
Agree with @adoroszlai
Another note here, it would be cleaner if we replace all
One more note, tags in enum in ConfigTag.java are being used in |
|
@kmizumar you can change the PR title to |
|
Thanks @SaketaChalamchala for your comment. Now that you have mentioned the |
What changes were proposed in this pull request?
Add
DATASTREAMtag as a supported one described in theozone-default.xmlcomment.What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8048
How was this patch tested?
No tests are required. Just update a comment.