Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-3504

Suppress some org.glassfish.jersey.internal.inject.Providers warnings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.0, 0.8.1, 0.9.0
    • None
    • None
    • None

    Description

      It would be great to suppress warning like [1] which we see a lot after jersey upgrade.

      As discussed on https://github.com/jersey/jersey/issues/3700, it's possible to workaround 
      by calling

      Java.lang.System.setErr()

       to set 

      org.glassfish.jersey.internal.inject.Providers=SEVERE

      Thanks to zjffdu for pointing this out.

       

      [1]

      WARNING: A provider org.apache.zeppelin.rest.SecurityRestApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.zeppelin.rest.SecurityRestApi will be ignored.
       
      May 22, 2018 11:21:57 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
      WARNING: A provider org.apache.zeppelin.rest.InterpreterRestApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.zeppelin.rest.InterpreterRestApi will be ignored.
       
      May 22, 2018 11:21:57 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
      WARNING: A provider org.apache.zeppelin.rest.LoginRestApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.zeppelin.rest.LoginRestApi will be ignored.
       
      May 22, 2018 11:21:57 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
      WARNING: A provider org.apache.zeppelin.rest.NotebookRepoRestApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.zeppelin.rest.NotebookRepoRestApi will be ignored.
       
      May 22, 2018 11:21:57 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
      WARNING: A provider org.apache.zeppelin.rest.HeliumRestApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.zeppelin.rest.HeliumRestApi will be ignored.
       
      May 22, 2018 11:21:57 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
      WARNING: A provider org.apache.zeppelin.rest.NotebookRestApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.zeppelin.rest.NotebookRestApi will be ignored.
       
      May 22, 2018 11:21:57 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
      WARNING: A provider org.apache.zeppelin.rest.ConfigurationsRestApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.zeppelin.rest.ConfigurationsRestApi will be ignored.
       
      May 22, 2018 11:21:57 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
      WARNING: A provider org.apache.zeppelin.rest.CredentialRestApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.zeppelin.rest.CredentialRestApi will be ignored.
       
      May 22, 2018 11:21:57 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
      WARNING: A provider org.apache.zeppelin.rest.ZeppelinRestApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.zeppelin.rest.ZeppelinRestApi will be ignored.
       
      May 22, 2018 11:21:57 AM org.glassfish.jersey.internal.Errors logErrors
      WARNING: The following warnings have been detected: WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.zeppelin.rest.InterpreterRestApi.listInterpreter(java.lang.String), should not consume any entity.
       
      WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.zeppelin.rest.CredentialRestApi.getCredentials(java.lang.String) throws java.io.IOException,java.lang.IllegalArgumentException, should not consume any entity.
       
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Tagar Ruslan Dautkhanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: