private void writeFileSystemInfo(DataOutputStream out, Hive db, HiveConf conf, Partition partition, Table table)
      throws HiveException, IOException {
    List<Path> locations = getLocations(db, partition, table);
    if (!locations.isEmpty()) {
      writeFileSystemStats(out, conf, locations, table.getPath());
    }

    out.write(Utilities.newLineCode);
  }
Formats SHOW TABLE STATUS commands to text format.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/show/status/formatter/TextShowTableStatusFormatter.java