Two Issues Here :
Firstly Prior to
HDFS-15321, When DFSAdmin was closed the FileSystem associated with it was closed as part of close method, But post HDFS-15321, the FileSystem isn't stored as part of FsShell, hence during close, the FileSystem still stays and isn't close.
- This is the reason for failure of TestDFSHAAdmin
Second : DfsAdmin -setBalancerBandwidth doesn't work with ViewFSOverloadScheme since the setBalancerBandwidth calls getFS() rather than getDFS() which resolves the scheme in