odraese commented on a change in pull request #626: [HIVE-21686] ensure that 
memory allocator does not evict using brute …
URL: https://github.com/apache/hive/pull/626#discussion_r283525719
 
 

 ##########
 File path: 
llap-server/src/java/org/apache/hadoop/hive/llap/cache/LowLevelCacheMemoryManager.java
 ##########
 @@ -66,6 +66,21 @@ public void reserveMemory(final long memoryToReserve, 
AtomicBoolean isStopped) {
     throw new ReserveFailedException(isStopped);
   }
 
+  /**
+   * Ask the memory manager to evict more memory
+   *
+   * @param memoryToReserve amount of bytes to evict
+   * @return actual amount of evicted bytes.
+   */
+  @Override public long evictMemory(long memoryToReserve) {
 
 Review comment:
   memoryToReserve -> memoryToEvict?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to