HDDS-74. Rename name of properties related to configuration tags.

Contributed by Sandeep Nemuri.
This commit is contained in:
Anu Engineer 2018-05-22 11:38:11 -07:00
parent 481bfdb94f
commit 60821fb20e
2 changed files with 3 additions and 3 deletions

View File

@ -154,7 +154,7 @@ public class HddsConfServlet extends HttpServlet {
switch (cmd) { switch (cmd) {
case "getOzoneTags": case "getOzoneTags":
out.write(gson.toJson(config.get("ozone.system.tags").split(","))); out.write(gson.toJson(config.get("ozone.tags.system").split(",")));
break; break;
case "getPropertyByTag": case "getPropertyByTag":
String tags = request.getParameter("tags"); String tags = request.getParameter("tags");

View File

@ -1006,12 +1006,12 @@
</property> </property>
<property> <property>
<name>hadoop.custom.tags</name> <name>hadoop.tags.custom</name>
<value>OZONE,MANAGEMENT,SECURITY,PERFORMANCE,DEBUG,CLIENT,SERVER,KSM,SCM,CRITICAL,RATIS,CONTAINER,REQUIRED,REST,STORAGE,PIPELINE,STANDALONE</value> <value>OZONE,MANAGEMENT,SECURITY,PERFORMANCE,DEBUG,CLIENT,SERVER,KSM,SCM,CRITICAL,RATIS,CONTAINER,REQUIRED,REST,STORAGE,PIPELINE,STANDALONE</value>
</property> </property>
<property> <property>
<name>ozone.system.tags</name> <name>ozone.tags.system</name>
<value>OZONE,MANAGEMENT,SECURITY,PERFORMANCE,DEBUG,CLIENT,SERVER,KSM,SCM,CRITICAL,RATIS,CONTAINER,REQUIRED,REST,STORAGE,PIPELINE,STANDALONE</value> <value>OZONE,MANAGEMENT,SECURITY,PERFORMANCE,DEBUG,CLIENT,SERVER,KSM,SCM,CRITICAL,RATIS,CONTAINER,REQUIRED,REST,STORAGE,PIPELINE,STANDALONE</value>
</property> </property>