Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6159

Hive uses deprecated hadoop configuration in Hadoop 2.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: Configuration
    • Labels:
      None

      Description

      Build hive against hadoop 2.0. Then run hive CLI, you'll see deprecated configurations warnings like this:

      13/12/14 01:00:51 INFO Configuration.deprecation: mapred.input.dir.recursive is
      deprecated. Instead, use mapreduce.input.fileinputformat.input.dir.recursive
      13/12/14 01:00:52 INFO Configuration.deprecation: mapred.max.split.size is depre
      cated. Instead, use mapreduce.input.fileinputformat.split.maxsize
      13/12/14 01:00:52 INFO Configuration.deprecation: mapred.min.split.size is depre
      cated. Instead, use mapreduce.input.fileinputformat.split.minsize
      13/12/14 01:00:52 INFO Configuration.deprecation: mapred.min.split.size.per.rack
      is deprecated. Instead, use mapreduce.input.fileinputformat.split.minsize.per.r
      ack
      13/12/14 01:00:52 INFO Configuration.deprecation: mapred.min.split.size.per.node
      is deprecated. Instead, use mapreduce.input.fileinputformat.split.minsize.per.n
      ode
      13/12/14 01:00:52 INFO Configuration.deprecation: mapred.reduce.tasks is depreca
      ted. Instead, use mapreduce.job.reduces
      13/12/14 01:00:52 INFO Configuration.deprecation: mapred.reduce.tasks.speculativ
      e.execution is deprecated. Instead, use mapreduce.reduce.speculative

        Attachments

        1. HIVE-6159-v4.patch
          14 kB
          shanyu zhao
        2. HIVE-6159-v3.patch
          14 kB
          shanyu zhao
        3. HIVE-6159-v2.patch
          13 kB
          shanyu zhao
        4. HIVE-6159.patch
          12 kB
          shanyu zhao
        5. HIVE-6159.5.patch
          13 kB
          shanyu zhao
        6. HIVE-6159.4.patch
          14 kB
          shanyu zhao

          Issue Links

            Activity

              People

              • Assignee:
                shanyu shanyu zhao
                Reporter:
                shanyu shanyu zhao
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: