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

This commit is contained in:
stack 2020-02-04 12:30:09 -08:00
parent 6ba1df3b39
commit 9cc7a711e6
1 changed files with 6 additions and 7 deletions

View File

@ -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);
}
/**