You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Austin Nobis (Code Review)" <ge...@cloudera.org> on 2019/04/08 18:20:43 UTC

[Impala-ASF-CR] IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters

Austin Nobis has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12957


Change subject: IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters
......................................................................

IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters

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 in 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
---
M testdata/bin/create-load-data.sh
1 file changed, 13 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/12957/1
-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 1
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>

[Impala-ASF-CR] IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters

Posted by "Austin Nobis (Code Review)" <ge...@cloudera.org>.
Austin Nobis has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters
......................................................................

IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters

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
---
M testdata/bin/create-load-data.sh
1 file changed, 13 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/12957/2
-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 2
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Austin Nobis (Code Review)" <ge...@cloudera.org>.
Austin Nobis has uploaded a new patch set (#5). ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................

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
---
M testdata/bin/create-load-data.sh
1 file changed, 13 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/12957/5
-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 5
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>

[Impala-ASF-CR] IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters
......................................................................


Patch Set 2:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/2674/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 2
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 19:06:20 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Austin Nobis (Code Review)" <ge...@cloudera.org>.
Austin Nobis has uploaded a new patch set (#6). ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................

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
---
M testdata/bin/create-load-data.sh
1 file changed, 12 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/12957/6
-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 6
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>

[Impala-ASF-CR] IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters

Posted by "David Knupp (Code Review)" <ge...@cloudera.org>.
David Knupp has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters
......................................................................


Patch Set 2: Code-Review+1

(1 comment)

Looks basically good to me. I'll let Fredy give the final +2 after his comments get addressed.

http://gerrit.cloudera.org:8080/#/c/12957/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/12957/2//COMMIT_MSG@7
PS2, Line 7: setup-ranger in create-load-data.sh breaks for clusters
> nit: it's a bit  hard to parse. Reword?
Agreed -- could be something like:

"Skip ranger setup steps in environments that don't support it."



-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 2
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 18:45:40 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................


Patch Set 5:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/2678/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 5
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 20:49:08 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................


Patch Set 4:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/2677/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 4
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 20:44:49 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................


Patch Set 6:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/2680/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 6
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 21:05:33 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/2673/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 1
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 18:43:26 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................


Patch Set 6:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/3995/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 6
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 20:23:27 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................


Patch Set 6: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 6
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 09 Apr 2019 01:17:50 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters

Posted by "Fredy Wijaya (Code Review)" <ge...@cloudera.org>.
Fredy Wijaya has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: setup-ranger in create-load-data.sh breaks for clusters
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/12957/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/12957/2//COMMIT_MSG@7
PS2, Line 7: setup-ranger in create-load-data.sh breaks for clusters
nit: it's a bit  hard to parse. Reword?


http://gerrit.cloudera.org:8080/#/c/12957/2/testdata/bin/create-load-data.sh
File testdata/bin/create-load-data.sh:

http://gerrit.cloudera.org:8080/#/c/12957/2/testdata/bin/create-load-data.sh@105
PS2, Line 105: $REMOTE_LOAD -eq 1
use [[ -n $REMOTE_LOAD ]] instead? Some of the code in this file uses -z: https://github.com/apache/impala/blob/da153104f26ef94f1b4db323f5629d678c55f9ee/testdata/bin/create-load-data.sh#L582



-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 2
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 18:32:13 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Austin Nobis (Code Review)" <ge...@cloudera.org>.
Austin Nobis has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................


Patch Set 5:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/12957/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/12957/2//COMMIT_MSG@7
PS2, Line 7: Skip ranger setup for unsupported environments
> Agreed -- could be something like:
Done


http://gerrit.cloudera.org:8080/#/c/12957/2/testdata/bin/create-load-data.sh
File testdata/bin/create-load-data.sh:

http://gerrit.cloudera.org:8080/#/c/12957/2/testdata/bin/create-load-data.sh@105
PS2, Line 105: 
> use [[ -n $REMOTE_LOAD ]] instead? Some of the code in this file uses -z: h
Done



-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 5
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 20:05:28 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................

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>
---
M testdata/bin/create-load-data.sh
1 file changed, 12 insertions(+), 1 deletion(-)

Approvals:
  Fredy Wijaya: Looks good to me, approved
  Impala Public Jenkins: Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 7
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Austin Nobis (Code Review)" <ge...@cloudera.org>.
Austin Nobis has uploaded a new patch set (#4). ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................

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
---
M testdata/bin/create-load-data.sh
1 file changed, 14 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/12957/4
-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 4
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>

[Impala-ASF-CR] IMPALA-8393: Skip ranger setup for unsupported environments

Posted by "Fredy Wijaya (Code Review)" <ge...@cloudera.org>.
Fredy Wijaya has posted comments on this change. ( http://gerrit.cloudera.org:8080/12957 )

Change subject: IMPALA-8393: Skip ranger setup for unsupported environments
......................................................................


Patch Set 6: Code-Review+2

Thanks for the fix.


-- 
To view, visit http://gerrit.cloudera.org:8080/12957
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie81dda992cf29792468580b182e570132d5ce0a1
Gerrit-Change-Number: 12957
Gerrit-PatchSet: 6
Gerrit-Owner: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: Austin Nobis <an...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 08 Apr 2019 20:23:08 +0000
Gerrit-HasComments: No