Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5307#discussion_r27930846
  
    --- Diff: 
core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala 
---
    @@ -17,19 +17,24 @@
     
     package org.apache.spark.storage
     
    -import java.io.{InputStream, IOException}
    +import java.io.InputStream
     import java.util.concurrent.LinkedBlockingQueue
     
     import scala.collection.mutable.{ArrayBuffer, HashSet, Queue}
     import scala.util.{Failure, Success, Try}
     
    -import org.apache.spark.{Logging, TaskContext}
    +import com.intel.chimera.{CipherSuite, CryptoInputStream, CryptoCodec}
    +
    +import 
org.apache.spark.crypto.CommonConfigurationKeys.DEFAULT_SPARK_ENCRYPTED_INTERMEDIATE_DATA_BUFFER_KB
    +import 
org.apache.spark.crypto.CommonConfigurationKeys.SPARK_ENCRYPTED_INTERMEDIATE_DATA_BUFFER_KB
    +import org.apache.spark.crypto.CommonConfigurationKeys.SPARK_SHUFFLE_TOKEN
    +import org.apache.spark.deploy.SparkHadoopUtil
     import org.apache.spark.network.BlockTransferService
     import org.apache.spark.network.shuffle.{BlockFetchingListener, 
ShuffleClient}
     import org.apache.spark.network.buffer.ManagedBuffer
     import org.apache.spark.serializer.Serializer
     import org.apache.spark.util.{CompletionIterator, Utils}
    -
    +import org.apache.spark.{Logging, TaskContext}
    --- End diff --
    
    nit: same thing about ordering, leaving empty line afterwards.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to