hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13822) TestPerfCliDriver throws warning in StatsSetupConst that JsonParser cannot parse COLUMN_STATS
Date Mon, 01 Aug 2016 23:03:20 GMT

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

Hari Sankar Sivarama Subramaniyan commented on HIVE-13822:
----------------------------------------------------------

[~ashutoshc] hive.in.test=true is already there in data/conf/perf-reg/hive-site.xml

> TestPerfCliDriver throws warning in StatsSetupConst that  JsonParser cannot parse COLUMN_STATS
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-13822
>                 URL: https://issues.apache.org/jira/browse/HIVE-13822
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-13822.1.patch, HIVE-13822.2.patch, HIVE-13822.3.patch
>
>
> Thanks to [~jcamachorodriguez] for uncovering this issue as part of HIVE-13269. StatsSetupConst.areColumnStatsUptoDate()
is used to check whether stats are up-to-date.  In case of PerfCliDriver, ‘false’ (thus,
not up-to-date) is returned and the following debug message in the logs:
> {code}
> In StatsSetupConst, JsonParser can not parse COLUMN_STATS. (line 190 in StatsSetupConst)
> {code}
> Looks like the issue started happening after HIVE-12261 went in. 
> The fix would be to replace
> {color:red}COLUMN_STATS_ACCURATE,true{color}
> with
> {color:green}COLUMN_STATS_ACCURATE,{"COLUMN_STATS":{"key":"true","value":"true"},"BASIC_STATS":"true"}{color}
> where key, value are the column names.
> in data/files/tpcds-perf/metastore_export/csv/TABLE_PARAMS.txt



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

Mime
View raw message