Likkey opened a new pull request, #4707:
URL: https://github.com/apache/hadoop/pull/4707

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   When the configuration item “dfs.client.mmap.cache.size” is set to a 
negative number, it will cause /hadoop/bin hdfs dfsadmin -safemode provides all 
the operation options including enter, leave, get, wait and forceExit are 
invalid, the terminal returns security mode is null and no exceptions are 
thrown.
   
   ### How was this patch tested?
   This patch improves the check mechanism related to 
“dfs.client.mmap.cache.size”, and give a clear indication when the 
configuration is abnormal in order to solve the problem in time and reduce the 
impact on the safe mode related operations.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to