abstractdog commented on a change in pull request #157:
URL: https://github.com/apache/tez/pull/157#discussion_r736317538
##########
File path:
tez-runtime-internals/src/main/java/org/apache/tez/runtime/task/TaskReporter.java
##########
@@ -83,6 +85,7 @@
private final String containerIdStr;
private final ListeningExecutorService heartbeatExecutor;
+ private static final MemoryUsage heapMemoryUsage =
ManagementFactory.getMemoryMXBean().getHeapMemoryUsage();
Review comment:
oh, makes sense, I'll get only memoryMXBean in advance
I haven't realized heartbeat happens so often, I'll simply make it query the
actual memory in every n seconds
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]