Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> API to get info for deprecated key


Copy link to this message
-
Re: API to get info for deprecated key
Good point. Please file a jira to add the new key to the deprecation warning. Thanks.

On May 22, 2012, at 12:52 AM, Subroto wrote:

> Hi,
>
> Though this question may relate to Hadoop-Common project but, I faced the concern while working with MR.
> The current version of Hadoop deprecates many keys but, takes care of adding the new keys to the configuration accordingly.
> For the end user only logs are there which indicates the key is deprecated and the message also suggests the new key to be used.
>
> I was thinking; there should be an API/Utility which could probably provide the new key information when called with old key.
> Using this API the user can judge in runtime to use the old key or new key.
> Currently the Configuration provides an API only to check whether a key is deprecated or not but, doesn't provides a way to get the corresponding new key.
>
> Cheers,
> Subroto Sanyal

--
Arun C. Murthy
Hortonworks Inc.
http://hortonworks.com/
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB