You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Leo Alekseyev (JIRA)" <ji...@apache.org> on 2010/08/10 21:12:17 UTC

[jira] Commented: (HIVE-1192) Build fails when hadoop.version=0.20.1

    [ https://issues.apache.org/jira/browse/HIVE-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897003#action_12897003 ] 

Leo Alekseyev commented on HIVE-1192:
-------------------------------------

I just ran into this issue building the latest hive checkout.  Ivy somehow fails to retrieve the sources for 0.20.1 (notice how it's not in the list below): 
{code}
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found hadoop#core;0.17.2.1 in hadoop-source
[ivy:retrieve]  found hadoop#core;0.18.3 in hadoop-source
[ivy:retrieve]  found hadoop#core;0.19.0 in hadoop-source
[ivy:retrieve]  found hadoop#core;0.20.0 in hadoop-source
[ivy:retrieve] :: resolution report :: resolve 5143ms :: artifacts dl 5ms
{code}

I could get the build to work by doing wget http://mirror.facebook.net/facebook/hive-deps/hadoop/core/hadoop-0.20.1/hadoop-0.20.1.tar.gz and uncompressing into $HIVE_SRC/build/hadoopcore, but this is an unsatisfactory solution since we are trying to automate all builds.  Any ideas on a better fix?

> Build fails when hadoop.version=0.20.1
> --------------------------------------
>
>                 Key: HIVE-1192
>                 URL: https://issues.apache.org/jira/browse/HIVE-1192
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>         Attachments: hadoop-0.20.1.tar.gz.md5
>
>
> Setting hadoop.version=0.20.1 causes the build to fail since
> mirror.facebook.net/facebook/hive-deps does not have 0.20.1
> (only 0.17.2.1, 0.18.3, 0.19.0, 0.20.0).
> Suggested fix:
> * remove/ignore the hadoop.version configuration parameter
> or
> * Remove the patch numbers from these archives and use only the major.minor numbers specified by the user to locate the appropriate tarball to download, so 0.20.0 and 0.20.1 would both map to hadoop-0.20.tar.gz.
> * Optionally create new tarballs that only contain the components that are actually needed for the build (Hadoop jars), and remove things that aren't needed (all of the source files).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.