hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepesh Khandelwal (JIRA)" <>
Subject [jira] [Updated] (HIVE-8185) hive-jdbc-0.14.0-SNAPSHOT-standalone.jar fails verification for signatures in build
Date Fri, 19 Sep 2014 00:47:34 GMT


Deepesh Khandelwal updated HIVE-8185:
    Attachment: HIVE-8185.1.patch

Potential patch, can someone review? The problem here existed from HIVE-538 which had the
change to produce the artifact. HIVE-8126 was just to include it in the lib directory of distribution.
The issue is that there the uber jar was built from classes from some signed jars and those
two additional files (META-INF/DUMMY.SF, META-INF/DUMMY.DSA) were picked up from one of those.
We need to explicitly exclude them and that is what the patch intends to do.

> hive-jdbc-0.14.0-SNAPSHOT-standalone.jar fails verification for signatures in build
> -----------------------------------------------------------------------------------
>                 Key: HIVE-8185
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.14.0
>            Reporter: Gopal V
>            Priority: Critical
>         Attachments: HIVE-8185.1.patch
> In the current build, running
> {code}
> jarsigner --verify ./lib/hive-jdbc-0.14.0-SNAPSHOT-standalone.jar
> Jar verification failed.
> {code}
> unless that jar is removed from the lib dir, all hive queries throw the following error

> {code}
> Exception in thread "main" java.lang.SecurityException: Invalid signature file digest
for Manifest main attributes
> 	at
> 	at
> 	at java.util.jar.JarVerifier.processEntry(
> 	at java.util.jar.JarVerifier.update(
> 	at java.util.jar.JarFile.initializeVerifier(
> 	at java.util.jar.JarFile.getInputStream(
> 	at sun.misc.URLClassPath$JarLoader$2.getInputStream(
> {code}

This message was sent by Atlassian JIRA

View raw message