Hello Rahul,
I don't believe there is any fundamental difference in the handling of the
atime update for HDFS inotify. I'd expect you to receive an event with
EventType.METADATA and MetadataUpdateEvent.TIMES, and I wouldn't expect
that you'd need to save a new fsimage to trigger the notification.
I was testing Inotify locally and noticed that unless I save the FSImage I
can't get a MetadataUpdateEvent to get fired.
The test is pretty basic:
I setup a minicluster with
conf.setLong("dfs.access.time.precision", 1);
create a file (verify I get a EventType.Create)
I read that file and verify