initial proposal of changes

This commit provides the changes describled in comment of BIGTOP-1032
issue:

https://issues.apache.org/jira/browse/BIGTOP-1032?focusedCommentId=13766712#comment-13766712

And attached directly here:

 * https://issues.apache.org/jira/secure/attachment/12603059/FSCmdExecutor.java
 * https://issues.apache.org/jira/secure/attachment/12603060/TestCLI.java