This is an automated email from the ASF dual-hosted git repository.
zhouky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new 7dc1ab13d [CELEBORN-351] Add \n to the log to make log print clearer
(#1285)
7dc1ab13d is described below
commit 7dc1ab13dbc5e4f07c198dfb68cebde646d1ee25
Author: jiaoqingbo <[email protected]>
AuthorDate: Tue Feb 28 17:55:17 2023 +0800
[CELEBORN-351] Add \n to the log to make log print clearer (#1285)
---
.../src/main/scala/org/apache/celeborn/common/meta/DeviceInfo.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/common/src/main/scala/org/apache/celeborn/common/meta/DeviceInfo.scala
b/common/src/main/scala/org/apache/celeborn/common/meta/DeviceInfo.scala
index 13826f246..4d7fddf75 100644
--- a/common/src/main/scala/org/apache/celeborn/common/meta/DeviceInfo.scala
+++ b/common/src/main/scala/org/apache/celeborn/common/meta/DeviceInfo.scala
@@ -155,7 +155,7 @@ object DeviceInfo {
val mountPointToDeviceInfo = new util.HashMap[String, DeviceInfo]()
val dfResult = runCommand("df -ah").trim
- logger.info(s"df result $dfResult")
+ logger.info(s"df result\n$dfResult")
// (/dev/vdb, /mnt/disk1)
val fsMounts = dfResult
.split("[\n\r]")
@@ -167,7 +167,7 @@ object DeviceInfo {
// (vda, vdb)
val lsBlockResult = runCommand("ls /sys/block/").trim
- logger.info(s"ls block $lsBlockResult")
+ logger.info(s"ls block\n$lsBlockResult")
val blocks = lsBlockResult.split("[ \n\r\t]+")
fsMounts.foreach { case (fileSystem, mountPoint) =>