Hi Sathish,
Even we see that the eviction policy respects only the leaf node and does not cleanup even the empty parent nodes.
Changes the code
from
String identifier = identifier_prefix + "/" + i + "/data/";
to
String identifier = identifier_prefix + "/" + i;
IMO this should work. I guess it evicts only leaf nodes.
Cheers,
Vignesh