[jira] [Comment Edited] (RANGER-2247) Ranger Plugin for HDFS throws StringIndexOutOfBounds exception when policy resource is "\"

2018-10-17 Thread Abhay Kulkarni (JIRA)


[ 
https://issues.apache.org/jira/browse/RANGER-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16654287#comment-16654287
 ] 

Abhay Kulkarni edited comment on RANGER-2247 at 10/18/18 1:27 AM:
--

Commit details:
master:
https://git-wip-us.apache.org/repos/asf?p=ranger.git;a=commit;h=70efa6810d5880184578b54a205b62a1349f426b

ranger-1.2:
https://git-wip-us.apache.org/repos/asf?p=ranger.git;a=commit;h=f3412d9e8fab56dd04290f4935bb618cfe71f2f8

ranger-1.1:
https://git-wip-us.apache.org/repos/asf?p=ranger.git;a=commit;h=03b6c6aad3cc7100281c31a3069fd7ea33135c45

ranger-1:
https://git-wip-us.apache.org/repos/asf?p=ranger.git;a=commit;h=f2afe0c271dfd978b5983de18f963cec664c854e


was (Author: abhayk):
Commit details:
master:
https://git-wip-us.apache.org/repos/asf?p=ranger.git;a=commit;h=70efa6810d5880184578b54a205b62a1349f426b

> Ranger Plugin for HDFS throws StringIndexOutOfBounds exception when policy 
> resource is "\"
> --
>
> Key: RANGER-2247
> URL: https://issues.apache.org/jira/browse/RANGER-2247
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: master
>Reporter: Abhay Kulkarni
>Assignee: Abhay Kulkarni
>Priority: Major
> Fix For: 2.0.0, 1.1.1, 1.2.1
>
>
> With a hdfs policy with a single \ as a resource, Ranger plugin throws 
> exception.
> % hdfs dfs -ls /user/
> ls: String index out of range: -1
> org.apache.hadoop.ipc.RemoteException(java.lang.StringIndexOutOfBoundsException):
>  String index out of range: -1
>   at java.lang.String.substring(String.java:1967)
>   at 
> org.apache.ranger.plugin.resourcematcher.RecursiveMatcher.getStringToCompare(RangerPathResourceMatcher.java:234)
>   at 
> org.apache.ranger.plugin.resourcematcher.CaseSensitiveRecursiveMatcher.isMatch(RangerPathResourceMatcher.java:249)
>   at 
> org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher.isMatch(RangerDefaultResourceMatcher.java:45)
>   at 
> org.apache.ranger.plugin.policyresourcematcher.RangerDefaultPolicyResourceMatcher.getMatchType(RangerDefaultPolicyResourceMatcher.java:478)
>   at 
> org.apache.ranger.plugin.policyevaluator.RangerDefaultPolicyEvaluator.evaluate(RangerDefaultPolicyEvaluator.java:177)



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


[jira] [Commented] (RANGER-2247) Ranger Plugin for HDFS throws StringIndexOutOfBounds exception when policy resource is "\"

2018-10-17 Thread Abhay Kulkarni (JIRA)


[ 
https://issues.apache.org/jira/browse/RANGER-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16654287#comment-16654287
 ] 

Abhay Kulkarni commented on RANGER-2247:


Commit details:
master:
https://git-wip-us.apache.org/repos/asf?p=ranger.git;a=commit;h=70efa6810d5880184578b54a205b62a1349f426b

> Ranger Plugin for HDFS throws StringIndexOutOfBounds exception when policy 
> resource is "\"
> --
>
> Key: RANGER-2247
> URL: https://issues.apache.org/jira/browse/RANGER-2247
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: master
>Reporter: Abhay Kulkarni
>Assignee: Abhay Kulkarni
>Priority: Major
> Fix For: 2.0.0, 1.1.1, 1.2.1
>
>
> With a hdfs policy with a single \ as a resource, Ranger plugin throws 
> exception.
> % hdfs dfs -ls /user/
> ls: String index out of range: -1
> org.apache.hadoop.ipc.RemoteException(java.lang.StringIndexOutOfBoundsException):
>  String index out of range: -1
>   at java.lang.String.substring(String.java:1967)
>   at 
> org.apache.ranger.plugin.resourcematcher.RecursiveMatcher.getStringToCompare(RangerPathResourceMatcher.java:234)
>   at 
> org.apache.ranger.plugin.resourcematcher.CaseSensitiveRecursiveMatcher.isMatch(RangerPathResourceMatcher.java:249)
>   at 
> org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher.isMatch(RangerDefaultResourceMatcher.java:45)
>   at 
> org.apache.ranger.plugin.policyresourcematcher.RangerDefaultPolicyResourceMatcher.getMatchType(RangerDefaultPolicyResourceMatcher.java:478)
>   at 
> org.apache.ranger.plugin.policyevaluator.RangerDefaultPolicyEvaluator.evaluate(RangerDefaultPolicyEvaluator.java:177)



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


Re: Review Request 68983: RANGER-2247: Ranger Plugin for HDFS throws StringIndexOutOfBounds exception when policy resource is "\"

2018-10-17 Thread Madhan Neethiraj

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


Ship it!




Ship It!

- Madhan Neethiraj


On Oct. 17, 2018, 9:05 p.m., Abhay Kulkarni wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68983/
> ---
> 
> (Updated Oct. 17, 2018, 9:05 p.m.)
> 
> 
> Review request for ranger, Madhan Neethiraj and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2247
> https://issues.apache.org/jira/browse/RANGER-2247
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> With a hdfs policy with a single \ as a resource, Ranger plugin throws 
> exception.
> 
> % hdfs dfs -ls /user/
> ls: String index out of range: -1
> 
> 
> The root cause is token-replacer code returns empty string, as \ is default 
> escape character for tokens. Fix is to return \ in such cases.
> 
> 
> Diffs
> -
> 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerPathResourceMatcher.java
>  78a3b8a8e 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/util/StringTokenReplacer.java
>  ace04d65c 
>   agents-common/src/test/resources/policyengine/test_policyengine_hdfs.json 
> ea167f49c 
>   
> agents-common/src/test/resources/resourcematcher/test_resourcematcher_dynamic.json
>  db19f762d 
>   
> agents-common/src/test/resources/resourcematcher/test_resourcematcher_wildcards_as_delimiters.json
>  8e791d62c 
> 
> 
> Diff: https://reviews.apache.org/r/68983/diff/3/
> 
> 
> Testing
> ---
> 
> Ran all unit tests successfully
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>



[jira] [Assigned] (RANGER-2220) Admin UI loads slowly because of many small JavaScript files

2018-10-17 Thread Velmurugan Periasamy (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Velmurugan Periasamy reassigned RANGER-2220:


Assignee: Csaba Koncz

> Admin UI loads slowly because of many small JavaScript files
> 
>
> Key: RANGER-2220
> URL: https://issues.apache.org/jira/browse/RANGER-2220
> Project: Ranger
>  Issue Type: Bug
>  Components: admin
>Affects Versions: 1.1.0
>Reporter: Csaba Koncz
>Assignee: Csaba Koncz
>Priority: Minor
> Fix For: 2.0.0
>
>
> The Admin UI web page loads slowly after login (~10 seconds or more, 
> depending on network conditions)
> This is due to the ~140 small JavaScript files that need to be downloaded 
> before the UI can be presented to the user.
> Compressing/concatenating (=minifying) JS resources and downloading them in a 
> single step can improve the situation.
> Prototyped a solution for version 0.7 (using RequireJS Optimizer), will try 
> to port it to the master version.
>  



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


[jira] [Assigned] (RANGER-2255) Add JavaScript unit tests

2018-10-17 Thread Velmurugan Periasamy (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Velmurugan Periasamy reassigned RANGER-2255:


Assignee: Csaba Koncz

> Add JavaScript unit tests
> -
>
> Key: RANGER-2255
> URL: https://issues.apache.org/jira/browse/RANGER-2255
> Project: Ranger
>  Issue Type: Wish
>  Components: admin
>Affects Versions: 0.7.0, 2.0.0, 1.2.1
>Reporter: Csaba Koncz
>Assignee: Csaba Koncz
>Priority: Minor
> Fix For: 2.0.0
>
>
> It would be nice if the admin-ui project would have JavaScript unit tests.
> As with RANGER-2220 JavaScript minification was introduced, that can lead to 
> new type of loading errors that were not seen before.
> It would be nice if there was an automatic check that validates the minified 
> output.



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


[jira] [Updated] (RANGER-2255) Add JavaScript unit tests

2018-10-17 Thread Velmurugan Periasamy (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Velmurugan Periasamy updated RANGER-2255:
-
Fix Version/s: 2.0.0

> Add JavaScript unit tests
> -
>
> Key: RANGER-2255
> URL: https://issues.apache.org/jira/browse/RANGER-2255
> Project: Ranger
>  Issue Type: Wish
>  Components: admin
>Affects Versions: 0.7.0, 2.0.0, 1.2.1
>Reporter: Csaba Koncz
>Priority: Minor
> Fix For: 2.0.0
>
>
> It would be nice if the admin-ui project would have JavaScript unit tests.
> As with RANGER-2220 JavaScript minification was introduced, that can lead to 
> new type of loading errors that were not seen before.
> It would be nice if there was an automatic check that validates the minified 
> output.



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


[jira] [Commented] (RANGER-2255) Add JavaScript unit tests

2018-10-17 Thread Csaba Koncz (JIRA)


[ 
https://issues.apache.org/jira/browse/RANGER-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16654137#comment-16654137
 ] 

Csaba Koncz commented on RANGER-2255:
-

Added JavaScript testing infrastructure (Karma, Mocha, PhantomJS) and a minimal 
test that checks whether the JavaScript application can be (hopefully) loaded: 
[https://reviews.apache.org/r/69067/]

This required two changes in the production code:
 # Main.js was converted to an AMD module (it did not have a define wrapper, 
now it has)
 # Main.js loading is triggered by a script tag in index.html. The production 
and development versions now differ only in how the JavaScript assets are 
loaded into the browser: 
 ## by letting RequireJS know the asset locations in Init.js and then rely on 
the recursive download
 ## by inlining all resources via Main.min.js. No RequireJS configuration is 
needed in this case.

The test execution does not use index.html but has two configurations that 
differ only in the JS module loading method.

> Add JavaScript unit tests
> -
>
> Key: RANGER-2255
> URL: https://issues.apache.org/jira/browse/RANGER-2255
> Project: Ranger
>  Issue Type: Wish
>  Components: admin
>Affects Versions: 0.7.0, 2.0.0, 1.2.1
>Reporter: Csaba Koncz
>Priority: Minor
> Fix For: 2.0.0
>
>
> It would be nice if the admin-ui project would have JavaScript unit tests.
> As with RANGER-2220 JavaScript minification was introduced, that can lead to 
> new type of loading errors that were not seen before.
> It would be nice if there was an automatic check that validates the minified 
> output.



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


Review Request 69067: RANGER-2255 JavaScript tests for UI loading

2018-10-17 Thread Csaba Koncz

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

Review request for ranger.


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


Repository: ranger


Description
---

Added JavaScript testing infrastructure (Karma, Mocha, PhantomJS) and a basic 
test to verify that both the initial uncompressed JavaScript module tree and 
the minified version can be loaded by a browser.

There are two test (Karma) configurations that correspond to the two module 
loading methods.

Later on more sophisticated tests can be added that mock backend services and 
do "real" business logic testing.


Diffs
-

  security-admin/pom.xml 7f81e6873 
  security-admin/src/main/webapp/index.html 4eb97353b 
  security-admin/src/main/webapp/minify.build.js 4b94bb159 
  security-admin/src/main/webapp/package-lock.json f7a72833f 
  security-admin/src/main/webapp/package.json 9f2274445 
  security-admin/src/main/webapp/scripts/Init.js 52b49e5fb 
  security-admin/src/main/webapp/scripts/Main.js 941414618 
  security-admin/src/main/webapp/tests/karma-common.conf.js PRE-CREATION 
  security-admin/src/main/webapp/tests/karma-dev.conf.js PRE-CREATION 
  security-admin/src/main/webapp/tests/karma-prd.conf.js PRE-CREATION 
  security-admin/src/main/webapp/tests/test-main.js PRE-CREATION 
  security-admin/src/main/webapp/tests/tests/main-test.js PRE-CREATION 


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


Testing
---

Executed mvn clean verify. The output contained the following:

[INFO] --- frontend-maven-plugin:1.6:npm (npm run karma dev) @ 
security-admin-web ---
[INFO] Running 'npm run karma -- start 
security-admin-web-2.0.0-SNAPSHOT/tests/karma-dev.conf.js' in 
/Users/ckoncz/work/git/hwx/ranger/security-admin/target
[INFO]
[INFO] > security-admin@2.0.0 karma 
/Users/ckoncz/work/git/hwx/ranger/security-admin/target
[INFO] > karma "start" 
"security-admin-web-2.0.0-SNAPSHOT/tests/karma-dev.conf.js"
[INFO]
[INFO] 17 10 2018 21:32:26.799:WARN [watcher]: Pattern 
"/Users/ckoncz/work/git/hwx/ranger/security-admin/target/security-admin-web-2.0.0-SNAPSHOT/node_modules/chai/chai.js"
 does not match any file.
[INFO] 17 10 2018 21:32:26.802:WARN [watcher]: Pattern 
"/Users/ckoncz/work/git/hwx/ranger/security-admin/target/security-admin-web-2.0.0-SNAPSHOT/node_modules/karma-requirejs/lib/adapter.js"
 does not match any file.
[INFO] 17 10 2018 21:32:26.944:INFO [karma]: Karma v3.0.0 server started at 
http://0.0.0.0:9876/
[INFO] 17 10 2018 21:32:26.944:INFO [launcher]: Launching browser PhantomJS 
with unlimited concurrency
[INFO] 17 10 2018 21:32:26.949:INFO [launcher]: Starting browser PhantomJS
[INFO] 17 10 2018 21:32:27.792:INFO [PhantomJS 2.1.1 (Mac OS X 0.0.0)]: 
Connected on socket PKDEs28ja09HLFyL with id 27321101
   LOG: 'just before loading Main'
[INFO] PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 0 of 1 SUCCESS (0 secs / 0 
secs)
   LOG: 'initialize a Communicator'
   LOG: 'Initialize a Region Manager'
[INFO] PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 0 of 1 SUCCESS (0 secs / 0 
secs)
[INFO] 17 10 2018 21:32:28.788:WARN [web-server]: 404: 
/service/users/profile?_=1539804747867
[INFO] 17 10 2018 21:32:28.827:WARN [web-server]: 404: /images/avatar.png
   LOG: 'initialize a Controller Controller'
[INFO] PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 0 of 1 SUCCESS (0 secs / 0 
secs)
   LOG: 'initialized a TopNav ItemView'
   LOG: 'initialized a ProfileBar ItemView'
   LOG: 'initialized a Footer ItemView'
   LOG: 'Error in service/plugins/checksso REST call404'
   LOG: 'initialized a ErrorView ItemView'
   LOG: 'mainModule.success=false'
   PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 1 of 1 SUCCESS (0.966 secs / 
0.958 secs)
[INFO] TOTAL: 1 SUCCESS
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm run karma prd) @ 
security-admin-web ---
[INFO] Running 'npm run karma -- start 
security-admin-web-2.0.0-SNAPSHOT/tests/karma-prd.conf.js' in 
/Users/ckoncz/work/git/hwx/ranger/security-admin/target
[INFO]
[INFO] > security-admin@2.0.0 karma 
/Users/ckoncz/work/git/hwx/ranger/security-admin/target
[INFO] > karma "start" 
"security-admin-web-2.0.0-SNAPSHOT/tests/karma-prd.conf.js"
[INFO]
[INFO] 17 10 2018 21:32:29.524:WARN [watcher]: Pattern 
"/Users/ckoncz/work/git/hwx/ranger/security-admin/target/security-admin-web-2.0.0-SNAPSHOT/node_modules/chai/chai.js"
 does not match any file.
[INFO] 17 10 2018 21:32:29.527:WARN [watcher]: Pattern 
"/Users/ckoncz/work/git/hwx/ranger/security-admin/target/security-admin-web-2.0.0-SNAPSHOT/node_modules/karma-requirejs/lib/adapter.js"
 does not match any file.
[INFO] 17 10 2018 21:32:29.671:INFO [karma]: Karma v3.0.0 server started at 
http://0.0.0.0:9876/
[INFO] 17 10 2018 21:32:29.671:INFO [launcher]: Launching browser PhantomJS 
with unlimited concurrency
[INFO] 17 

Certain user info fields in the User Edit view for some users are grayed out

2018-10-17 Thread Phil Su
Hi there,

I am needing some help understanding how some user info fields in the User
Edit view for some users are grayed out.

For example, when I go to Settings -> Users/Groups -> Users
and select the "admin" User Name and go into the User Details view, the
"Select Role *" field is grayed out (disabled) for me. Even though my user
is in the "Admin" role.

When I edit my own User Detail, all the fields (User Name, First Name, ...
Select Role, etc.) are grayed out.

But for some other users, I am able to change and update the roles.

Any suggestion on what is causing this?

I am using ranger 0.7.1, but I cherry picked commits to upgrade jQuery and
jQuery UI from 1.10.2 and 1.10.3 to 3.3.1 and 1.12.1.

Thanks,
Phil

>


[jira] [Updated] (RANGER-2247) Ranger Plugin for HDFS throws StringIndexOutOfBounds exception when policy resource is "\"

2018-10-17 Thread Velmurugan Periasamy (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Velmurugan Periasamy updated RANGER-2247:
-
Fix Version/s: (was: master)
   1.2.1
   1.1.1
   2.0.0

> Ranger Plugin for HDFS throws StringIndexOutOfBounds exception when policy 
> resource is "\"
> --
>
> Key: RANGER-2247
> URL: https://issues.apache.org/jira/browse/RANGER-2247
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: master
>Reporter: Abhay Kulkarni
>Assignee: Abhay Kulkarni
>Priority: Major
> Fix For: 2.0.0, 1.1.1, 1.2.1
>
>
> With a hdfs policy with a single \ as a resource, Ranger plugin throws 
> exception.
> % hdfs dfs -ls /user/
> ls: String index out of range: -1
> org.apache.hadoop.ipc.RemoteException(java.lang.StringIndexOutOfBoundsException):
>  String index out of range: -1
>   at java.lang.String.substring(String.java:1967)
>   at 
> org.apache.ranger.plugin.resourcematcher.RecursiveMatcher.getStringToCompare(RangerPathResourceMatcher.java:234)
>   at 
> org.apache.ranger.plugin.resourcematcher.CaseSensitiveRecursiveMatcher.isMatch(RangerPathResourceMatcher.java:249)
>   at 
> org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher.isMatch(RangerDefaultResourceMatcher.java:45)
>   at 
> org.apache.ranger.plugin.policyresourcematcher.RangerDefaultPolicyResourceMatcher.getMatchType(RangerDefaultPolicyResourceMatcher.java:478)
>   at 
> org.apache.ranger.plugin.policyevaluator.RangerDefaultPolicyEvaluator.evaluate(RangerDefaultPolicyEvaluator.java:177)



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


Re: Review Request 68983: RANGER-2247: Ranger Plugin for HDFS throws StringIndexOutOfBounds exception when policy resource is "\"

2018-10-17 Thread Velmurugan Periasamy

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


Ship it!




Ship It!

- Velmurugan Periasamy


On Oct. 12, 2018, 4:08 a.m., Abhay Kulkarni wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68983/
> ---
> 
> (Updated Oct. 12, 2018, 4:08 a.m.)
> 
> 
> Review request for ranger, Madhan Neethiraj and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2247
> https://issues.apache.org/jira/browse/RANGER-2247
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> With a hdfs policy with a single \ as a resource, Ranger plugin throws 
> exception.
> 
> % hdfs dfs -ls /user/
> ls: String index out of range: -1
> 
> 
> The root cause is token-replacer code returns empty string, as \ is default 
> escape character for tokens. Fix is to return \ in such cases.
> 
> 
> Diffs
> -
> 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerPathResourceMatcher.java
>  78a3b8a8e 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/util/StringTokenReplacer.java
>  ace04d65c 
>   agents-common/src/test/resources/policyengine/test_policyengine_hdfs.json 
> ea167f49c 
>   
> agents-common/src/test/resources/resourcematcher/test_resourcematcher_dynamic.json
>  db19f762d 
>   
> agents-common/src/test/resources/resourcematcher/test_resourcematcher_wildcards_as_delimiters.json
>  8e791d62c 
> 
> 
> Diff: https://reviews.apache.org/r/68983/diff/2/
> 
> 
> Testing
> ---
> 
> Ran all unit tests successfully
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>



Re: Review Request 69051: RANGER-2252:Permission "Kafka Admin" should not be part of Topic resource in Ranger Kafka resource definition

2018-10-17 Thread Velmurugan Periasamy

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


Ship it!




Ship It!

- Velmurugan Periasamy


On Oct. 16, 2018, 6:48 p.m., Ramesh Mani wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/69051/
> ---
> 
> (Updated Oct. 16, 2018, 6:48 p.m.)
> 
> 
> Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, and Velmurugan 
> Periasamy.
> 
> 
> Bugs: RANGER-2252
> https://issues.apache.org/jira/browse/RANGER-2252
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> RANGER-2252:Permission "Kafka Admin" should not be part of Topic resource in 
> Ranger Kafka resource definition
> 
> 
> Diffs
> -
> 
>   agents-common/src/main/resources/service-defs/ranger-servicedef-kafka.json 
> 78ae9ea 
> 
> 
> Diff: https://reviews.apache.org/r/69051/diff/1/
> 
> 
> Testing
> ---
> 
> Tested in local VM
> 
> 
> Thanks,
> 
> Ramesh Mani
> 
>



Re: Review Request 69065: RANGER-2256 - Grammatical error in UI

2018-10-17 Thread Velmurugan Periasamy

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


Ship it!




Ship It!

- Velmurugan Periasamy


On Oct. 17, 2018, 4:21 p.m., Colm O hEigeartaigh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/69065/
> ---
> 
> (Updated Oct. 17, 2018, 4:21 p.m.)
> 
> 
> Review request for ranger.
> 
> 
> Bugs: RANGER-2256
> https://issues.apache.org/jira/browse/RANGER-2256
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> There's a grammatical error in the UI when looking at the users of an empty 
> group.
> 
> 
> Diffs
> -
> 
>   security-admin/src/main/webapp/scripts/modules/globalize/message/en.js 
> 99cbf55e9 
> 
> 
> Diff: https://reviews.apache.org/r/69065/diff/1/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Colm O hEigeartaigh
> 
>



[jira] [Updated] (RANGER-2256) Grammatical error in UI

2018-10-17 Thread Colm O hEigeartaigh (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colm O hEigeartaigh updated RANGER-2256:

Attachment: 0001-RANGER-2256-Grammatical-error-in-UI.patch

> Grammatical error in UI
> ---
>
> Key: RANGER-2256
> URL: https://issues.apache.org/jira/browse/RANGER-2256
> Project: Ranger
>  Issue Type: Task
>  Components: admin
>Reporter: Colm O hEigeartaigh
>Assignee: Colm O hEigeartaigh
>Priority: Trivial
> Fix For: 2.0.0
>
> Attachments: 0001-RANGER-2256-Grammatical-error-in-UI.patch
>
>
> There's a grammatical error in the UI when looking at the users of an empty 
> group.



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


Review Request 69065: RANGER-2256 - Grammatical error in UI

2018-10-17 Thread Colm O hEigeartaigh

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

Review request for ranger.


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


Repository: ranger


Description
---

There's a grammatical error in the UI when looking at the users of an empty 
group.


Diffs
-

  security-admin/src/main/webapp/scripts/modules/globalize/message/en.js 
99cbf55e9 


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


Testing
---


Thanks,

Colm O hEigeartaigh



[jira] [Created] (RANGER-2256) Grammatical error in UI

2018-10-17 Thread Colm O hEigeartaigh (JIRA)
Colm O hEigeartaigh created RANGER-2256:
---

 Summary: Grammatical error in UI
 Key: RANGER-2256
 URL: https://issues.apache.org/jira/browse/RANGER-2256
 Project: Ranger
  Issue Type: Task
  Components: admin
Reporter: Colm O hEigeartaigh
Assignee: Colm O hEigeartaigh
 Fix For: 2.0.0


There's a grammatical error in the UI when looking at the users of an empty 
group.



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


[jira] [Comment Edited] (RANGER-2253) Unable to get dashboard page after login

2018-10-17 Thread Pradeep Agrawal (JIRA)


[ 
https://issues.apache.org/jira/browse/RANGER-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16653773#comment-16653773
 ] 

Pradeep Agrawal edited comment on RANGER-2253 at 10/17/18 4:07 PM:
---

Patch committed to ranger-0.7 branch: 
[https://github.com/apache/ranger/commit/8ac86f2ee606ff1cd54836b03e64ad2a00f79fca]


was (Author: pradeep.agrawal):
Patch committed: 
https://github.com/apache/ranger/commit/8ac86f2ee606ff1cd54836b03e64ad2a00f79fca

> Unable to get dashboard page after login
> 
>
> Key: RANGER-2253
> URL: https://issues.apache.org/jira/browse/RANGER-2253
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: 0.7.2
>Reporter: Pradeep Agrawal
>Assignee: Pradeep Agrawal
>Priority: Blocker
> Fix For: 0.7.2
>
> Attachments: Screen Shot 2018-10-17 at 5.00.45 AM.png
>
>
> After login I am not getting Ranger dashboard and this page is coming:
> !Screen Shot 2018-10-17 at 5.00.45 AM.png!



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


Re: Review Request 69062: RANGER-2253: Unable to get dashboard page after login

2018-10-17 Thread Abhay Kulkarni

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


Ship it!




Ship It!

- Abhay Kulkarni


On Oct. 17, 2018, 2:55 p.m., Pradeep Agrawal wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/69062/
> ---
> 
> (Updated Oct. 17, 2018, 2:55 p.m.)
> 
> 
> Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, 
> Nikhil P, Ramesh Mani, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2253
> https://issues.apache.org/jira/browse/RANGER-2253
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> **Problem Statement:** Unable to get dashboard page after login. The issue is 
> seen after the commit 
> https://github.com/apache/ranger/commit/8257bc94f0d73175da99fed65eec241bf7a4efe2
> 
> **Proposed Solution:** I observed that Ranger is pulling two different jars 
> of the asm library and probably due to jar conflict Ranger Dashboard page is 
> not loading. Proposed patch includes changes of excluding the asm-5.0.4.jar 
> from the ranger packaging.
> 
> 
> Diffs
> -
> 
>   security-admin/pom.xml 8283e3159 
> 
> 
> Diff: https://reviews.apache.org/r/69062/diff/1/
> 
> 
> Testing
> ---
> 
> Steps performed for Ranger-admin(with patch):
> 1. Created Build with patch and untar the build.
> 2. Opened install.properties and provided db configuration in 
> install.properties
> 3. Called setup.sh
> 4. Started Ranger admin
> 
> **Expected Behavior:**
> 1. Ranger-admin installation should finish successfully and asm-5.0.4 jars 
> should not be available at location: 
> ranger-0.7.2-SNAPSHOT-admin/ews/webapp/WEB-INF/lib
> 2. Ranger admin should start and dashboard page should load. 
> 
> **Actual Behavior:**
> 1 Ranger-admin Installation finished successfully and asm-5.0.4 jar was not 
> available at location: 
> ranger-0.7.2-SNAPSHOT-admin/ews/webapp/WEB-INF/lib
> 2. Ranger admin started successfully and dashboard page was loaded. 
> 
> Note: After Login was able to created policies.
> 
> 
> Thanks,
> 
> Pradeep Agrawal
> 
>



Review Request 69062: RANGER-2253: Unable to get dashboard page after login

2018-10-17 Thread Pradeep Agrawal

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

Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, 
Nikhil P, Ramesh Mani, and Velmurugan Periasamy.


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


Repository: ranger


Description
---

**Problem Statement:** Unable to get dashboard page after login. The issue is 
seen after the commit 
https://github.com/apache/ranger/commit/8257bc94f0d73175da99fed65eec241bf7a4efe2

**Proposed Solution:** I observed that Ranger is pulling two different jars of 
the asm library and probably due to jar conflict Ranger Dashboard page is not 
loading. Proposed patch includes changes of excluding the asm-5.0.4.jar from 
the ranger packaging.


Diffs
-

  security-admin/pom.xml 8283e3159 


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


Testing
---

Steps performed for Ranger-admin(with patch):
1. Created Build with patch and untar the build.
2. Opened install.properties and provided db configuration in install.properties
3. Called setup.sh
4. Started Ranger admin

**Expected Behavior:**
1. Ranger-admin installation should finish successfully and asm-5.0.4 jars 
should not be available at location: 
ranger-0.7.2-SNAPSHOT-admin/ews/webapp/WEB-INF/lib
2. Ranger admin should start and dashboard page should load. 

**Actual Behavior:**
1 Ranger-admin Installation finished successfully and asm-5.0.4 jar was not 
available at location: 
ranger-0.7.2-SNAPSHOT-admin/ews/webapp/WEB-INF/lib
2. Ranger admin started successfully and dashboard page was loaded. 

Note: After Login was able to created policies.


Thanks,

Pradeep Agrawal



[jira] [Updated] (RANGER-2251) Need to provide options for making java heap size memory configurable in Ranger services

2018-10-17 Thread Vishal Suvagia (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vishal Suvagia updated RANGER-2251:
---
Attachment: WIP-RANGER-2251-master.patch

> Need to provide options for making java heap size memory configurable in 
> Ranger services
> 
>
> Key: RANGER-2251
> URL: https://issues.apache.org/jira/browse/RANGER-2251
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: 1.2.0
>Reporter: Vishal Suvagia
>Assignee: Vishal Suvagia
>Priority: Major
> Fix For: 2.0.0
>
> Attachments: WIP-RANGER-2251-master.patch
>
>
> Need to make java heap size memory configurable for Ranger services.



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


[jira] [Updated] (RANGER-2251) Need to provide options for making java heap size memory configurable in Ranger services

2018-10-17 Thread Vishal Suvagia (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vishal Suvagia updated RANGER-2251:
---
Attachment: (was: RANGER-2251-master.patch)

> Need to provide options for making java heap size memory configurable in 
> Ranger services
> 
>
> Key: RANGER-2251
> URL: https://issues.apache.org/jira/browse/RANGER-2251
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: 1.2.0
>Reporter: Vishal Suvagia
>Assignee: Vishal Suvagia
>Priority: Major
> Fix For: 2.0.0
>
> Attachments: WIP-RANGER-2251-master.patch
>
>
> Need to make java heap size memory configurable for Ranger services.



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


[jira] [Commented] (RANGER-2229) Perform graceful terminate with retries before doing forceful kill for usersync and tagsync

2018-10-17 Thread bhavik patel (JIRA)


[ 
https://issues.apache.org/jira/browse/RANGER-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16653278#comment-16653278
 ] 

bhavik patel commented on RANGER-2229:
--

Commit link for 
[ranger-1|https://github.com/apache/ranger/commit/44f1652780ae6367b898b15156bf91cab093d689]
 , 
[ranger-1.1|https://github.com/apache/ranger/commit/634999e52fdaf497027b534173766cb9b9185882],
 
[ranger-1.2|https://github.com/apache/ranger/commit/25a46567857277f346d5aafc07de83111d8ac044]

> Perform graceful terminate with retries before doing forceful kill for 
> usersync and tagsync
> ---
>
> Key: RANGER-2229
> URL: https://issues.apache.org/jira/browse/RANGER-2229
> Project: Ranger
>  Issue Type: Bug
>  Components: tagsync, usersync
>Affects Versions: 1.1.0
>Reporter: suja s
>Assignee: bhavik patel
>Priority: Major
> Attachments: RANGER-2229-01.patch, RANGER-2229.patch
>
>
> In ranger usersync and tagsync scripts, stop of the process is done 
> forcefully using kill -9.
> Suggestion is to do a graceful shutdown with retries and do a force kill only 
> if graceful shutdown is not successful.
> Stop section from ranger-tagsync-services.sh and ranger-tusersync-services.sh
> {noformat}
> lif [ "${action}" == "STOP" ]; then
>  WAIT_TIME_FOR_SHUTDOWN=2
>  NR_ITER_FOR_SHUTDOWN_CHECK=15
>  if [ -f "$pidf" ] ; then
>  pid=`cat $pidf` > /dev/null 2>&1
>  echo "Found Apache Ranger TagSync Service with pid $pid, Stopping..."
>  kill -9 $pid > /dev/null 2>&1
>  sleep 1 #Give kill -9 sometime to "kill"
>  if ps -p $pid > /dev/null; then
>  echo "Wow, even kill -9 failed, giving up! Sorry.."
>  else
>  rm -f $pidf
>  echo "Apache Ranger Tagsync Service pid = ${pid} has been stopped."
>  fi
>  else
>  echo "Ranger Tagsync Service not running"
>  fi
>  exit;
> {noformat}



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


[jira] [Commented] (RANGER-2251) Need to provide options for making java heap size memory configurable in Ranger services

2018-10-17 Thread Vishal Suvagia (JIRA)


[ 
https://issues.apache.org/jira/browse/RANGER-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16653234#comment-16653234
 ] 

Vishal Suvagia commented on RANGER-2251:


The attached patch is a work in progress patch.

> Need to provide options for making java heap size memory configurable in 
> Ranger services
> 
>
> Key: RANGER-2251
> URL: https://issues.apache.org/jira/browse/RANGER-2251
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: 1.2.0
>Reporter: Vishal Suvagia
>Assignee: Vishal Suvagia
>Priority: Major
> Fix For: 2.0.0
>
> Attachments: RANGER-2251-master.patch
>
>
> Need to make java heap size memory configurable for Ranger services.



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


[jira] [Updated] (RANGER-2251) Need to provide options for making java heap size memory configurable in Ranger services

2018-10-17 Thread Vishal Suvagia (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vishal Suvagia updated RANGER-2251:
---
Attachment: RANGER-2251-master.patch

> Need to provide options for making java heap size memory configurable in 
> Ranger services
> 
>
> Key: RANGER-2251
> URL: https://issues.apache.org/jira/browse/RANGER-2251
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: 1.2.0
>Reporter: Vishal Suvagia
>Assignee: Vishal Suvagia
>Priority: Major
> Fix For: 2.0.0
>
> Attachments: RANGER-2251-master.patch
>
>
> Need to make java heap size memory configurable for Ranger services.



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


[jira] [Updated] (RANGER-2254) Ranger haven't building by "build_ranger_using_docker.sh"

2018-10-17 Thread Leonid (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonid updated RANGER-2254:
---
Description: 
I have tried to build Ranger 1.2.0 with 
{code:java}
sh ./build_ranger_using_docker.sh mvn clean compile package install 
assembly:assembly
{code}
and had gotten this:
{code:java}
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
(default) on project ranger: Too many files with unapproved license: 22 See RAT 
report in: /ranger/target/rat.txt -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.rat:apache-rat-plugin:0.11:check (default) on project ranger: Too 
many files with unapproved license: 22 See RAT report in: /ranger/target/rat.txt
{code}
if I have tried use *_-Drat.skip=true_* I had gotten many errors in Audit 
Component like *_error: cannot find symbol_*

  was:
I have tried to build Ranger 1.2.0 with 
{code:java}
sh ./build_ranger_using_docker.sh mvn clean compile package install 
assembly:assembly
{code}
and had got this:
{code:java}
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
(default) on project ranger: Too many files with unapproved license: 22 See RAT 
report in: /ranger/target/rat.txt -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.rat:apache-rat-plugin:0.11:check (default) on project ranger: Too 
many files with unapproved license: 22 See RAT report in: /ranger/target/rat.txt
{code}
if I have tried use *_-Drat.skip=true_* I had got many errors in Audit 
Component like *_error: cannot find symbol_*


> Ranger haven't building by "build_ranger_using_docker.sh"
> -
>
> Key: RANGER-2254
> URL: https://issues.apache.org/jira/browse/RANGER-2254
> Project: Ranger
>  Issue Type: Bug
>  Components: audit, Ranger
>Affects Versions: 1.2.0
> Environment: docker
>Reporter: Leonid
>Priority: Major
>  Labels: build
> Fix For: 1.2.0
>
> Attachments: first.log, second.log
>
>
> I have tried to build Ranger 1.2.0 with 
> {code:java}
> sh ./build_ranger_using_docker.sh mvn clean compile package install 
> assembly:assembly
> {code}
> and had gotten this:
> {code:java}
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
> (default) on project ranger: Too many files with unapproved license: 22 See 
> RAT report in: /ranger/target/rat.txt -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ranger: 
> Too many files with unapproved license: 22 See RAT report in: 
> /ranger/target/rat.txt
> {code}
> if I have tried use *_-Drat.skip=true_* I had gotten many errors in Audit 
> Component like *_error: cannot find symbol_*



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


[jira] [Updated] (RANGER-2254) Ranger haven't building by "build_ranger_using_docker.sh"

2018-10-17 Thread Leonid (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonid updated RANGER-2254:
---
Description: 
I have tried to build Ranger 1.2.0 with 
{code:java}
sh ./build_ranger_using_docker.sh mvn clean compile package install 
assembly:assembly
{code}
and had got this:
{code:java}
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
(default) on project ranger: Too many files with unapproved license: 22 See RAT 
report in: /ranger/target/rat.txt -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.rat:apache-rat-plugin:0.11:check (default) on project ranger: Too 
many files with unapproved license: 22 See RAT report in: /ranger/target/rat.txt
{code}
if I have tried use *_-Drat.skip=true_* I had got many errors in Audit 
Component like *_error: cannot find symbol_*

  was:
I have tried to build Ranger 1.2.0 with 
{code:java}
sh ./build_ranger_using_docker.sh mvn clean compile package install 
assembly:assembly
{code}
and had got this:
{code:java}
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
(default) on project ranger: Too many files with unapproved license: 22 See RAT 
report in: /ranger/target/rat.txt -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.rat:apache-rat-plugin:0.11:check (default) on project ranger: Too 
many files with unapproved license: 22 See RAT report in: /ranger/target/rat.txt
{code}
if I have tried use *_-Drat.skip=true_* I had got many errors like *_error: 
cannot find symbol_* in Audit Component


> Ranger haven't building by "build_ranger_using_docker.sh"
> -
>
> Key: RANGER-2254
> URL: https://issues.apache.org/jira/browse/RANGER-2254
> Project: Ranger
>  Issue Type: Bug
>  Components: audit, Ranger
>Affects Versions: 1.2.0
> Environment: docker
>Reporter: Leonid
>Priority: Major
>  Labels: build
> Fix For: 1.2.0
>
> Attachments: first.log, second.log
>
>
> I have tried to build Ranger 1.2.0 with 
> {code:java}
> sh ./build_ranger_using_docker.sh mvn clean compile package install 
> assembly:assembly
> {code}
> and had got this:
> {code:java}
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
> (default) on project ranger: Too many files with unapproved license: 22 See 
> RAT report in: /ranger/target/rat.txt -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ranger: 
> Too many files with unapproved license: 22 See RAT report in: 
> /ranger/target/rat.txt
> {code}
> if I have tried use *_-Drat.skip=true_* I had got many errors in Audit 
> Component like *_error: cannot find symbol_*



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


[jira] [Updated] (RANGER-2254) Ranger haven't building by "build_ranger_using_docker.sh"

2018-10-17 Thread Leonid (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonid updated RANGER-2254:
---
Attachment: first.log

> Ranger haven't building by "build_ranger_using_docker.sh"
> -
>
> Key: RANGER-2254
> URL: https://issues.apache.org/jira/browse/RANGER-2254
> Project: Ranger
>  Issue Type: Bug
>  Components: audit, Ranger
>Affects Versions: 1.2.0
> Environment: docker
>Reporter: Leonid
>Priority: Major
>  Labels: build
> Fix For: 1.2.0
>
> Attachments: first.log, second.log
>
>
> I have tried to build Ranger 1.2.0 with 
> {code:java}
> sh ./build_ranger_using_docker.sh mvn clean compile package install 
> assembly:assembly
> {code}
> and have taken this:
> {code:java}
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
> (default) on project ranger: Too many files with unapproved license: 22 See 
> RAT report in: /ranger/target/rat.txt -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ranger: 
> Too many files with unapproved license: 22 See RAT report in: 
> /ranger/target/rat.txt
> {code}
> if I tried use *_-Drat.skip=true_* I have taken many errors like *_error: 
> cannot find symbol_* in Audit Component



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


[jira] [Updated] (RANGER-2254) Ranger haven't building by "build_ranger_using_docker.sh"

2018-10-17 Thread Leonid (JIRA)


 [ 
https://issues.apache.org/jira/browse/RANGER-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonid updated RANGER-2254:
---
Attachment: second.log

> Ranger haven't building by "build_ranger_using_docker.sh"
> -
>
> Key: RANGER-2254
> URL: https://issues.apache.org/jira/browse/RANGER-2254
> Project: Ranger
>  Issue Type: Bug
>  Components: audit, Ranger
>Affects Versions: 1.2.0
> Environment: docker
>Reporter: Leonid
>Priority: Major
>  Labels: build
> Fix For: 1.2.0
>
> Attachments: first.log, second.log
>
>
> I have tried to build Ranger 1.2.0 with 
> {code:java}
> sh ./build_ranger_using_docker.sh mvn clean compile package install 
> assembly:assembly
> {code}
> and have taken this:
> {code:java}
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
> (default) on project ranger: Too many files with unapproved license: 22 See 
> RAT report in: /ranger/target/rat.txt -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ranger: 
> Too many files with unapproved license: 22 See RAT report in: 
> /ranger/target/rat.txt
> {code}
> if I tried use *_-Drat.skip=true_* I have taken many errors like *_error: 
> cannot find symbol_* in Audit Component



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