Manno15 commented on a change in pull request #2228:
URL: https://github.com/apache/accumulo/pull/2228#discussion_r686919495



##########
File path: 
server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
##########
@@ -724,8 +709,8 @@ private String getRootUserName(SiteConfiguration 
siteConfig, Opts opts) throws I
       return DEFAULT_ROOT_USER;
     }
 
-    LineReader c = getLineReader();
-    c.getTerminal().writer().println("Running against secured HDFS");
+    Console c = System.console();

Review comment:
       ```suggestion
       
   ```
   
   Can drop this and instead do 
   
   ```
   System.console().readLine("Principal (user) to grant administrative 
privileges to : "); 
   ```
   below where c is used (it is used only once).




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