Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 45284 invoked from network); 27 Jul 2009 21:21:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jul 2009 21:21:34 -0000 Received: (qmail 35511 invoked by uid 500); 27 Jul 2009 21:22:39 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 35465 invoked by uid 500); 27 Jul 2009 21:22:39 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 35195 invoked by uid 99); 27 Jul 2009 21:22:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2009 21:22:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2009 21:22:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E04FE234C04B for ; Mon, 27 Jul 2009 14:22:14 -0700 (PDT) Message-ID: <163010619.1248729734918.JavaMail.jira@brutus> Date: Mon, 27 Jul 2009 14:22:14 -0700 (PDT) From: "Ashish Thusoo (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-487) Hive does not compile with Hadoop 0.20.0 In-Reply-To: <1064133560.1242248086086.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735783#action_12735783 ] Ashish Thusoo commented on HIVE-487: ------------------------------------ Looks like a clean implementation. However, I do think that this will need some changes to the eclipse-templates to make it work with eclipse. We would want to conditionally add the src directory in shims corresponding to the proper version of hadoop to the eclipse launch templates in hive/eclipse-templates. Will try this out. > Hive does not compile with Hadoop 0.20.0 > ---------------------------------------- > > Key: HIVE-487 > URL: https://issues.apache.org/jira/browse/HIVE-487 > Project: Hadoop Hive > Issue Type: Bug > Affects Versions: 0.3.0 > Reporter: Aaron Kimball > Assignee: Justin Lynn > Priority: Blocker > Fix For: 0.4.0 > > Attachments: dynamic-proxy.tar.gz, HIVE-487-2.patch, hive-487-jetty-2.diff, hive-487-jetty.patch, hive-487.3.patch, hive-487.4.patch, HIVE-487.patch, hive-487.txt, jetty-patch.patch, junit-patch1.html > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.