protected void appendRecord(String... record) throws IOException {

    if (csvPrinter == null) {
      throw new IOException("Data file is not open");
    }

    csvPrinter.printRecord(record);
  }
Appends a new record to the data file

@param record a collection of Strings declaring values for the columns of the file
@throws java.io.IOException
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/AbstractKerberosDataFileWriter.java