ddanielr commented on code in PR #5383:
URL: https://github.com/apache/accumulo/pull/5383#discussion_r1991849389


##########
server/base/src/main/java/org/apache/accumulo/server/AbstractServer.java:
##########
@@ -72,6 +73,21 @@ protected AbstractServer(String appName, ConfigOpts opts, 
String[] args) {
     this.hostname = siteConfig.get(Property.GENERAL_PROCESS_BIND_ADDRESS);
     SecurityUtil.serverLogin(siteConfig);
     context = new ServerContext(siteConfig);
+
+    final String upgradePrepNode = context.getZooKeeperRoot() + 
Constants.ZPREPARE_FOR_UPGRADE;

Review Comment:
   I ran into that issue when trying to test #4513. 
   The AccumuloClusterHarness doesn't really expose the information needed for 
running a specific server type and getting back the exception from the 
execution process. 
   
   I played around a bit yesterday with trying to use some of the MAC cluster 
control methods to return the process and  read the `process.getErrorStream()` 
for the exception message but when the exception is thrown on server startup 
it's very difficult to get the info before the process dies. 
   
   Maybe there is a way to get the log file that was recently created and grep 
that for the Exception message?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to