Skip to content
Permalink
Browse files
HBASE-24963 [HBOSS] UTs failing when running against hadoop 3.3. (#15)
Signed-off-by: Josh Elser <elserj@apache.org>
Singed-off-by: Andrew Purtell <apurtell@apache.org>
  • Loading branch information
wchevreuil committed Sep 9, 2020
1 parent 9b8155d commit 62e43a7798f39cf39844d3a0c2e8cac0a9e0d024
Showing 2 changed files with 5 additions and 1 deletion.
@@ -221,6 +221,10 @@ public boolean doesBucketExist(String bucketName) {
return this.bucketName.equals(bucketName);
}

public boolean doesBucketExistV2(String bucketName) {
return this.doesBucketExist(bucketName);
}

public boolean doesObjectExist(String bucketName, String objectName) {
LOG.debug("doesObjectExist: {}", objectName);
return bucket.containsKey(objectName);
@@ -80,7 +80,7 @@ protected void start(Configuration conf) throws Exception {

Object zkCluster = testUtil.getClass().getDeclaredMethod("getZkCluster").invoke(testUtil);
int port = (int) zkCluster.getClass().getDeclaredMethod("getClientPort").invoke(zkCluster);
String hostname = InetAddress.getLocalHost().getHostName();
String hostname = InetAddress.getLoopbackAddress().getHostName();
connectionString = hostname + ":" + port;
setConfiguration(conf);
}

0 comments on commit 62e43a7

Please sign in to comment.