Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18337

hbase-shaded-server brings in signed jars

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha-1
    • Fix Version/s: 2.0.0-alpha-2, 2.0.0
    • Component/s: shading
    • Labels:
      None

      Description

      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:

      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)
      

        Attachments

        1. HBASE-18337.patch
          1 kB
          Mike Drob

          Activity

            People

            • Assignee:
              mdrob Mike Drob
              Reporter:
              mdrob Mike Drob
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: