public static PrintStream getInfoStream() {
      SessionState ss = SessionState.get();
      return ((ss != null) && (ss.info != null)) ? ss.info : getErrStream();
    }
Get the console info stream for HiveServer2 or HiveCli.
@return The info stream
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java