Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3041

Kudu Java client shade is incomplete

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11.1
    • None
    • build, client
    • None

    Description

      While working on an update of the Kudu integration on Apache Beam BEAM-5086 We found this issue. We use tool to test for linkage errors and it reports the classes that are missing but required by other classes.

      This is the result for the kudu-client case:

      Class javax.servlet.ServletOutputStream is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.channel.socket.http.HttpTunnelingServlet (kudu-client-1.11.1.jar)
      Class javax.servlet.http.HttpServlet is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.channel.socket.http.HttpTunnelingServlet (kudu-client-1.11.1.jar)
      Class javax.servlet.ServletException is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.channel.socket.http.HttpTunnelingServlet (kudu-client-1.11.1.jar)
      Class javax.servlet.ServletConfig is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.channel.socket.http.HttpTunnelingServlet (kudu-client-1.11.1.jar)
      Class javax.servlet.http.HttpServletRequest is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.channel.socket.http.HttpTunnelingServlet (kudu-client-1.11.1.jar)
      Class javax.servlet.http.HttpServletResponse is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.channel.socket.http.HttpTunnelingServlet (kudu-client-1.11.1.jar)
      Class org.jboss.marshalling.ByteInput is not found;
       referenced by 4 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.ChannelBufferByteInput (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.LimitingByteInput (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.ChannelBufferByteInput (beam-vendor-grpc-1_21_0-0.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.LimitingByteInput (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.jboss.marshalling.ByteOutput is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.ChannelBufferByteOutput (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.ChannelBufferByteOutput (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.jboss.marshalling.Unmarshaller is not found;
       referenced by 8 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.CompatibleMarshallingDecoder (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.ContextBoundUnmarshallerProvider (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.MarshallingDecoder (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.ThreadLocalUnmarshallerProvider (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.MarshallingDecoder (beam-vendor-grpc-1_21_0-0.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.CompatibleMarshallingDecoder (beam-vendor-grpc-1_21_0-0.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.ThreadLocalUnmarshallerProvider (beam-vendor-grpc-1_21_0-0.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.ContextBoundUnmarshallerProvider (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.jboss.marshalling.Marshaller is not found;
       referenced by 6 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.CompatibleMarshallingEncoder (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.MarshallingEncoder (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.ThreadLocalMarshallerProvider (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.CompatibleMarshallingEncoder (beam-vendor-grpc-1_21_0-0.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.MarshallingEncoder (beam-vendor-grpc-1_21_0-0.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.ThreadLocalMarshallerProvider (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.jboss.marshalling.MarshallerFactory is not found;
       referenced by 8 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.DefaultMarshallerProvider (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.DefaultUnmarshallerProvider (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.ThreadLocalMarshallerProvider (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.codec.marshalling.ThreadLocalUnmarshallerProvider (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.DefaultUnmarshallerProvider (beam-vendor-grpc-1_21_0-0.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.DefaultMarshallerProvider (beam-vendor-grpc-1_21_0-0.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.ThreadLocalMarshallerProvider (beam-vendor-grpc-1_21_0-0.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.codec.marshalling.ThreadLocalUnmarshallerProvider (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.eclipse.jetty.npn.NextProtoNego$ServerProvider is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.JettyNpnSslEngine (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.ssl.JettyNpnSslEngine (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.eclipse.jetty.npn.NextProtoNego$ClientProvider is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.JettyNpnSslEngine (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.ssl.JettyNpnSslEngine (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.eclipse.jetty.npn.NextProtoNego is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.JettyNpnSslEngine (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.ssl.JettyNpnSslEngine (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.apache.tomcat.jni.SSL is not found;
       referenced by 3 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.OpenSsl (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.OpenSslEngine (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.OpenSslServerContext (kudu-client-1.11.1.jar)
      Class org.apache.tomcat.jni.Library is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.OpenSsl (kudu-client-1.11.1.jar)
      Class org.apache.tomcat.jni.Buffer is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.OpenSslEngine (kudu-client-1.11.1.jar)
      Class org.apache.tomcat.jni.Pool is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.OpenSslServerContext (kudu-client-1.11.1.jar)
      Class org.apache.tomcat.jni.SSLContext is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.OpenSslServerContext (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.OpenSslSessionStats (kudu-client-1.11.1.jar)
      Class org.bouncycastle.asn1.x500.X500Name is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.bouncycastle.cert.jcajce.JcaX509v3CertificateBuilder is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.bouncycastle.operator.jcajce.JcaContentSignerBuilder is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.bouncycastle.cert.X509v3CertificateBuilder is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.bouncycastle.cert.jcajce.JcaX509CertificateConverter is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.bouncycastle.jce.provider.BouncyCastleProvider is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.apache.kudu.shaded.org.apache.commons.logging.Log is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.logging.CommonsLogger (kudu-client-1.11.1.jar)
      Class org.apache.kudu.shaded.org.apache.commons.logging.LogFactory is not found;
       referenced by 1 class file
       org.apache.kudu.shaded.org.jboss.netty.logging.CommonsLoggerFactory (kudu-client-1.11.1.jar)
      Class org.jboss.logging.Logger is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.logging.JBossLogger (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.logging.JBossLoggerFactory (kudu-client-1.11.1.jar)
      Class org.apache.log4j.Logger is not found;
       referenced by 3 class files
       org.apache.kudu.shaded.org.jboss.netty.logging.Log4JLogger (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.logging.Log4JLoggerFactory (kudu-client-1.11.1.jar)
       org.apache.beam.vendor.grpc.v1p21p0.io.netty.util.internal.logging.Log4JLoggerFactory (beam-vendor-grpc-1_21_0-0.1.jar)
      Class org.osgi.service.log.LogService is not found;
       referenced by 2 class files
       org.apache.kudu.shaded.org.jboss.netty.logging.OsgiLogger (kudu-client-1.11.1.jar)
       org.apache.kudu.shaded.org.jboss.netty.logging.OsgiLoggerFactory (kudu-client-1.11.1.jar)

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            iemejia Ismaël Mejía
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: