hcolBytes = Hex.decodeHex(hcolStr.toCharArray());
} catch (DecoderException e) {
throw new AssertionError("Bad hex string: " + hcolStr);
}
HColumnDescriptor hcol = new HColumnDescriptor();
hcol.readFields(new DataInputStream(new ByteArrayInputStream(hcolBytes)));
LOG.info("Output path: " + outputPath);
LOG.info("HColumnDescriptor: " + hcol.toString());
final HFile.Writer writer = HFile.getWriterFactoryNoCache(conf)
.withPath(fs, outputPath)
.withComparator(KeyValue.COMPARATOR)