You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2020/02/05 00:38:13 UTC

[hbase] branch branch-2 updated: HBASE-23789 [Flakey Tests] ERROR [Time-limited test] balancer.HeterogeneousRegionCountCostFunction(199): cannot read rules file located at ' /tmp/hbase-balancer.rules '

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

stack pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 8e11a5c  HBASE-23789 [Flakey Tests] ERROR [Time-limited test] balancer.HeterogeneousRegionCountCostFunction(199): cannot read rules file located at ' /tmp/hbase-balancer.rules '
8e11a5c is described below

commit 8e11a5caa0090b5ec90ce9c577e9449baa30d799
Author: stack <st...@apache.org>
AuthorDate: Tue Feb 4 12:30:09 2020 -0800

    HBASE-23789 [Flakey Tests] ERROR [Time-limited test] balancer.HeterogeneousRegionCountCostFunction(199): cannot read rules file located at ' /tmp/hbase-balancer.rules '
---
 .../org/apache/hadoop/hbase/HBaseCommonTestingUtility.java  | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseCommonTestingUtility.java b/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseCommonTestingUtility.java
index c73189e..e8a2a79 100644
--- a/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseCommonTestingUtility.java
+++ b/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseCommonTestingUtility.java
@@ -1,5 +1,4 @@
-/**
- *
+/*
  * 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
@@ -113,12 +112,12 @@ public class HBaseCommonTestingUtility {
   }
 
   /**
-   * @param subdirName the name of the subdirectory in the test data directory
-   * @return Path to a subdirectory named {code subdirName} under
-   *  {@link #getDataTestDir()}. Does *NOT* create it if it does not exist.
+   * @param name the name of a subdirectory or file in the test data directory
+   * @return Path to a subdirectory or file named {code subdirName} under
+   *  {@link #getDataTestDir()}. Does *NOT* create the directory or file if it does not exist.
    */
-  public Path getDataTestDir(final String subdirName) {
-    return new Path(getDataTestDir(), subdirName);
+  public Path getDataTestDir(final String name) {
+    return new Path(getDataTestDir(), name);
   }
 
   /**