[
https://issues.apache.org/jira/browse/RANGER-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16941884#comment-16941884
]
Preetam Tripathi commented on RANGER-2512:
------------------------------------------
[~rmani],
Service Creation gets failed from Ranger UI and API on latest Apache master
which is having this Jira's initial changes.
Error logs:
{noformat}
[http-bio-6080-exec-10] INFO org.apache.ranger.common.RESTErrorUtil
(RESTErrorUtil.java:312) - Operation error.
response=VXResponse={org.apache.ranger.view.VXResponse@542d6a2astatusCode={1}
msgDesc={Exception [EclipseLink-4002] (Eclipse Persistence Services -
2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:
Column 'role_version' cannot be null
Error Code: 1048
Call: INSERT INTO x_service_version_info (policy_update_time, policy_version,
role_update_time, role_version, service_id, tag_update_time, tag_version)
VALUES (?, ?, ?, ?, ?, ?, ?)
bind => [7 parameters bound]
Query: InsertObjectQuery(XXServiceVersionInfo={id={null} serviceId={5}
policyVersion={1} policyUpdateTime={Tue Oct 01 09:09:33 UTC 2019}
tagVersion={1} tagUpdateTime={Tue Oct 01 09:09:33 UTC 2019} })}
messageList={null} }
{noformat}
> RangerRolesRESTClient for serving user group roles to the plugins for
> evaluation
> --------------------------------------------------------------------------------
>
> Key: RANGER-2512
> URL: https://issues.apache.org/jira/browse/RANGER-2512
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.0.0
> Reporter: Ramesh Mani
> Assignee: Ramesh Mani
> Priority: Major
>
> RangerRolesRESTClient for serving user group roles to the plugins for
> evaluation.
> Currently user groups are downloaded as part of service polices download.
> This new rest client will enable the facility to download user / group =>
> roles to Plugin like how Policies are downloaded using role cache and this
> will improve performance. Each plugin will have user group roles cache to
> server when ranger is not available to server this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)