@Override
      public void write(Writable r) throws IOException {
        if (r instanceof Text) {
          Text tr = (Text) r;
          outStream.write(tr.getBytes(), 0, tr.getLength());
        } else {
          // Binary SerDes always write out BytesWritable
          BytesWritable bw = (BytesWritable) r;
          outStream.write(bw.get(), 0, bw.getSize());
        }
      }
create the final out file, and output row by row. After one row is
appended, a configured row separator is appended

@param jc
         the job configuration file
@param outPath
         the final output file to be created
@param valueClass
         the value class used for create
@param isCompressed
         ignored. Currently we don't support compression.
@param tableProperties
         the tableProperties of this file's corresponding table
@param progress
         progress used for status report
@return the RecordWriter
ql/src/java/org/apache/hadoop/hive/ql/io/HiveBinaryOutputFormat.java