[jira] [Updated] (RANGER-1861) There are errors when the "ranger-kms start" command was executed.
[ https://issues.apache.org/jira/browse/RANGER-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] peng.jianhua updated RANGER-1861: - Attachment: 0001-RANGER-1861-There-are-errors-when-the-ranger-kms-sta.patch > There are errors when the "ranger-kms start" command was executed. > -- > > Key: RANGER-1861 > URL: https://issues.apache.org/jira/browse/RANGER-1861 > Project: Ranger > Issue Type: Bug > Components: kms >Affects Versions: 1.0.0, master >Reporter: peng.jianhua >Assignee: peng.jianhua > Labels: patch > Attachments: > 0001-RANGER-1861-There-are-errors-when-the-ranger-kms-sta.patch > > > There are errors when the "ranger-kms start" command was executed. > {code} > 2017-10-28 23:23:33,339 ERROR XMLUtils - Error loading : > java.lang.IllegalArgumentException: InputStream cannot be null > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:117) > at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:64) > at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:48) > at > org.apache.ranger.server.tomcat.EmbeddedServer.(EmbeddedServer.java:77) > at > org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:69) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
Review Request 63870: RANGER-1861:There are errors when the "ranger-kms start" command was executed.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63870/ --- Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan Neethiraj, Velmurugan Periasamy, and Qiang Zhang. Bugs: RANGER-1861 https://issues.apache.org/jira/browse/RANGER-1861 Repository: ranger Description --- There are errors when the "ranger-kms start" command was executed. 2017-10-28 23:23:33,339 ERROR XMLUtils - Error loading : java.lang.IllegalArgumentException: InputStream cannot be null at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:117) at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:64) at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:48) at org.apache.ranger.server.tomcat.EmbeddedServer.(EmbeddedServer.java:77) at org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:69) Diffs - embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java 40eed861 Diff: https://reviews.apache.org/r/63870/diff/1/ Testing --- Thanks, pengjianhua
Re: Review Request 63789: RANGER-1887:serviceDef.getResources().get(0).getName(); case IndexOutOfBoundsException in RangerServiceTag.class And print error in RangerServiceStorm
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63789/#review191170 --- The indentation of the for loop needs to be shifted to the right due to the new if statement. - Colm O hEigeartaigh On Nov. 14, 2017, 11:09 a.m., Qiang Zhang wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63789/ > --- > > (Updated Nov. 14, 2017, 11:09 a.m.) > > > Review request for ranger, Ankita Sinha, Don Bosco Durai, Colm O > hEigeartaigh, Gautam Borad, Madhan Neethiraj, pengjianhua, Ramesh Mani, > Selvamohan Neethiraj, sam rome, and Velmurugan Periasamy. > > > Bugs: RANGER-1887 > https://issues.apache.org/jira/browse/RANGER-1887 > > > Repository: ranger > > > Description > --- > > String tagResourceName = serviceDef.getResources().get(0).getName(); case > java.lang.IndexOutOfBoundsException in RangerServiceTag.class > And print log error for RangerServiceStorm.class > > > Diffs > - > > > agents-common/src/main/java/org/apache/ranger/services/tag/RangerServiceTag.java > ce6002b > > storm-agent/src/main/java/org/apache/ranger/services/storm/RangerServiceStorm.java > d4dbd7b > > > Diff: https://reviews.apache.org/r/63789/diff/2/ > > > Testing > --- > > Tested it > > > Thanks, > > Qiang Zhang > >
Re: Review Request 63870: RANGER-1861:There are errors when the "ranger-kms start" command was executed.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63870/#review191172 --- How does your change prevent the error? From what I can see the change is that it doesn't load the DEFAULT_CONFIG_FILENAME if an argument is specified. - Colm O hEigeartaigh On Nov. 16, 2017, 10:03 a.m., pengjianhua wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63870/ > --- > > (Updated Nov. 16, 2017, 10:03 a.m.) > > > Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O > hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan > Neethiraj, Velmurugan Periasamy, and Qiang Zhang. > > > Bugs: RANGER-1861 > https://issues.apache.org/jira/browse/RANGER-1861 > > > Repository: ranger > > > Description > --- > > There are errors when the "ranger-kms start" command was executed. > > 2017-10-28 23:23:33,339 ERROR XMLUtils - Error loading : > java.lang.IllegalArgumentException: InputStream cannot be null > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:117) > at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:64) > at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:48) > at > org.apache.ranger.server.tomcat.EmbeddedServer.(EmbeddedServer.java:77) > at > org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:69) > > > Diffs > - > > > embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java > 40eed861 > > > Diff: https://reviews.apache.org/r/63870/diff/1/ > > > Testing > --- > > > Thanks, > > pengjianhua > >
[jira] [Commented] (RANGER-1738) RangerYarnAuthorizer not compatible with Hadoop-3.0.0
[ https://issues.apache.org/jira/browse/RANGER-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16255203#comment-16255203 ] Colm O hEigeartaigh commented on RANGER-1738: - The problem with switching Ranger to Hadoop 3.0.0, is that a lot of the components rely on Hadoop 2.7.x, and it ends up breaking a lot of the tests (HBase, Hive, etc.), as we end up having different Hadoop versions on the classpath. Perhaps we should wait to update to Hadoop 3.0.0 until more of the components release new major versions depending on Hadoop 3.0.0? Until then I could just add a new plugin for Yarn 3.0.0 so we can claim to support Hadoop 3.0.0. WDYT? > RangerYarnAuthorizer not compatible with Hadoop-3.0.0 > - > > Key: RANGER-1738 > URL: https://issues.apache.org/jira/browse/RANGER-1738 > Project: Ranger > Issue Type: Bug > Components: plugins >Affects Versions: 0.7.1 >Reporter: Hong Shen >Assignee: Colm O hEigeartaigh > Fix For: 1.0.0 > > Attachments: > 0001-RANGER-1738-RangerYarnAuthorizer-not-compatible-with.patch > > > In the newest hadoop version 3.0.0, YarnAuthorizationProvider has changed. > The new YarnAuthorizationProvider.java has change the methods checkPermission > and setPermission, > {code:title=YarnAuthorizationProvider.java|borderStyle=solid} > /** >* Check if user has the permission to access the target object. >* >* @param accessRequest >* the request object which contains all the access context info. >* @return true if user can access the object, otherwise false. >*/ > public abstract boolean checkPermission(AccessRequest accessRequest); > /** >* Set permissions for the target object. >* >* @param permissions >*A list of permissions on the target object. >* @param ugi User who sets the permissions. >*/ > public abstract void setPermission(List permissions, > UserGroupInformation ugi); > {code} > But the RangerYarnAuthorizer extends YarnAuthorizationProvider impletement > the old method. > {code:title=RangerYarnAuthorizer.java|borderStyle=solid} > @Override > public void setPermission(PrivilegedEntity entity, Map AccessControlList> permission, UserGroupInformation ugi) { >... > @Override > public boolean checkPermission(AccessType accessType, PrivilegedEntity > entity, UserGroupInformation ugi) { > {code} > I think yarn plugin should also impletement the new method. I will add a > patch for it. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RANGER-1849) Remove PasswordGenerator and FileStoreUtil
[ https://issues.apache.org/jira/browse/RANGER-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colm O hEigeartaigh updated RANGER-1849: Summary: Remove PasswordGenerator and FileStoreUtil (was: Remove PasswordGenerator) > Remove PasswordGenerator and FileStoreUtil > -- > > Key: RANGER-1849 > URL: https://issues.apache.org/jira/browse/RANGER-1849 > Project: Ranger > Issue Type: Improvement > Components: plugins >Reporter: Colm O hEigeartaigh >Assignee: Colm O hEigeartaigh >Priority: Trivial > Fix For: 1.0.0 > > > PasswordGenerator is not used in any of the scripts and should be removed. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RANGER-1849) Remove PasswordGenerator and FileStoreUtil
[ https://issues.apache.org/jira/browse/RANGER-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colm O hEigeartaigh updated RANGER-1849: Attachment: (was: 0001-RANGER-1849-Remove-PasswordGenerator.patch) > Remove PasswordGenerator and FileStoreUtil > -- > > Key: RANGER-1849 > URL: https://issues.apache.org/jira/browse/RANGER-1849 > Project: Ranger > Issue Type: Improvement > Components: plugins >Reporter: Colm O hEigeartaigh >Assignee: Colm O hEigeartaigh >Priority: Trivial > Fix For: 1.0.0 > > > PasswordGenerator is not used in any of the scripts and should be removed. > Same goes for FileStoreUtil. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (RANGER-1849) Remove PasswordGenerator and FileStoreUtil
[ https://issues.apache.org/jira/browse/RANGER-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colm O hEigeartaigh updated RANGER-1849: Description: PasswordGenerator is not used in any of the scripts and should be removed. Same goes for FileStoreUtil. (was: PasswordGenerator is not used in any of the scripts and should be removed.) > Remove PasswordGenerator and FileStoreUtil > -- > > Key: RANGER-1849 > URL: https://issues.apache.org/jira/browse/RANGER-1849 > Project: Ranger > Issue Type: Improvement > Components: plugins >Reporter: Colm O hEigeartaigh >Assignee: Colm O hEigeartaigh >Priority: Trivial > Fix For: 1.0.0 > > > PasswordGenerator is not used in any of the scripts and should be removed. > Same goes for FileStoreUtil. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
Re: Review Request 63182: RANGER-1849 - Remove PasswordGenerator and FileStoreUtil
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63182/ --- (Updated Nov. 16, 2017, 12:11 p.m.) Review request for ranger. Summary (updated) - RANGER-1849 - Remove PasswordGenerator and FileStoreUtil Bugs: RANGER-1849 https://issues.apache.org/jira/browse/RANGER-1849 Repository: ranger Description (updated) --- PasswordGenerator is not used in any of the scripts and should be removed. Same goes for FileStoreUtil. Diffs - agents-installer/src/main/java/org/apache/ranger/utils/install/PasswordGenerator.java a829957a Diff: https://reviews.apache.org/r/63182/diff/1/ Testing --- Thanks, Colm O hEigeartaigh
[jira] [Updated] (RANGER-1849) Remove PasswordGenerator and FileStoreUtil
[ https://issues.apache.org/jira/browse/RANGER-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colm O hEigeartaigh updated RANGER-1849: Attachment: 0001-RANGER-1849-Remove-PasswordGenerator-and-FileStoreUt.patch > Remove PasswordGenerator and FileStoreUtil > -- > > Key: RANGER-1849 > URL: https://issues.apache.org/jira/browse/RANGER-1849 > Project: Ranger > Issue Type: Improvement > Components: plugins >Reporter: Colm O hEigeartaigh >Assignee: Colm O hEigeartaigh >Priority: Trivial > Fix For: 1.0.0 > > Attachments: > 0001-RANGER-1849-Remove-PasswordGenerator-and-FileStoreUt.patch > > > PasswordGenerator is not used in any of the scripts and should be removed. > Same goes for FileStoreUtil. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
Re: Review Request 63182: RANGER-1849 - Remove PasswordGenerator and FileStoreUtil
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63182/ --- (Updated Nov. 16, 2017, 12:18 p.m.) Review request for ranger. Bugs: RANGER-1849 https://issues.apache.org/jira/browse/RANGER-1849 Repository: ranger Description --- PasswordGenerator is not used in any of the scripts and should be removed. Same goes for FileStoreUtil. Diffs (updated) - agents-common/src/main/java/org/apache/ranger/plugin/store/file/FileStoreUtil.java 3f408d76 agents-installer/src/main/java/org/apache/ranger/utils/install/PasswordGenerator.java a829957a Diff: https://reviews.apache.org/r/63182/diff/2/ Changes: https://reviews.apache.org/r/63182/diff/1-2/ Testing --- Thanks, Colm O hEigeartaigh
Re: Review Request 63182: RANGER-1849 - Remove PasswordGenerator and FileStoreUtil
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63182/#review191208 --- Ship it! Ship It! - Alejandro Fernandez On Nov. 16, 2017, 12:18 p.m., Colm O hEigeartaigh wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63182/ > --- > > (Updated Nov. 16, 2017, 12:18 p.m.) > > > Review request for ranger. > > > Bugs: RANGER-1849 > https://issues.apache.org/jira/browse/RANGER-1849 > > > Repository: ranger > > > Description > --- > > PasswordGenerator is not used in any of the scripts and should be removed. > Same goes for FileStoreUtil. > > > Diffs > - > > > agents-common/src/main/java/org/apache/ranger/plugin/store/file/FileStoreUtil.java > 3f408d76 > > agents-installer/src/main/java/org/apache/ranger/utils/install/PasswordGenerator.java > a829957a > > > Diff: https://reviews.apache.org/r/63182/diff/2/ > > > Testing > --- > > > Thanks, > > Colm O hEigeartaigh > >
Re: Review Request 63870: RANGER-1861:There are errors when the "ranger-kms start" command was executed.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63870/#review191209 --- Ship it! Ship It! - Alejandro Fernandez On Nov. 16, 2017, 10:03 a.m., pengjianhua wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63870/ > --- > > (Updated Nov. 16, 2017, 10:03 a.m.) > > > Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O > hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan > Neethiraj, Velmurugan Periasamy, and Qiang Zhang. > > > Bugs: RANGER-1861 > https://issues.apache.org/jira/browse/RANGER-1861 > > > Repository: ranger > > > Description > --- > > There are errors when the "ranger-kms start" command was executed. > > 2017-10-28 23:23:33,339 ERROR XMLUtils - Error loading : > java.lang.IllegalArgumentException: InputStream cannot be null > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:117) > at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:64) > at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:48) > at > org.apache.ranger.server.tomcat.EmbeddedServer.(EmbeddedServer.java:77) > at > org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:69) > > > Diffs > - > > > embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java > 40eed861 > > > Diff: https://reviews.apache.org/r/63870/diff/1/ > > > Testing > --- > > > Thanks, > > pengjianhua > >
Re: Review Request 63789: RANGER-1887:serviceDef.getResources().get(0).getName(); case IndexOutOfBoundsException in RangerServiceTag.class And print error in RangerServiceStorm
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63789/ --- (Updated 十一月 17, 2017, 6:16 a.m.) Review request for ranger, Ankita Sinha, Don Bosco Durai, Colm O hEigeartaigh, Gautam Borad, Madhan Neethiraj, pengjianhua, Ramesh Mani, Selvamohan Neethiraj, sam rome, and Velmurugan Periasamy. Bugs: RANGER-1887 https://issues.apache.org/jira/browse/RANGER-1887 Repository: ranger Description --- String tagResourceName = serviceDef.getResources().get(0).getName(); case java.lang.IndexOutOfBoundsException in RangerServiceTag.class And print log error for RangerServiceStorm.class Diffs (updated) - agents-common/src/main/java/org/apache/ranger/services/tag/RangerServiceTag.java ce6002b storm-agent/src/main/java/org/apache/ranger/services/storm/RangerServiceStorm.java d4dbd7b Diff: https://reviews.apache.org/r/63789/diff/3/ Changes: https://reviews.apache.org/r/63789/diff/2-3/ Testing --- Tested it Thanks, Qiang Zhang
Re: Review Request 63789: RANGER-1887:serviceDef.getResources().get(0).getName(); case IndexOutOfBoundsException in RangerServiceTag.class And print error in RangerServiceStorm
> On 十一月 16, 2017, 11:36 a.m., Colm O hEigeartaigh wrote: > > The indentation of the for loop needs to be shifted to the right due to the > > new if statement. Thanks for your reminder,I have formatted the code. - Qiang --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63789/#review191170 --- On 十一月 14, 2017, 11:09 a.m., Qiang Zhang wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63789/ > --- > > (Updated 十一月 14, 2017, 11:09 a.m.) > > > Review request for ranger, Ankita Sinha, Don Bosco Durai, Colm O > hEigeartaigh, Gautam Borad, Madhan Neethiraj, pengjianhua, Ramesh Mani, > Selvamohan Neethiraj, sam rome, and Velmurugan Periasamy. > > > Bugs: RANGER-1887 > https://issues.apache.org/jira/browse/RANGER-1887 > > > Repository: ranger > > > Description > --- > > String tagResourceName = serviceDef.getResources().get(0).getName(); case > java.lang.IndexOutOfBoundsException in RangerServiceTag.class > And print log error for RangerServiceStorm.class > > > Diffs > - > > > agents-common/src/main/java/org/apache/ranger/services/tag/RangerServiceTag.java > ce6002b > > storm-agent/src/main/java/org/apache/ranger/services/storm/RangerServiceStorm.java > d4dbd7b > > > Diff: https://reviews.apache.org/r/63789/diff/3/ > > > Testing > --- > > Tested it > > > Thanks, > > Qiang Zhang > >
[jira] [Updated] (RANGER-1887) serviceDef.getResources().get(0).getName(); case IndexOutOfBoundsException in RangerServiceTag.class And print error in RangerServiceStorm
[ https://issues.apache.org/jira/browse/RANGER-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Qiang Zhang updated RANGER-1887: Attachment: 0001-RANGER-1887-serviceDef.getResources-.get-0-.getName-.patch > serviceDef.getResources().get(0).getName(); case IndexOutOfBoundsException > in RangerServiceTag.class And print error in RangerServiceStorm > > > Key: RANGER-1887 > URL: https://issues.apache.org/jira/browse/RANGER-1887 > Project: Ranger > Issue Type: Bug > Components: plugins >Affects Versions: master >Reporter: Qiang Zhang >Assignee: Qiang Zhang >Priority: Minor > Fix For: master > > Attachments: > 0001-RANGER-1887-serviceDef.getResources-.get-0-.getName-.patch, > 0001-RANGER-1887-serviceDef.getResources-.get-0-.getName-.patch, > 0001-RANGER-1887-serviceDef.getResources-.get-0-.getName-.patch > > > String tagResourceName = serviceDef.getResources().get(0).getName(); case > java.lang.IndexOutOfBoundsException in RangerServiceTag.class > And print log error for RangerServiceStorm.class -- This message was sent by Atlassian JIRA (v6.4.14#64029)