hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-984) Building Hive occasionally fails with Ivy error: hadoop#core;0.20.1!hadoop.tar.gz(source): invalid md5:
Date Mon, 14 Dec 2009 18:21:18 GMT

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

Carl Steinbach commented on HIVE-984:
-------------------------------------

Here's a workaround:

1) In your hive source directory run 'ant clean'.
2) remove the contents of ~/.ant/cache/hadoop/core/sources
3) Download the following files to ~/.ant/cache/hadoop/core/sources:

      hadoop-0.17.2.1.tar.gz
      hadoop-0.17.2.1.tar.gz.asc
      hadoop-0.18.3.tar.gz
      hadoop-0.18.3.tar.gz.asc
      hadoop-0.19.0.tar.gz
      hadoop-0.19.0.tar.gz.asc
      hadoop-0.20.0.tar.gz
      hadoop-0.20.0.tar.gz.asc

4) For each hadoop-xxx.tar.gz file, compute the sha1 checksum using sha1sum, and verify that
it matches the sha1 checksum in the corresponding .asc file.

If it does not match then the file is corrupt and you need to try downloading it again.

This step is not absolutely necessary since Ivy will check for you during the build process.

5) Try building Hive again following the instructions on the wiki. You shouldn't have any
problems if you verified the checksums.

As an additional note, if you don't care about support for Hadoop 0.17.2.1, or 0.18, etc,
you can disable support for these versions (and skip the download) by removing the references
to these versions that shims/build.xml and shims/ivy.xml

> Building Hive occasionally fails with Ivy error: hadoop#core;0.20.1!hadoop.tar.gz(source):
invalid md5:
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-984
>                 URL: https://issues.apache.org/jira/browse/HIVE-984
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Carl Steinbach
>
> Folks keep running into this problem when building Hive from source:
> {noformat}
> [ivy:retrieve]
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve]          [FAILED     ]
> hadoop#core;0.20.1!hadoop.tar.gz(source): invalid md5:
> expected=hadoop-0.20.1.tar.gz: computed=719e169b7760c168441b49f405855b72
> (138662ms)
> [ivy:retrieve]          [FAILED     ]
> hadoop#core;0.20.1!hadoop.tar.gz(source): invalid md5:
> expected=hadoop-0.20.1.tar.gz: computed=719e169b7760c168441b49f405855b72
> (138662ms)
> [ivy:retrieve]  ==== hadoop-resolver: tried
> [ivy:retrieve]
> http://archive.apache.org/dist/hadoop/core/hadoop-0.20.1/hadoop-0.20.1.tar.gz
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          :: hadoop#core;0.20.1!hadoop.tar.gz(source)
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> {noformat}
> The problem appears to be either with a) the Hive build scripts, b) ivy, or c) archive.apache.org
> Besides fixing the actual bug, one other option worth considering is to add the Hadoop
jars to the
> Hive source repository.

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


Mime
View raw message