Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-809

Warnings for return types from REST APIs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.3
    • Fix Version/s: 2.5
    • Component/s: api, server
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amareshwari Amareshwari Sriramadasu
                Reporter:
                amareshwari Amareshwari Sriramadasu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: