ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Polavarapu (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (RANGER-2776) Unable to access service through knox, facing NPE when authorization is set to Ranger
Date Thu, 02 Apr 2020 22:02:00 GMT

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

Sailaja Polavarapu reassigned RANGER-2776:
------------------------------------------

    Assignee: Sailaja Polavarapu

> Unable to access service through knox, facing NPE when authorization is set to Ranger
> -------------------------------------------------------------------------------------
>
>                 Key: RANGER-2776
>                 URL: https://issues.apache.org/jira/browse/RANGER-2776
>             Project: Ranger
>          Issue Type: New Feature
>          Components: Ranger
>            Reporter: Sailaja Polavarapu
>            Assignee: Sailaja Polavarapu
>            Priority: Major
>
> Authorization is set to XASecurePDPKnox in knox topology and one way ssl is enabled
between knox plugin and ranger. This is causing NPE during authorization.
> Caused by: java.lang.NullPointerException: Custom client SSL context, if set, must not
be null. at org.glassfish.jersey.client.JerseyClientBuilder.sslContext(JerseyClientBuilder.java:100)
at org.glassfish.jersey.client.JerseyClientBuilder.sslContext(JerseyClientBuilder.java:61)
at org.apache.ranger.admin.client.RangerAdminJersey2RESTClient.buildClient(RangerAdminJersey2RESTClient.java:508)
at org.apache.ranger.admin.client.RangerAdminJersey2RESTClient.getClient(RangerAdminJersey2RESTClient.java:485)
at org.apache.ranger.admin.client.RangerAdminJersey2RESTClient.init(RangerAdminJersey2RESTClient.java:116)
at org.apache.ranger.plugin.service.RangerBasePlugin.createAdminClient(RangerBasePlugin.java:576)
at org.apache.ranger.plugin.util.PolicyRefresher.<init>(PolicyRefresher.java:95) at
org.apache.ranger.plugin.service.RangerBasePlugin.init(RangerBasePlugin.java:176) at org.apache.ranger.authorization.knox.KnoxRangerPlugin.init(KnoxRangerPlugin.java:46)
at org.apache.ranger.authorization.knox.RangerPDPKnoxFilter.init(RangerPDPKnoxFilter.java:82)
at org.apache.ranger.authorization.knox.RangerPDPKnoxFilter.init(RangerPDPKnoxFilter.java:129)
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message