[ https://issues.apache.org/jira/browse/HBASE-18337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16078720#comment-16078720 ]
Mike Drob commented on HBASE-18337: ----------------------------------- i haven't had a chance to test these with crunch yet, only verified that the signatures are removed locally. let's not push until i can get some cross-component testing done. > hbase-shaded-server brings in signed jars > ----------------------------------------- > > Key: HBASE-18337 > URL: https://issues.apache.org/jira/browse/HBASE-18337 > Project: HBase > Issue Type: Bug > Components: shading > Affects Versions: 2.0.0-alpha-1 > Reporter: Mike Drob > Assignee: Mike Drob > Fix For: 2.0.0-alpha-2 > > Attachments: HBASE-18337.patch > > > hbase-shaded-server brings in some digital signatures which causes problems > to our friends that need to use them at least in crunch and a few other > places as well. > they get errors like: > {noformat} > java.lang.SecurityException: Invalid signature file digest for Manifest main > attributes > at > sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:314) > at > sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:268) > at java.util.jar.JarVerifier.processEntry(JarVerifier.java:316) > at java.util.jar.JarVerifier.update(JarVerifier.java:228) > at java.util.jar.JarFile.initializeVerifier(JarFile.java:383) > at java.util.jar.JarFile.getInputStream(JarFile.java:450) > at > sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:162) > at java.net.URL.openStream(URL.java:1045) > at java.util.ServiceLoader.parse(ServiceLoader.java:304) > at java.util.ServiceLoader.access$200(ServiceLoader.java:185) > at > java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:357) > at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393) > at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474) > at org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:3169) > at > org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3217) > at > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3256) > at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:123) > at > org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3307) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3275) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:476) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:225) > at > org.apache.hadoop.hbase.HBaseTestingUtility.createRootDir(HBaseTestingUtility.java:1282) > at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1107) > at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1085) > at > org.apache.crunch.io.hbase.WordCountHBaseIT.setUp(WordCountHBaseIT.java:130) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)