[
https://issues.apache.org/jira/browse/HDDS-1093?focusedWorklogId=205577&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-205577
]
ASF GitHub Bot logged work on HDDS-1093:
----------------------------------------
Author: ASF GitHub Bot
Created on: 28/Feb/19 01:55
Start Date: 28/Feb/19 01:55
Worklog Time Spent: 10m
Work Description: swagle commented on pull request #527: HDDS-1093.
Configuration tab in OM/SCM ui is not displaying the correct values
URL: https://github.com/apache/hadoop/pull/527#discussion_r261020806
##########
File path:
hadoop-hdds/common/src/test/java/org/apache/hadoop/hdds/conf/TestOzoneConfiguration.java
##########
@@ -0,0 +1,171 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.hadoop.hdds.conf;
+
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.fs.Path;
+import org.junit.After;
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+
+public class TestOzoneConfiguration {
+
+ private Configuration conf;
+ final static String CONFIG = new
File("./test-config-TestConfiguration.xml").getAbsolutePath();
+ final static String CONFIG_CORE = new
File("./core-site.xml").getAbsolutePath();
+
+ private BufferedWriter out;
Review comment:
In general not too excited about sharing streams as a coding best practice,
other reviewers can chime in but better to localize this vs deal with side
effect code in tearDown.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 205577)
Time Spent: 1h (was: 50m)
> Configuration tab in OM/SCM ui is not displaying the correct values
> -------------------------------------------------------------------
>
> Key: HDDS-1093
> URL: https://issues.apache.org/jira/browse/HDDS-1093
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: OM, SCM
> Reporter: Sandeep Nemuri
> Assignee: Vivek Ratnavel Subramanian
> Priority: Critical
> Labels: pull-request-available
> Attachments: image-2019-02-12-19-47-18-332.png
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Configuration tab in OM/SCM ui is not displaying the correct/configured
> values, rather it is displaying the default values.
> !image-2019-02-12-19-47-18-332.png!
> {code:java}
> [hdfs@freonnode10 hadoop]$ curl -s http://freonnode10:9874/conf | grep
> ozone.om.handler.count.key
> <property><name>ozone.om.handler.count.key</name><value>40</value><final>false</final><source>ozone-site.xml</source></property>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]