Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0.0
Description
/** * Enter, leave or get safe mode. * * @param action * One of SafeModeAction.ENTER, SafeModeAction.LEAVE and * SafeModeAction.GET. * @param isChecked * If true check only for Active NNs status, else check first NN's * status. * * @see org.apache.hadoop.hdfs.protocol.ClientProtocol#setSafeMode(HdfsConstants.SafeModeAction, * boolean) * * @deprecated please instead use * {@link DistributedFileSystem#setSafeMode(SafeModeAction, boolean)}. */ @Deprecated public boolean setSafeMode(HdfsConstants.SafeModeAction action, boolean isChecked) throws IOException { return dfs.setSafeMode(action, isChecked); }
`setSafeMode(HdfsConstants.SafeModeAction, boolean)` is `Deprecated`
Attachments
Issue Links
- links to