@Override
  public void close() {
    try {
      super.close();
    } catch (IOException ioe) {
      ioe.printStackTrace();
    } 
  }
-i option if any that the session has been invoked with.
cli/src/java/org/apache/hadoop/hive/cli/CliSessionState.java