HCatalog also allows us to write data to Hive tables from Java MapReduce computations using the
HCatOutputFormat. In this recipe, we'll be looking at how to write data to a Hive table using a Java MapReduce computation. This recipe extends the computation of the previous HCatalog – performing Java MapReduce computations on data mapped to Hive tables recipe by adding table write capability.
Make sure HCatalog is installed with Hive in your system.
This section demonstrates how to write data to a Hive table using a MapReduce computation. Perform the following steps: