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

Hive does not compile with Hadoop 0.20.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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. HIVE-487.patch
          40 kB
          Justin Lynn
        2. junit-patch1.html
          372 kB
          Justin Lynn
        3. HIVE-487-2.patch
          5 kB
          Justin Lynn
        4. hive-487.3.patch
          9 kB
          Joydeep Sen Sarma
        5. hive-487.4.patch
          9 kB
          Joydeep Sen Sarma
        6. jetty-patch.patch
          8 kB
          Edward Capriolo
        7. hive-487-jetty-2.diff
          17 kB
          Edward Capriolo
        8. hive-487-jetty.patch
          17 kB
          Edward Capriolo
        9. dynamic-proxy.tar.gz
          2 kB
          Todd Lipcon
        10. hive-487.txt
          34 kB
          Todd Lipcon
        11. hive-487.txt
          34 kB
          Todd Lipcon
        12. patch-487.txt
          37 kB
          Ashish Thusoo
        13. hive-487-with-cli-changes.patch
          38 kB
          Joydeep Sen Sarma
        14. hive-487-with-cli-changes.2.patch
          40 kB
          Joydeep Sen Sarma
        15. hive-487-with-cli-changes.3.patch
          41 kB
          Todd Lipcon
        16. hive-487-runtime.patch
          56 kB
          Todd Lipcon

          Issue Links

            Activity

              People

              • Assignee:
                justinlynn Justin Lynn
                Reporter:
                kimballa Aaron Kimball
              • Votes:
                3 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: