hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6275) Add conditional Hadoop properties assignment
Date Mon, 02 Jul 2012 20:17:36 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405305#comment-13405305
] 

Lars George commented on HBASE-6275:
------------------------------------

We could also actually use the handleDeprecation() to replace old with new keys. But on the
other hand, I think we should know where we are using outdated keys and update the code once
we drop the support for the old keys. For the time being all that is needed is to avoid the
warning messages. That is what this patch does. 

Please have a look and let me know if this is the right approach. 
                
> Add conditional Hadoop properties assignment
> --------------------------------------------
>
>                 Key: HBASE-6275
>                 URL: https://issues.apache.org/jira/browse/HBASE-6275
>             Project: HBase
>          Issue Type: Improvement
>          Components: client, master, regionserver
>    Affects Versions: 0.96.0
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Minor
>             Fix For: 0.96.0
>
>         Attachments: HBASE-6275.patch
>
>
> See https://issues.apache.org/jira/browse/HBASE-3639, we should use VersionInfo to put
the proper one in, yet only one of them. Currently we always get this message when you start
a daemon or the shell:
> {noformat}2012-06-25 16:13:44,819 WARN org.apache.hadoop.conf.Configuration: fs.default.name
is deprecated. Instead, use fs.defaultFS{noformat}
> As well as this subsequently sporting the same issue:
> {noformat}2012-06-25 16:13:44,819 WARN org.apache.hadoop.conf.Configuration: mapred.task.id
is deprecated. Instead, use mapreduce.task.attempt.id{noformat}
> And the shell does:
> {noformat}12/06/25 16:05:26 WARN conf.Configuration: hadoop.native.lib is deprecated.
Instead, use io.native.lib.available{noformat}
> Talking to Stack he suggest:
> {quote}We should make a little function under util to do it because it will be
> reused in a bunch of places (in daemons, shell, out in scripts, etc).{quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message