You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/11/02 00:35:00 UTC

[jira] [Commented] (IMPALA-8842) Impala should set correct value for 'engine' column in TAB_COL_STATS HMS table and read stats accordingly

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

ASF subversion and git services commented on IMPALA-8842:
---------------------------------------------------------

Commit 476e1b12e79c83674ec5cd0983e30e9d47c65e8f in impala's branch refs/heads/master from Fang-Yu Rao
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=476e1b1 ]

IMPALA-9047: Bump CDP_BUILD_NUMBER to 1471450

This patch bumps CDP_BUILD_NUMBER to 1471450. The new GBN upgrades
Ranger from 1.2 to 2.0, which includes the change to the default Ranger
policies described in https://issues.apache.org/jira/browse/RANGER-2536.
Some of the Ranger tests fail, because they assume the older behavior.

To address this issue, this patch temporarily disables those affected
Ranger tests. Specifically, the affected tests in the following test
files are disabled for now.

1. test_authorized_proxy.py
2. test_ranger.py
3. AuthorizationStmtTest.java
4. RangerAuditLogTest.java

IMPALA-8842 part 2: (Hive3) Use 'engine' field in HMS stat API

The new CDP GBN includes the fix for HIVE-22046. HIVE-22046 added
'engine' column to TAB_COL_STATS and PART_COL_STATS HMS tables. The new
column is used to differentiate among column stats computed by
different engines. The related HMS API calls were changed accordingly.

Part of this patch is Step 4 in a series of steps to coordinate the
introduction of HMS API changes to Hive3 and Impala. For more
information see IMPALA-8842 part 1. Step 4 replaces *V2 calls with *.
The *V2 names were introduced temporarily and will be removed from the
HMS API in the near future.

Testing:
- This patch passes the affected Ranger tests listed above on a local
  machine.
- E2E tests were added to make sure that column statistics are
differentiated by engine for partitioned and non-partitioned tables.
The tests are executed for transactional and non-transactional tables.

Change-Id: I962423cf202ad632b5817669500b3e3479f1a454
Reviewed-on: http://gerrit.cloudera.org:8080/14576
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Impala should set correct value for 'engine' column in TAB_COL_STATS HMS table and read stats accordingly
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-8842
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8842
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>    Affects Versions: Impala 3.3.0
>            Reporter: Attila Jeges
>            Assignee: Attila Jeges
>            Priority: Critical
>
> Note that Impala doesn't use PART_COL_STATS HMS table at all, therefore the 'engine' value needs to be set for TAB_COL_STATS HMS table only.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org