Re: Apache Ranger plugins

2019-01-13 Thread Selvamohan Neethiraj
Hi,

Please subscribe to dev@ranger.apache.org and post your API/dev questions in 
the mailing list to get faster response.

Please refer to the Wiki pages from http://ranger.apache.org/ for more details 
on the credentials storage for accessing Ranger Policy Manager API.
In a secured cluster, Kerberos credential is used to authenticate into Ranger 
Policy Manager Service. 

Let us know if you need more details,

Thanks,
Selva-


> On Jan 10, 2019, at 8:14 AM, Odon Copon  wrote:
> 
> Hi Selvamohan,
> I have a question regarding Ranger plugins. Have tried looking in the 
> documentation but haven't find any information about this. So I thought was a 
> good idea contacting directly the people involved in the development.
> How does the plugins communicate with Ranger Policy Manager API? Is there any 
> place where they store the credentials for accessing the API?
> I know the usersync has everything in rangerusersync.jceks but what about the 
> plugins? 
> If you don't know, would you please point me to anyone that could help me 
> understanding this?
> 
> Thanks.



Re: Review Request 69731: RANGER-2321 Docker build fails due to PhantomJS dependency

2019-01-13 Thread Zsombor Gegesy

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


Ship it!




Ship It!

- Zsombor Gegesy


On Jan. 13, 2019, 7:18 p.m., Csaba Koncz wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/69731/
> ---
> 
> (Updated Jan. 13, 2019, 7:18 p.m.)
> 
> 
> Review request for ranger.
> 
> 
> Bugs: RANGER-2321
> https://issues.apache.org/jira/browse/RANGER-2321
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> - Docker image building installs the packages needed by installing and 
> running PhantomJS
> - modified Maven build so that PhantomJS downloading and execution can be 
> skipped by adding -DskipJSTests to the command line
> 
> 
> Diffs
> -
> 
>   README.txt 8aa177927 
>   build_ranger_using_docker.sh fa77d910f 
>   security-admin/pom.xml 14cafb4b2 
>   security-admin/src/main/webapp/package-lock.json 9deaf0071 
>   security-admin/src/main/webapp/package.json 880f6b34f 
>   security-admin/src/test/javascript/karma-common.conf.js 4dc9bb60f 
>   security-admin/src/test/javascript/package-lock.json PRE-CREATION 
>   security-admin/src/test/javascript/package.json PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/69731/diff/2/
> 
> 
> Testing
> ---
> 
> The following succeeds and runs JavaScript tests:
> 
> ```
> ./build_ranger_using_docker.sh -build_image mvn clean verify -am -pl 
> security-admin
> ```
> 
> The following succeeds and does not run JavaScript tests and does not 
> download PhantomJS:
> ```
> mvn clean verify -am -pl security-admin -DskipJSTests
> ```
> 
> 
> Thanks,
> 
> Csaba Koncz
> 
>



Re: Review Request 69731: RANGER-2321 Docker build fails due to PhantomJS dependency

2019-01-13 Thread Csaba Koncz

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

(Updated Jan. 13, 2019, 7:18 p.m.)


Review request for ranger.


Changes
---

reference targed dir as ${project.build.directory}


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


Repository: ranger


Description
---

- Docker image building installs the packages needed by installing and running 
PhantomJS
- modified Maven build so that PhantomJS downloading and execution can be 
skipped by adding -DskipJSTests to the command line


Diffs (updated)
-

  README.txt 8aa177927 
  build_ranger_using_docker.sh fa77d910f 
  security-admin/pom.xml 14cafb4b2 
  security-admin/src/main/webapp/package-lock.json 9deaf0071 
  security-admin/src/main/webapp/package.json 880f6b34f 
  security-admin/src/test/javascript/karma-common.conf.js 4dc9bb60f 
  security-admin/src/test/javascript/package-lock.json PRE-CREATION 
  security-admin/src/test/javascript/package.json PRE-CREATION 


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

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


Testing
---

The following succeeds and runs JavaScript tests:

```
./build_ranger_using_docker.sh -build_image mvn clean verify -am -pl 
security-admin
```

The following succeeds and does not run JavaScript tests and does not download 
PhantomJS:
```
mvn clean verify -am -pl security-admin -DskipJSTests
```


Thanks,

Csaba Koncz



Re: Review Request 69731: RANGER-2321 Docker build fails due to PhantomJS dependency

2019-01-13 Thread Csaba Koncz


> On Jan. 12, 2019, 10:12 p.m., Zsombor Gegesy wrote:
> > security-admin/pom.xml
> > Line 608 (original), 611 (patched)
> > 
> >
> > ${basedir}/target is the same as ${project.build.directory}, isn't it? 
> > Can you use it everywhere?

correct, fixed it in the latest patch.


- Csaba


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


On Jan. 13, 2019, 7:18 p.m., Csaba Koncz wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/69731/
> ---
> 
> (Updated Jan. 13, 2019, 7:18 p.m.)
> 
> 
> Review request for ranger.
> 
> 
> Bugs: RANGER-2321
> https://issues.apache.org/jira/browse/RANGER-2321
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> - Docker image building installs the packages needed by installing and 
> running PhantomJS
> - modified Maven build so that PhantomJS downloading and execution can be 
> skipped by adding -DskipJSTests to the command line
> 
> 
> Diffs
> -
> 
>   README.txt 8aa177927 
>   build_ranger_using_docker.sh fa77d910f 
>   security-admin/pom.xml 14cafb4b2 
>   security-admin/src/main/webapp/package-lock.json 9deaf0071 
>   security-admin/src/main/webapp/package.json 880f6b34f 
>   security-admin/src/test/javascript/karma-common.conf.js 4dc9bb60f 
>   security-admin/src/test/javascript/package-lock.json PRE-CREATION 
>   security-admin/src/test/javascript/package.json PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/69731/diff/2/
> 
> 
> Testing
> ---
> 
> The following succeeds and runs JavaScript tests:
> 
> ```
> ./build_ranger_using_docker.sh -build_image mvn clean verify -am -pl 
> security-admin
> ```
> 
> The following succeeds and does not run JavaScript tests and does not 
> download PhantomJS:
> ```
> mvn clean verify -am -pl security-admin -DskipJSTests
> ```
> 
> 
> Thanks,
> 
> Csaba Koncz
> 
>