Amareshwari Sriramadasu created LENS-809:
--------------------------------------------
Summary: Warnings for return types from REST APIs
Key: LENS-809
URL: https://issues.apache.org/jira/browse/LENS-809
Project: Apache Lens
Issue Type: Bug
Components: api, server
Affects Versions: 2.3
Reporter: Amareshwari Sriramadasu
Fix For: 2.5
Seeing following in server logs when it comes up :
09 Oct 2015 05:36:13 [f551b16d-5c05-4450-9245-03e1467dd2e1] [main] WARN
org.glassfish.jersey.internal.Errors - The following warnings have been
detected: WARNING: Return type, org.apache.lens.api.result.LensAPIResult<?
extends org.apache.lens.api.query.QuerySubmitResult>, of method, public
org.apache.lens.api.result.LensAPIResult<? extends
org.apache.lens.api.query.QuerySubmitResult>
org.apache.lens.server.query.QueryServiceResource.query(org.apache.lens.api.LensSessionHandle,java.lang.String,java.lang.String,org.apache.lens.api.LensConf,java.lang.Long,java.lang.String)
throws org.apache.lens.server.api.error.LensException, is not resolvable to a
concrete type.
WARNING: Return type, org.apache.lens.api.result.LensAPIResult<? extends
org.apache.lens.api.query.QuerySubmitResult>, of method, public
org.apache.lens.api.result.LensAPIResult<? extends
org.apache.lens.api.query.QuerySubmitResult>
org.apache.lens.server.query.QueryServiceResource.prepareQuery(org.apache.lens.api.LensSessionHandle,java.lang.String,java.lang.String,org.apache.lens.api.LensConf,java.lang.String)
throws org.apache.lens.server.api.error.LensException, is not resolvable to a
concrete type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)