You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2022/02/28 14:57:15 UTC
[flink] branch master updated: [hotfix] Log architecture on startup
This is an automated email from the ASF dual-hosted git repository.
rmetzger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new f95d69b [hotfix] Log architecture on startup
f95d69b is described below
commit f95d69b83c0649383f0a2bbaca0675a604fc7218
Author: Robert Metzger <rm...@apache.org>
AuthorDate: Wed Feb 23 11:45:51 2022 +0100
[hotfix] Log architecture on startup
---
.../java/org/apache/flink/runtime/util/EnvironmentInformation.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java b/flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java
index b4452fd..ea3a841 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java
@@ -403,6 +403,8 @@ public class EnvironmentInformation {
String inheritedLogs = System.getenv("FLINK_INHERITED_LOGS");
+ String arch = System.getProperty("os.arch");
+
long maxHeapMegabytes = getMaxJvmHeapMemory() >>> 20;
if (inheritedLogs != null) {
@@ -431,6 +433,7 @@ public class EnvironmentInformation {
log.info(" OS current user: " + System.getProperty("user.name"));
log.info(" Current Hadoop/Kerberos user: " + getHadoopUser());
log.info(" JVM: " + jvmVersion);
+ log.info(" Arch: " + arch);
log.info(" Maximum heap size: " + maxHeapMegabytes + " MiBytes");
log.info(" JAVA_HOME: " + (javaHome == null ? "(not set)" : javaHome));