Ruslan Dautkhanov created ZEPPELIN-3504:
-------------------------------------------
Summary: Suppress some
org.glassfish.jersey.internal.inject.Providers warnings
Key: ZEPPELIN-3504
URL: https://issues.apache.org/jira/browse/ZEPPELIN-3504
Project: Zeppelin
Issue Type: Improvement
Affects Versions: 0.8.0, 0.9.0, 0.8.1
Reporter: Ruslan Dautkhanov
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
{code:java}
Java.lang.System.setErr(){code}
to set
{quote}org.glassfish.jersey.internal.inject.Providers=SEVERE{quote}
Thanks to [~zjffdu] for pointing this out.
[1]
{noformat}
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.
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)