d-c-manning commented on a change in pull request #3308:
URL: https://github.com/apache/hbase/pull/3308#discussion_r639430577



##########
File path: 
hbase-server/src/test/java/org/apache/hadoop/hbase/TestClusterPortAssignment.java
##########
@@ -44,16 +46,20 @@
   @Test
   public void testClusterPortAssignment() throws Exception {
     boolean retry = false;
+    int retryCount = 0;
     do {
       int masterPort =  HBaseTestingUtility.randomFreePort();
       int masterInfoPort =  HBaseTestingUtility.randomFreePort();
       int rsPort =  HBaseTestingUtility.randomFreePort();
       int rsInfoPort =  HBaseTestingUtility.randomFreePort();
       
TEST_UTIL.getConfiguration().setBoolean(LocalHBaseCluster.ASSIGN_RANDOM_PORTS, 
false);
+      
TEST_UTIL.getConfiguration().setBoolean(HConstants.REGIONSERVER_INFO_PORT_AUTO, 
false);
+      TEST_UTIL.getConfiguration().setBoolean("fs.hdfs.impl.disable.cache", 
true);

Review comment:
       interesting, I'll have to look into this feature. I'm not sure why we 
need this. Which error do we see if we don't have this? I don't see any other 
test using it, but maybe none of them try to quickly restart?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to