I have a valid MapR client, and valid MapR ticket. I use MapR Java library to talk to the MapR server. The MapR Java client MapRFileSystem will create and cache a MapRClient object and validate the mapr ticket. All works fine so far.
Now the problem is: If my ticket expired, or if I re-issue a new ticket from the maprlogin utility, my Java MapRFileSystem object still hold the old MapRClient in it's static cache. Do we have a way to detect the ticket change and then invalidate the cached MapRClient object?
Thanks for your help