How do I suppress deprecated INFO on hive startup?
-bash-4.1$ hive
14/09/24 05:58:16 INFO Configuration.deprecation: mapred.input.dir.recursive is
deprecated. Instead, use mapreduce.input.fileinputformat.input.dir.recursive
14/09/24 05:58:16 INFO Configuration.deprecation: mapred.max.split.size
These are coming from hadoop.
You can turn them off by changing the property
org.apache.hadoop.conf.Configuration.deprecation in log4j.properties.
# Uncomment the following line to turn off configuration deprecation
warnings.
# log4j.logger.org.apache.hadoop.conf.Configuration.deprecation=WARN