You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/03/18 08:16:38 UTC

[jira] [Commented] (LENS-417) Query metrics on prepare are not working

    [ https://issues.apache.org/jira/browse/LENS-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14366757#comment-14366757 ] 

Amareshwari Sriramadasu commented on LENS-417:
----------------------------------------------

Review request - https://reviews.apache.org/r/32194/

> Query metrics on prepare are not working
> ----------------------------------------
>
>                 Key: LENS-417
>                 URL: https://issues.apache.org/jira/browse/LENS-417
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: api, driver-jdbc, server
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.1
>
>
> When query metrics are enabled on prepare query, seeing following issues :
> {noformat}
> lens-shell>prepQuery explain cube select id,name from sample_dim
> Explain FAILED:A metric named lens.MethodMetricGauge.5a82d69f-8968-44f4-af08-cb4a6d65b12a-HiveDriver-org.apache.lens.driver.cube.RewriteUtil-rewriteQuery already exists
> {noformat}
> The above happens because the driver config merge went wrong.
> Once it is fixed seeing the below :
> {noformat}
> lens-shell>prepQuery  explain cube select id,name from sample_dim
> Command failed javax.ws.rs.InternalServerErrorException: HTTP 500 A metric named lens.MethodMetricGauge.3d83e617-68a4-4695-ac5e-801392b0b9bc-JDBCDriver-columnar-sql-rewrite already exists
> {noformat}
> This happens because prepare happens once for validate and once for prepare.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)