You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/03/28 17:16:25 UTC
[jira] [Commented] (LENS-984) Response type of prepared query
execution REST end point /queryapi/preparedqueries/{prepareHandle} should
be wrapped in LensAPIResult
[ https://issues.apache.org/jira/browse/LENS-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214310#comment-15214310 ]
Hadoop QA commented on LENS-984:
--------------------------------
Applied patch: [LENS-984.patch|https://issues.apache.org/jira/secure/attachment/12795623/LENS-984.patch] and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/350/
> Response type of prepared query execution REST end point /queryapi/preparedqueries/{prepareHandle} should be wrapped in LensAPIResult
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: LENS-984
> URL: https://issues.apache.org/jira/browse/LENS-984
> Project: Apache Lens
> Issue Type: Bug
> Reporter: Puneet Gupta
> Assignee: Ajay Yadava
> Attachments: LENS-984.patch
>
>
> QueryServiceResource.query(LensSessionHandle, String, String, LensConf, Long, String) returns LensAPIResult<QuerySubmitResult> while QueryServiceResource.executePrepared(LensSessionHandle, String, String, LensConf, Long, String) returns QuerySubmitResult directly.
> We should wrap the response of executePrepared in LensAPIResult as LensAPIResult also provides proper error code and error message to the client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)