You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/15 17:13:01 UTC
[GitHub] [flink] GJL commented on issue #10850: [FLINK-15519][configuration]
Preserve logs from BashJavaUtils and make them part of TM logs
GJL commented on issue #10850: [FLINK-15519][configuration] Preserve logs from BashJavaUtils and make them part of TM logs
URL: https://github.com/apache/flink/pull/10850#issuecomment-574760492
I can confirm that the solution works. On my machine the log is rendered as
```
2020-01-15 18:05:11,552 INFO org.apache.flink.runtime.taskexecutor.TaskManagerRunner - --------------------------------------------------------------------------------
2020-01-15 18:05:11,554 INFO org.apache.flink.runtime.taskexecutor.TaskManagerRunner - Preconfiguration:
2020-01-15 18:05:11,554 INFO org.apache.flink.runtime.taskexecutor.TaskManagerRunner -
TM_RESOURCES_JVM_PARAMS extraction logs:
- Loading configuration property: jobmanager.rpc.address, localhost
- Loading configuration property: jobmanager.rpc.port, 6123
- Loading configuration property: jobmanager.heap.size, 1024m
- Loading configuration property: taskmanager.memory.process.size, 1024m
- Loading configuration property: taskmanager.numberOfTaskSlots, 1
- Loading configuration property: parallelism.default, 1
- Loading configuration property: jobmanager.execution.failover-strategy, region
- The derived from fraction jvm overhead memory (107374184b) is less than its min value 134217728 bytes, max value will be used instead
BASH_JAVA_UTILS_EXEC_RESULT:-Xmx268435450 -Xms268435450 -XX:MaxDirectMemorySize=214748366 -XX:MaxMetaspaceSize=134217728
TM_RESOURCES_DYNAMIC_CONFIGS extraction logs:
- Loading configuration property: jobmanager.rpc.address, localhost
- Loading configuration property: jobmanager.rpc.port, 6123
- Loading configuration property: jobmanager.heap.size, 1024m
- Loading configuration property: taskmanager.memory.process.size, 1024m
- Loading configuration property: taskmanager.numberOfTaskSlots, 1
- Loading configuration property: parallelism.default, 1
- Loading configuration property: jobmanager.execution.failover-strategy, region
- The derived from fraction jvm overhead memory (107374184b) is less than its min value 134217728 bytes, max value will be used instead
BASH_JAVA_UTILS_EXEC_RESULT:-D taskmanager.memory.shuffle.max=80530638b -D taskmanager.memory.framework.off-heap.size=134217728b -D taskmanager.memory.framework.heap.size=134217728b -D taskmanager.memory.managed.size=322122552b -D taskmanager.cpu.cores=1.0 -D taskmanager.memory.task.heap.size=134217722b -D taskmanager.memory.task.off-heap.size=0b -D taskmanager.memory.shuffle.min=80530638b
2020-01-15 18:05:11,554 INFO org.apache.flink.runtime.taskexecutor.TaskManagerRunner - --------------------------------------------------------------------------------
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services