Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0
-
None
-
None
Description
Currently when we send full update to the NameNode we do the following:
1. Read full snapshot from DB into Map<String, Set<String>> structure
2. Convert it to Thrift structure which uses list of strings.
We should be able to directly construct Thrift version without going to the intermediate representation. This should save significant amount of memory since we don't have to maintain two copies of the same data in memory and we don't need to use inefficient Set data structures for huge objects.
Attachments
Issue Links
- relates to
-
SENTRY-1909 Improvements for memory usage when full path snapshot is sent from Sentry to NN
- Resolved