[ https://issues.apache.org/jira/browse/RANGER-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17143570#comment-17143570 ]
Pradeep Agrawal commented on RANGER-2117: ----------------------------------------- [~RickyMa] : One straight forward way will be that replace all these files in your online Ranger environment and execute the java patch security-admin/src/main/java/org/apache/ranger/patch/PatchForKafkaServiceDefUpdate_J10015.java. to do so you might have to do below steps: a) make sure install.properties files have correct values. b) remove "JAVA_PATCHES" entry from x_db_version_h table if its there. c) After above steps run : python db_setup.py -javapatch if the above process is not possible or does not work then try the below option. 1) install same version of ranger in stage environment without this patch, take the backup of ranger db. 2) apply this patch on the same version of ranger code and build the ranger. 3) install the new ranger with old config you used in step-1. 4) compare the db changes in step-1 and step-3, changes will be mostly in x_service_def and its child tables. create the sql statements for the diff. 5) alternate way of finding diff from step 4 : in steps take the backup in sql format and after step 3 also take the backup in sql format. compare both sql files and figure out the changes. If any of the above steps is not clear then please ask again, and if possible attach more details. > RangerKafkaAuthorizer to support new resources and operations which are in > Apache Kafka 1.0.0 > --------------------------------------------------------------------------------------------- > > Key: RANGER-2117 > URL: https://issues.apache.org/jira/browse/RANGER-2117 > Project: Ranger > Issue Type: Bug > Components: Ranger > Affects Versions: 1.0.0, master, 1.1.0 > Reporter: Ramesh Mani > Assignee: Ramesh Mani > Priority: Major > Fix For: 1.0.0, master, 1.1.0 > > Attachments: > 0001-RANGER-2117-RangerKafkaAuthorizer-to-support-new-res.patch > > > Apache Kafka has new resource - TransactionID to support transaction feature > in Kafka1.0.0. > Also there are new operation - Idempotent Write, DescribeConfigs and > AlterConfigs at Topic and Cluster level. > https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Authorizations -- This message was sent by Atlassian Jira (v8.3.4#803005)