row format serde 'org.apache.hive.hcatalog.data.JsonSerDe'
LOCATION '/dummy/location';
Alter the Temporary
Table to have partitioned by the Date. This is needed to load each days log
file into hive table. This will load the data into tabl
ALTER
TABLE ranger_audit_event_json_tmp ADD PARTITION (evtDate='20160315') LOCATION
'/ranger/audit/hdfs/20160315';
ALTER
TABLE ranger_audit_event_json_tmp ADD PARTITION (evtDate=’20160316’) LOCATION
‘/ranger/audit/hdfs/20160316’;