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/04/09 15:49:00 UTC

[jira] [Commented] (IMPALA-8393) setup-ranger step in create-load-data.sh breaks data load to real clusters

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

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

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

IMPALA-8393: Skip ranger setup for unsupported environments

Previously, the setup-ranger step in create-load-data.sh was hard coded
with localhost as the host for Ranger. This patch makes it possible to
skip the setup for Ranger by using the flag -skip_ranger. The script was
also updated to set the SKIP_RANGER variable when the REMOTE_LOAD
environment variable is set.

Testing:
- Testing was performed by calling the script with and without the
  setup-ranger flag set as well as calling the script with and without
  the REMOTE_LOAD environment variable set.

Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Reviewed-on: http://gerrit.cloudera.org:8080/12957
Reviewed-by: Fredy Wijaya <fw...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> setup-ranger step in create-load-data.sh breaks data load to real clusters
> --------------------------------------------------------------------------
>
>                 Key: IMPALA-8393
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8393
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 3.2.0, Impala 3.3.0
>            Reporter: David Knupp
>            Assignee: Austin Nobis
>            Priority: Critical
>
> {{localhost}} is hard-coded into the setup-ranger function that was recently added to create-load-data.sh, e.g.:
> https://github.com/apache/impala/blame/master/testdata/bin/create-load-data.sh#L325
> This works when testing on a mini-cluster, but breaks data load if setting up to run the functional test suite against an actual cluster. In that scenario, the host that runs the script is simply a test runner, with no locally running services.



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

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