This is an automated email from the ASF dual-hosted git repository.

shashikant pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8c8cb2d  HDDS-1502. Fix the compilation issue with commit 
18c1eebc08f93055ffdef1812247b439c8404163.
8c8cb2d is described below

commit 8c8cb2d6aabba0179e346a55b63596bfd7ade540
Author: Shashikant Banerjee <shashik...@apache.org>
AuthorDate: Thu May 30 18:44:22 2019 +0530

    HDDS-1502. Fix the compilation issue with commit 
18c1eebc08f93055ffdef1812247b439c8404163.
---
 .../common/transport/server/ratis/TestCSMMetrics.java         | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git 
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/TestCSMMetrics.java
 
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/TestCSMMetrics.java
index 2159324..fa740ea 100644
--- 
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/TestCSMMetrics.java
+++ 
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/TestCSMMetrics.java
@@ -13,11 +13,10 @@
  * 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.
-      = GenericTestUtils.getTestDir("dfs").getAbsolutePath() + File.separator;
-
+ * limitations under the License
  */
-     package org.apache.hadoop.ozone.container.common.transport.server.ratis;
+
+package org.apache.hadoop.ozone.container.common.transport.server.ratis;
 
 import static org.apache.hadoop.test.MetricsAsserts.assertCounter;
 import static org.apache.hadoop.test.MetricsAsserts.getMetrics;
@@ -63,7 +62,9 @@ import org.junit.Assert;
    * This class tests the metrics of ContainerStateMachine.
    */
   public class TestCSMMetrics {
-    static final String TEST_DIR
+    static final String TEST_DIR =
+        GenericTestUtils.getTestDir("dfs").getAbsolutePath()
+            + File.separator;
   @FunctionalInterface
   interface CheckedBiFunction<LEFT, RIGHT, OUT, THROWABLE extends Throwable> {
     OUT apply(LEFT left, RIGHT right) throws THROWABLE;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to