Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
It would be good to have a test mode in hive - this will help in checking the validity of a hive drop on a production cluster.
The following would be good to have:
Testmode --> In testmode, all input tables are sampled (if not already sampled) and all output tables are prefixed by a user supplied name.
This way, multiple hive drops can be compared quickly for correctness
New Options:
// whether hive is running in test mode. If yes, it turns on sampling and prefixes the output tablename set hive.test.mode=true; // if hive is running in test mode, prefixes the output table by this string set hive.test.mode.prefix=; // if hive is running in test mode and table is not bucketed, sampling frequency set hive.test.mode.samplefreq=256; // if hive is running in test mode, dont sample the above comma seperated list of tables set hive.test.mode.nosamplelist=;