You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celeborn.apache.org by zh...@apache.org on 2023/09/07 14:13:38 UTC

[incubator-celeborn] branch main updated: [CELEBORN-953] Remove unused-imports in Utils.scala

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 bf0deae75 [CELEBORN-953] Remove unused-imports in Utils.scala
bf0deae75 is described below

commit bf0deae752bf79bd749c491571254b1a0798bbf3
Author: zwangsheng <22...@qq.com>
AuthorDate: Thu Sep 7 22:13:29 2023 +0800

    [CELEBORN-953] Remove unused-imports in Utils.scala
    
    ### What changes were proposed in this pull request?
    As title
    
    ### Why are the changes needed?
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    GA
    
    Closes #1886 from zwangsheng/CELEBORN-953.
    
    Lead-authored-by: zwangsheng <22...@qq.com>
    Co-authored-by: zwangsheng <bi...@apache.org>
    Signed-off-by: zky.zhoukeyong <zk...@alibaba-inc.com>
---
 common/src/main/scala/org/apache/celeborn/common/util/Utils.scala | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/common/src/main/scala/org/apache/celeborn/common/util/Utils.scala b/common/src/main/scala/org/apache/celeborn/common/util/Utils.scala
index 1b5717bbf..223eb7a1f 100644
--- a/common/src/main/scala/org/apache/celeborn/common/util/Utils.scala
+++ b/common/src/main/scala/org/apache/celeborn/common/util/Utils.scala
@@ -25,7 +25,7 @@ import java.nio.ByteBuffer
 import java.nio.channels.FileChannel
 import java.nio.charset.StandardCharsets
 import java.util
-import java.util.{ArrayList, List, Locale, Properties, Random, UUID}
+import java.util.{Locale, Properties, Random, UUID}
 import java.util.concurrent.{Callable, ThreadPoolExecutor, TimeoutException, TimeUnit}
 
 import scala.annotation.tailrec
@@ -38,7 +38,6 @@ import scala.util.control.{ControlThrowable, NonFatal}
 import com.google.protobuf.{ByteString, GeneratedMessageV3}
 import io.netty.channel.unix.Errors.NativeIoException
 import org.apache.commons.lang3.SystemUtils
-import org.apache.hadoop.fs.{FSDataInputStream, Path}
 import org.roaringbitmap.RoaringBitmap
 
 import org.apache.celeborn.common.CelebornConf