You can refer to HFilePerformanceEvaluation where creation of Writer is
writer = HFile.getWriterFactoryNoCache(conf)
On Sun, Feb 25, 2018 at 12:42 PM, Mike Thomsen <[hidden email]>
> I'm looking into creating HFiles directly from NiFi using the HBase API. It
> seems pretty straight forward:
> 1. Open a HFile.Writer pointing to a file path in HDFS.
> 2. Write the cells with the HFile API.
> 3. Call the incremental loader API to have it tell HBase to load the
> generated segments.
> Is that right? If so, are there any gotchas that I should be aware of?