You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Amareshwari Sriramadasu (Created) (JIRA)" <ji...@apache.org> on 2012/01/24 06:37:41 UTC

[jira] [Created] (HIVE-2740) c results in compilation errors

c results in compilation errors
-------------------------------

                 Key: HIVE-2740
                 URL: https://issues.apache.org/jira/browse/HIVE-2740
             Project: Hive
          Issue Type: Bug
          Components: Build Infrastructure
    Affects Versions: 0.8.1
            Reporter: Amareshwari Sriramadasu
            Assignee: Thomas Weise


ant clean package -Dshims.include=0.23 results in compilation errors for component common.
For ex:

{noformat}
    [echo] Project: common
    [javac] Compiling 15 source files to /home/amarsri/workspace/hive/build/common/classes
    [javac] /home/amarsri/workspace/hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:26: package org.apache.hadoop.conf does not exist
    [javac] import org.apache.hadoop.conf.Configuration;
    [javac]                              ^
{noformat}

Thomas, Can you look into it?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HIVE-2740) ant clean package -Dshims.include=0.23 results in compilation errors

Posted by "Amareshwari Sriramadasu (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu resolved HIVE-2740.
-------------------------------------------

    Resolution: Invalid
      Assignee:     (was: Thomas Weise)

Hadoop to pass hadoop.version and hadoop.security.version explicitly. Could compile against 0.23 alone by running:
ant clean package -Dshims.include=0.23 -Dhadoop.version=0.23.0
-Dhadoop.security.version=0.23.0
                
> ant clean package -Dshims.include=0.23 results in compilation errors
> --------------------------------------------------------------------
>
>                 Key: HIVE-2740
>                 URL: https://issues.apache.org/jira/browse/HIVE-2740
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.8.1
>            Reporter: Amareshwari Sriramadasu
>
> ant clean package -Dshims.include=0.23 results in compilation errors for component common.
> For ex:
> {noformat}
>     [echo] Project: common
>     [javac] Compiling 15 source files to /home/amarsri/workspace/hive/build/common/classes
>     [javac] /home/amarsri/workspace/hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:26: package org.apache.hadoop.conf does not exist
>     [javac] import org.apache.hadoop.conf.Configuration;
>     [javac]                              ^
> {noformat}
> Thomas, Can you look into it?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2740) ant clean package -Dshims.include=0.23 results in compilation errors

Posted by "Thomas Weise (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192315#comment-13192315 ] 

Thomas Weise commented on HIVE-2740:
------------------------------------

This should be enough:

{{ant clean package -Dshims.include=0.23 -Dhadoop.version=0.23.0}}

Since you are only compiling the .23 shim other Hadoop versions won't be fetched and you need to specify hadoop.version to compile the common code.

                
> ant clean package -Dshims.include=0.23 results in compilation errors
> --------------------------------------------------------------------
>
>                 Key: HIVE-2740
>                 URL: https://issues.apache.org/jira/browse/HIVE-2740
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.8.1
>            Reporter: Amareshwari Sriramadasu
>
> ant clean package -Dshims.include=0.23 results in compilation errors for component common.
> For ex:
> {noformat}
>     [echo] Project: common
>     [javac] Compiling 15 source files to /home/amarsri/workspace/hive/build/common/classes
>     [javac] /home/amarsri/workspace/hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:26: package org.apache.hadoop.conf does not exist
>     [javac] import org.apache.hadoop.conf.Configuration;
>     [javac]                              ^
> {noformat}
> Thomas, Can you look into it?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2740) ant clean package -Dshims.include=0.23 results in compilation errors

Posted by "Amareshwari Sriramadasu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated HIVE-2740:
------------------------------------------

    Summary: ant clean package -Dshims.include=0.23 results in compilation errors  (was: c results in compilation errors)
    
> ant clean package -Dshims.include=0.23 results in compilation errors
> --------------------------------------------------------------------
>
>                 Key: HIVE-2740
>                 URL: https://issues.apache.org/jira/browse/HIVE-2740
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.8.1
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Thomas Weise
>
> ant clean package -Dshims.include=0.23 results in compilation errors for component common.
> For ex:
> {noformat}
>     [echo] Project: common
>     [javac] Compiling 15 source files to /home/amarsri/workspace/hive/build/common/classes
>     [javac] /home/amarsri/workspace/hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:26: package org.apache.hadoop.conf does not exist
>     [javac] import org.apache.hadoop.conf.Configuration;
>     [javac]                              ^
> {noformat}
> Thomas, Can you look into it?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira