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

Hive does not compile with Hadoop 0.20.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • None
    • None
    • Reviewed

    Description

      Attempting to compile Hive with Hadoop 0.20.0 fails:

      aaron@jargon:~/src/ext/svn/hive-0.3.0$ ant -Dhadoop.version=0.20.0 package
      (several lines elided)
      compile:
      [echo] Compiling: hive
      [javac] Compiling 261 source files to /home/aaron/src/ext/svn/hive-0.3.0/build/ql/classes
      [javac] /home/aaron/src/ext/svn/hive-0.3.0/build/ql/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java:94: cannot find symbol
      [javac] symbol : method getCommandLineConfig()
      [javac] location: class org.apache.hadoop.mapred.JobClient
      [javac] Configuration commandConf = JobClient.getCommandLineConfig();
      [javac] ^
      [javac] /home/aaron/src/ext/svn/hive-0.3.0/build/ql/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java:241: cannot find symbol
      [javac] symbol : method validateInput(org.apache.hadoop.mapred.JobConf)
      [javac] location: interface org.apache.hadoop.mapred.InputFormat
      [javac] inputFormat.validateInput(newjob);
      [javac] ^
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 2 errors

      BUILD FAILED
      /home/aaron/src/ext/svn/hive-0.3.0/build.xml:145: The following error occurred while executing this line:
      /home/aaron/src/ext/svn/hive-0.3.0/ql/build.xml:135: Compile failed; see the compiler error output for details.

      Attachments

        1. dynamic-proxy.tar.gz
          2 kB
          Todd Lipcon
        2. hive-487.3.patch
          9 kB
          Joydeep Sen Sarma
        3. hive-487.4.patch
          9 kB
          Joydeep Sen Sarma
        4. HIVE-487.patch
          40 kB
          Justin Lynn
        5. hive-487.txt
          34 kB
          Todd Lipcon
        6. hive-487.txt
          34 kB
          Todd Lipcon
        7. HIVE-487-2.patch
          5 kB
          Justin Lynn
        8. hive-487-jetty.patch
          17 kB
          Edward Capriolo
        9. hive-487-jetty-2.diff
          17 kB
          Edward Capriolo
        10. hive-487-runtime.patch
          56 kB
          Todd Lipcon
        11. hive-487-with-cli-changes.2.patch
          40 kB
          Joydeep Sen Sarma
        12. hive-487-with-cli-changes.3.patch
          41 kB
          Todd Lipcon
        13. hive-487-with-cli-changes.patch
          38 kB
          Joydeep Sen Sarma
        14. jetty-patch.patch
          8 kB
          Edward Capriolo
        15. junit-patch1.html
          372 kB
          Justin Lynn
        16. patch-487.txt
          37 kB
          Ashish Thusoo

        Issue Links

          Activity

            People

              justinlynn Justin Lynn
              kimballa Aaron Kimball
              Votes:
              3 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: