Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6275

Add conditional Hadoop properties assignment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • 0.95.2
    • None
    • Client, master, regionserver
    • beginner

    Description

      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:

      2012-06-25 16:13:44,819 WARN org.apache.hadoop.conf.Configuration: fs.default.name is deprecated. Instead, use fs.defaultFS

      As well as this subsequently sporting the same issue:

      2012-06-25 16:13:44,819 WARN org.apache.hadoop.conf.Configuration: mapred.task.id is deprecated. Instead, use mapreduce.task.attempt.id

      And the shell does:

      12/06/25 16:05:26 WARN conf.Configuration: hadoop.native.lib is deprecated. Instead, use io.native.lib.available

      Talking to Stack he suggest:

      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).

      Attachments

        1. HBASE-6275.patch
          13 kB
          Lars George

        Activity

          People

            Unassigned Unassigned
            larsgeorge Lars George
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: