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 ......;
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 ......;
Here are the steps to hot swap a table in Hive when you manually load data in them. Hot Swapping the table allows you to refresh an entire table without any downtime thus making your table always available for querying. With this... Continue →