protected void setupConsoleReader() throws IOException {
    reader = new ConsoleReader();
    reader.setExpandEvents(false);
    reader.setBellEnabled(false);
    for (Completer completer : getCommandCompleter()) {
      reader.addCompleter(completer);
    }
    setupCmdHistory();
  }
Execute the cli work
@param ss CliSessionState of the CLI driver
@param conf HiveConf for the driver session
@param oproc Operation processor of the CLI invocation
@return status of the CLI command execution
@throws Exception
cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java