public void close() throws IOException {
    if (csvPrinter != null) {
      csvPrinter.close();
      csvPrinter = null;
    }
  }
Closes the data file

@throws java.io.IOException
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/AbstractKerberosDataFileWriter.java