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

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

Commit ab47981098a6492bdc5c36c90fd9f742100298b5 in impala's branch 
refs/heads/master from Austin Nobis
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=ab47981 ]

IMPALA-8488: Fix hardcoded path in Ranger E2E test on S3

A hardcoded path in test_ranger.py for URI testing was updated to
support S3, local, and HDFS as opposed to just HDFS.

Testing:
- Ran authorization E2E tests
- Ran all FE tests
- Ran test_ranger.py with S3

Change-Id: Ie2c021ce212f483a644fdab4e77ab95031066b14
Reviewed-on: http://gerrit.cloudera.org:8080/13234
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> Authorization tests for Ranger breaks on S3 in test_show_grant
> --------------------------------------------------------------
>
>                 Key: IMPALA-8488
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8488
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 3.3.0
>            Reporter: Laszlo Gaal
>            Assignee: Austin Nobis
>            Priority: Blocker
>              Labels: broken-build
>
> Stack Trace:
> {code:java}
> authorization/test_ranger.py:170: in test_show_grant
> unique_table)
> authorization/test_ranger.py:261: in _test_show_grant_basic
> [kw, id, "", "", "", "hdfs://localhost:20500" + uri, "", "all", "false"]])
> authorization/test_ranger.py:346: in _check_privileges
> assert map(columns, result.data) == expected
> E assert [['USER', 'je...-1/tmp', ...]] == [['USER', 'jen...00/tmp', ...]]
> E At index 0 diff: ['USER', 'jenkins', '', '', '', 
> 's3a://impala-test-uswest2-1/tmp', '', 'all', 'false'] != ['USER', 'jenkins', 
> '', '', '', 'hdfs://localhost:20500/tmp', '', 'all', 'false']
> E Full diff:
> E [['USER',
> E 'jenkins',
> E '',
> E '',
> E '',
> E - 's3a://impala-test-uswest2-1/tmp',
> E + 'hdfs://localhost:20500/tmp',
> E '',
> E 'all',
> E 'false']]{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to