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

Aditya Kishore commented on HIVE-3224:
--------------------------------------

No, the SHA-1 is correct. The problem is that (apparently) the server hosting 
the jar has turned on gzip encoding but IVY (pre 2.2.0) does not decode it 
after receiving the content and what you get is a GZIpped version of jar whose 
sha-1 will of course differ from the original jar.

Funny that a wget on the same URL behaved in the same way (i.e. GZipped jar).
                
> build dependencies download is failing because of sha-1 mismatch
> ----------------------------------------------------------------
>
>                 Key: HIVE-3224
>                 URL: https://issues.apache.org/jira/browse/HIVE-3224
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.9.1
>            Reporter: Francis Liu
>
> Building either trunk or branch-0.9 is failing because of sha-1 dependencies. 
> You'll have to clear your ivy cache (rm ~/.ivy2) to reproduce it. It seems 
> the sha-1 for hadoop-core and hadoop-test don't match.  See below.
> [ivy:resolve] .. (0kB)
> [ivy:resolve] 
> [ivy:resolve] :: problems summary ::
> [ivy:resolve] :::: WARNINGS
> [ivy:resolve]                 [FAILED     ] 
> org.apache.hadoop#hadoop-core;0.20.2!hadoop-core.jar: invalid sha1: 
> expected=200f54e0051f3148fae8d8fb66fa3f477e52777f 
> computed=715b8d44fe3d3b692da62d60f0a5e6d8e564e854 (1530ms)
> [ivy:resolve]                 [FAILED     ] 
> org.apache.hadoop#hadoop-core;0.20.2!hadoop-core.jar:  (0ms)
> [ivy:resolve]         ==== local: tried
> [ivy:resolve]           
> /Users/fcliu/.ivy2/local/org.apache.hadoop/hadoop-core/0.20.2/jars/hadoop-core.jar
> [ivy:resolve]         ==== apache-snapshot: tried
> [ivy:resolve]           
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-core/0.20.2/hadoop-core-0.20.2.jar
> [ivy:resolve]         ==== maven2: tried
> [ivy:resolve]           
> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/0.20.2/hadoop-core-0.20.2.jar
> [ivy:resolve]         ==== datanucleus-repo: tried
> [ivy:resolve]           
> http://www.datanucleus.org/downloads/maven2/org/apache/hadoop/hadoop-core/0.20.2/hadoop-core-0.20.2.jar
> [ivy:resolve]         ==== hadoop-source: tried
> [ivy:resolve]           
> http://mirror.facebook.net/facebook/hive-deps/hadoop/core/hadoop-core-0.20.2/hadoop-core-0.20.2.jar
> [ivy:resolve]         ==== hadoop-source2: tried
> [ivy:resolve]           
> http://archive.cloudera.com/hive-deps/hadoop/core/hadoop-core-0.20.2/hadoop-core-0.20.2.jar
> [ivy:resolve]                 [FAILED     ] 
> org.apache.hadoop#hadoop-test;0.20.2!hadoop-test.jar: invalid sha1: 
> expected=0547f30bb192ac86ec30b024cc1c44f5ca7c5029 
> computed=de3813424008d1193254742e341df193742404a0 (969ms)
> [ivy:resolve]                 [FAILED     ] 
> org.apache.hadoop#hadoop-test;0.20.2!hadoop-test.jar:  (0ms)
> [ivy:resolve]         ==== local: tried
> [ivy:resolve]           
> /Users/fcliu/.ivy2/local/org.apache.hadoop/hadoop-test/0.20.2/jars/hadoop-test.jar
> [ivy:resolve]         ==== apache-snapshot: tried
> [ivy:resolve]           
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-test/0.20.2/hadoop-test-0.20.2.jar

--
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

        

Reply via email to