You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Selvamohan Neethiraj <sn...@hortonworks.com> on 2022/12/15 04:57:06 UTC

Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/
-----------------------------------------------------------

Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.


Bugs: RANGER-4017
    https://issues.apache.org/jira/browse/RANGER-4017


Repository: ranger


Description
-------

RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)


Diffs
-----

  README.txt fce972ab1 
  ranger_in_docker PRE-CREATION 


Diff: https://reviews.apache.org/r/74253/diff/1/


Testing
-------

Tested the script in Mac (M2) and Linux (Ubundu) 
Documented the execution steps in README.txt


Thanks,

Selvamohan Neethiraj


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Kirby Zhou <ki...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/#review225007
-----------------------------------------------------------




README.txt
Lines 43 (patched)
<https://reviews.apache.org/r/74253/#comment313821>

    Please delete all trailing spaces and tabs.



ranger_in_docker
Lines 188 (patched)
<https://reviews.apache.org/r/74253/#comment313820>

    Maybe it is too heavy to bring all things up?
    
    Can use an option to specify whether to start only core including ranger, usersync, or other external components such as hive and kafka.


- Kirby Zhou


On 十二月 18, 2022, 9:38 p.m., Selvamohan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74253/
> -----------------------------------------------------------
> 
> (Updated 十二月 18, 2022, 9:38 p.m.)
> 
> 
> Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4017
>     https://issues.apache.org/jira/browse/RANGER-4017
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)
> 
> 
> Diffs
> -----
> 
>   README.txt fce972ab1b986e7f1d28cf4e35f086929cf9169a 
>   dev-support/ranger-docker/Dockerfile.ranger-base a4bb9008ff6e0d16784e286d22ab353e26be811c 
>   dev-support/ranger-docker/docker-compose.ranger-build.yml f0b5b05e0cb696722297a83b7a507dc954f43398 
>   ranger_in_docker PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/74253/diff/2/
> 
> 
> Testing
> -------
> 
> Tested the script in Mac (M2) and Linux (Ubundu) 
> Documented the execution steps in README.txt
> 
> 
> Thanks,
> 
> Selvamohan Neethiraj
> 
>


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Don Bosco Durai <bo...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/#review225015
-----------------------------------------------------------


Ship it!




Ship It!

- Don Bosco Durai


On Dec. 21, 2022, 2:50 a.m., Selvamohan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74253/
> -----------------------------------------------------------
> 
> (Updated Dec. 21, 2022, 2:50 a.m.)
> 
> 
> Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4017
>     https://issues.apache.org/jira/browse/RANGER-4017
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)
> 
> 
> Diffs
> -----
> 
>   README.txt fce972ab1b986e7f1d28cf4e35f086929cf9169a 
>   dev-support/ranger-docker/Dockerfile.ranger-base a4bb9008ff6e0d16784e286d22ab353e26be811c 
>   dev-support/ranger-docker/docker-compose.ranger-build.yml f0b5b05e0cb696722297a83b7a507dc954f43398 
>   ranger_in_docker PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/74253/diff/4/
> 
> 
> Testing
> -------
> 
> Tested the script in Mac (M2) and Linux (Ubundu) 
> Documented the execution steps in README.txt
> 
> 
> Thanks,
> 
> Selvamohan Neethiraj
> 
>


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Kirby Zhou <ki...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/#review225016
-----------------------------------------------------------


Ship it!




Ship It!

- Kirby Zhou


On 十二月 21, 2022, 2:50 a.m., Selvamohan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74253/
> -----------------------------------------------------------
> 
> (Updated 十二月 21, 2022, 2:50 a.m.)
> 
> 
> Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4017
>     https://issues.apache.org/jira/browse/RANGER-4017
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)
> 
> 
> Diffs
> -----
> 
>   README.txt fce972ab1b986e7f1d28cf4e35f086929cf9169a 
>   dev-support/ranger-docker/Dockerfile.ranger-base a4bb9008ff6e0d16784e286d22ab353e26be811c 
>   dev-support/ranger-docker/docker-compose.ranger-build.yml f0b5b05e0cb696722297a83b7a507dc954f43398 
>   ranger_in_docker PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/74253/diff/4/
> 
> 
> Testing
> -------
> 
> Tested the script in Mac (M2) and Linux (Ubundu) 
> Documented the execution steps in README.txt
> 
> 
> Thanks,
> 
> Selvamohan Neethiraj
> 
>


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Selvamohan Neethiraj <sn...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/
-----------------------------------------------------------

(Updated Dec. 20, 2022, 9:50 p.m.)


Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.


Changes
-------

Removed trailing space and replaced TAB chars in README.txt file.


Bugs: RANGER-4017
    https://issues.apache.org/jira/browse/RANGER-4017


Repository: ranger


Description
-------

RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)


Diffs (updated)
-----

  README.txt fce972ab1b986e7f1d28cf4e35f086929cf9169a 
  dev-support/ranger-docker/Dockerfile.ranger-base a4bb9008ff6e0d16784e286d22ab353e26be811c 
  dev-support/ranger-docker/docker-compose.ranger-build.yml f0b5b05e0cb696722297a83b7a507dc954f43398 
  ranger_in_docker PRE-CREATION 


Diff: https://reviews.apache.org/r/74253/diff/4/

Changes: https://reviews.apache.org/r/74253/diff/3-4/


Testing
-------

Tested the script in Mac (M2) and Linux (Ubundu) 
Documented the execution steps in README.txt


Thanks,

Selvamohan Neethiraj


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Selvamohan Neethiraj <sn...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/
-----------------------------------------------------------

(Updated Dec. 20, 2022, 9:43 p.m.)


Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.


Changes
-------

(1) Removed the trailing spaces and tab characters in the script. (2) provided an Environment variable - ENABLED_RANGER_SERVICES to optionally start services: tagsync,hadoop,hbase,kafka,hive,knox,kms


Bugs: RANGER-4017
    https://issues.apache.org/jira/browse/RANGER-4017


Repository: ranger


Description
-------

RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)


Diffs (updated)
-----

  README.txt fce972ab1b986e7f1d28cf4e35f086929cf9169a 
  dev-support/ranger-docker/Dockerfile.ranger-base a4bb9008ff6e0d16784e286d22ab353e26be811c 
  dev-support/ranger-docker/docker-compose.ranger-build.yml f0b5b05e0cb696722297a83b7a507dc954f43398 
  ranger_in_docker PRE-CREATION 


Diff: https://reviews.apache.org/r/74253/diff/3/

Changes: https://reviews.apache.org/r/74253/diff/2-3/


Testing
-------

Tested the script in Mac (M2) and Linux (Ubundu) 
Documented the execution steps in README.txt


Thanks,

Selvamohan Neethiraj


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Selvamohan Neethiraj <sn...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/
-----------------------------------------------------------

(Updated Dec. 18, 2022, 4:38 p.m.)


Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.


Changes
-------

Added fixes to start KMS service and build using Docker.


Bugs: RANGER-4017
    https://issues.apache.org/jira/browse/RANGER-4017


Repository: ranger


Description
-------

RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)


Diffs (updated)
-----

  README.txt fce972ab1b986e7f1d28cf4e35f086929cf9169a 
  dev-support/ranger-docker/Dockerfile.ranger-base a4bb9008ff6e0d16784e286d22ab353e26be811c 
  dev-support/ranger-docker/docker-compose.ranger-build.yml f0b5b05e0cb696722297a83b7a507dc954f43398 
  ranger_in_docker PRE-CREATION 


Diff: https://reviews.apache.org/r/74253/diff/2/

Changes: https://reviews.apache.org/r/74253/diff/1-2/


Testing
-------

Tested the script in Mac (M2) and Linux (Ubundu) 
Documented the execution steps in README.txt


Thanks,

Selvamohan Neethiraj


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Selvamohan Neethiraj <sn...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/
-----------------------------------------------------------

(Updated Dec. 18, 2022, 4:35 p.m.)


Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.


Bugs: RANGER-4017
    https://issues.apache.org/jira/browse/RANGER-4017


Repository: ranger


Description
-------

RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)


Diffs
-----

  README.txt fce972ab1 
  ranger_in_docker PRE-CREATION 


Diff: https://reviews.apache.org/r/74253/diff/1/


Testing
-------

Tested the script in Mac (M2) and Linux (Ubundu) 
Documented the execution steps in README.txt


Thanks,

Selvamohan Neethiraj


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Selvamohan Neethiraj <sn...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/
-----------------------------------------------------------

(Updated Dec. 16, 2022, 11:37 a.m.)


Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.


Bugs: RANGER-4017
    https://issues.apache.org/jira/browse/RANGER-4017


Repository: ranger


Description
-------

RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)


Diffs
-----

  README.txt fce972ab1 
  ranger_in_docker PRE-CREATION 


Diff: https://reviews.apache.org/r/74253/diff/1/


Testing
-------

Tested the script in Mac (M2) and Linux (Ubundu) 
Documented the execution steps in README.txt


File Attachments (updated)
----------------

Added another Patch to address KMS start and Ranger build using Docker
  https://reviews.apache.org/media/uploaded/files/2022/12/16/951fd94c-c528-4ec5-a6ec-4e2b905b411f__0001-RANGER-4017-added-to-run-ranger-kms-as-part-of-the-p.patch


Thanks,

Selvamohan Neethiraj


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Selvamohan Neethiraj <sn...@hortonworks.com>.

> On Dec. 15, 2022, 12:32 a.m., Madhan Neethiraj wrote:
> > ranger_in_docker
> > Lines 132 (patched)
> > <https://reviews.apache.org/r/74253/diff/1/?file=2272801#file2272801line132>
> >
> >     How about leveraging docker to build Ranger as well, using the following command?
> >       docker-compose -f docker-compose.ranger-base.yml -f docker-compose.ranger-build.yml up

Addressed in the 2nd patch.


> On Dec. 15, 2022, 12:32 a.m., Madhan Neethiraj wrote:
> > ranger_in_docker
> > Lines 166 (patched)
> > <https://reviews.apache.org/r/74253/diff/1/?file=2272801#file2272801line166>
> >
> >     Consider deploying KMS as well, with docker-compose.ranger-kms.yml

Addressed in the 2nd patch.


- Selvamohan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/#review225000
-----------------------------------------------------------


On Dec. 16, 2022, 11:37 a.m., Selvamohan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74253/
> -----------------------------------------------------------
> 
> (Updated Dec. 16, 2022, 11:37 a.m.)
> 
> 
> Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4017
>     https://issues.apache.org/jira/browse/RANGER-4017
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)
> 
> 
> Diffs
> -----
> 
>   README.txt fce972ab1 
>   ranger_in_docker PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/74253/diff/1/
> 
> 
> Testing
> -------
> 
> Tested the script in Mac (M2) and Linux (Ubundu) 
> Documented the execution steps in README.txt
> 
> 
> File Attachments
> ----------------
> 
> Added another Patch to address KMS start and Ranger build using Docker
>   https://reviews.apache.org/media/uploaded/files/2022/12/16/951fd94c-c528-4ec5-a6ec-4e2b905b411f__0001-RANGER-4017-added-to-run-ranger-kms-as-part-of-the-p.patch
> 
> 
> Thanks,
> 
> Selvamohan Neethiraj
> 
>


Re: Review Request 74253: This script will help anyone to setup ranger within few minutes of downloading Apache Ranger Repo.

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74253/#review225000
-----------------------------------------------------------




ranger_in_docker
Lines 132 (patched)
<https://reviews.apache.org/r/74253/#comment313816>

    How about leveraging docker to build Ranger as well, using the following command?
      docker-compose -f docker-compose.ranger-base.yml -f docker-compose.ranger-build.yml up



ranger_in_docker
Lines 166 (patched)
<https://reviews.apache.org/r/74253/#comment313817>

    Consider deploying KMS as well, with docker-compose.ranger-kms.yml


- Madhan Neethiraj


On Dec. 15, 2022, 4:57 a.m., Selvamohan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74253/
> -----------------------------------------------------------
> 
> (Updated Dec. 15, 2022, 4:57 a.m.)
> 
> 
> Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4017
>     https://issues.apache.org/jira/browse/RANGER-4017
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RANGER-4017: Able to run Apache Ranger after downloading the source from REPO by executing a single command (& within few minutes)
> 
> 
> Diffs
> -----
> 
>   README.txt fce972ab1 
>   ranger_in_docker PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/74253/diff/1/
> 
> 
> Testing
> -------
> 
> Tested the script in Mac (M2) and Linux (Ubundu) 
> Documented the execution steps in README.txt
> 
> 
> Thanks,
> 
> Selvamohan Neethiraj
> 
>