Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st. We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here. Need help or have questions? Drop us a line at [email protected]
If SOLR is configured as backend storage for ranger audits, ranger audit screen shows incorrect screen. This happens if server is running on any timezone other than UTC.
ROOT CAUSE :
'ranger-admin-services.sh' script uses below command to start ranger.
If JAVA_OPTS value does not contain '-Duser.timezone=UTC', then Ranger admin runs in the local timezone.
This causes timezone issue in viewing audit on Ranger UI as Ranger admin doesn't return eventtime in UTC format.