4. go to eclipse and in your project Debug as -> Debug Configurations -> Remote Java Applications and there provide the host and port.
host should be the node ip/hostname where ranger admin is running
port is the debug port we have configured in JAVA_OPTS ( in our case it is 9000)
and click on debug.
now eclipse client will be connected to the running process.
5. Now lets say we want to debug the search user flow in ranger. then we can put debug point at the respective point and perform the user search operation on ranger UI then we can see flow will come to the debug point we had put. please see the screenshot.
ranger user search operation:
then we can further step over/into and debug the flow.
Note: same way we can debug other ranger process such as usersync.
- that is it in Remote debugging Ranger process, please comment your questions if any.