[jira] [Commented] (CARBONDATA-208) User should be able to turn on and off the STATISTIC log

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-208) User should be able to turn on and off the STATISTIC log

Akash R Nilugal (Jira)

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

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

Github user Zhangshunyu commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/176#discussion_r80413220
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/util/CarbonTimeStatisticsFactory.java ---
    @@ -17,13 +17,14 @@
     
     package org.apache.carbondata.core.util;
     
    -import org.apache.carbondata.core.carbon.querystatistics.DriverQueryStatisticsRecorder;
    +import org.apache.carbondata.core.carbon.querystatistics.*;
     import org.apache.carbondata.core.constants.CarbonCommonConstants;
     
     public class CarbonTimeStatisticsFactory {
       private static String LoadStatisticsInstanceType;
       private static LoadStatistics LoadStatisticsInstance;
    -  private static DriverQueryStatisticsRecorder QueryStatisticsRecorderInstance;
    +  private static String queryStatisticsRecorderInstanceType;
    +  private static QueryStatisticsRecorder QueryStatisticsRecorderInstance;
    --- End diff --
   
    @jackylk instanceType is used to detemine the instance is Dummy or Impl recording to the configuration, it is proper.


> User should be able to turn on and off the STATISTIC log
> --------------------------------------------------------
>
>                 Key: CARBONDATA-208
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-208
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Jacky Li
>            Priority: Minor
>             Fix For: 0.2.0-incubating
>
>
> Currently there are many STATISTIC log for performance tuning purpose, but it should be configurable by the user.



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