carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-204) Query statistics issue
Date Fri, 02 Sep 2016 10:30:21 GMT

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

ASF GitHub Bot commented on CARBONDATA-204:
-------------------------------------------

GitHub user foryou2030 opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/123

    [CARBONDATA-204] Clear query statistics map when timeout

    # Why raise this pr?
    I found Query statistics issue:
    1. some query statistics that never be printed will be keeped into querystatisticsMap,
so it will cause "out of memory" for long time running
    2. in some sceniaro, the driver can't record "sql_parse_time" , the driver statistics
logs will not be output, we should output  block_allocation_time and block_identification_time
always.
    # How to solve?
    1. add function to check querystatistics timeout , once timeout, remove the queryId from
the map.
    2.add conditional detection for queryStatisticsMap size, if the queryStatistic only contain
block_allocation_time and block_identification_time, then ouput them.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/foryou2030/incubator-carbondata fix_stat

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/123.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #123
    
----
commit e10868a5154ccc15196b23428db09005c3affc85
Author: foryou2030 <foryou2030@126.com>
Date:   2016-09-02T10:22:03Z

    clear query statistics map

----


> Query statistics issue 
> -----------------------
>
>                 Key: CARBONDATA-204
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-204
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Gin-zhj
>            Assignee: Gin-zhj
>
> Query statistics issue:
> 1. some query statistics that never be printed will be keeped into querystatisticsMap,
so it will cause "out of memory" for long time running
> 2. in some sceniaro, the driver can't record "sql_parse_time" , the driver statistics
logs will not be output



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

Mime
View raw message