Set Hive Table Replication
To set the replication factor of a table while loading it to HIVE you need to set the following property on the hive client.
SET dfs.replication=2;
LOAD DATA LOCAL ......;
60
Kudos
60
Kudos
To set the replication factor of a table while loading it to HIVE you need to set the following property on the hive client.
SET dfs.replication=2;
LOAD DATA LOCAL ......;
The beauty of storing raw JSON in HIVE is that you can potentially create multiple tables on the same data using Hive Views. Hive allows you to query JSON data using couple of different ways (json_tuple and get_json_object). The... Continue →