This repository was archived by the owner on May 9, 2024. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed 
core/src/main/scala/org/apache/spark/util Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,21 +47,21 @@ object RpcUtils {
4747  }
4848
4949  /**  Returns the default Spark timeout to use for RPC ask operations. */  
50-   def  askRpcTimeout (conf : SparkConf ):  RpcTimeout  =  {
50+   private [spark]  def  askRpcTimeout (conf : SparkConf ):  RpcTimeout  =  {
5151    RpcTimeout (conf, Seq (" spark.rpc.askTimeout" " spark.network.timeout" " 120s" 
5252  }
5353
54-   @ deprecated(" use askRpcTimeout instead" " 1.5.0" 
54+   @ deprecated(" use askRpcTimeout instead, this method was not intended to be public " " 1.5.0" 
5555  def  askTimeout (conf : SparkConf ):  FiniteDuration  =  {
5656    askRpcTimeout(conf).duration
5757  }
5858
5959  /**  Returns the default Spark timeout to use for RPC remote endpoint lookup. */  
60-   def  lookupRpcTimeout (conf : SparkConf ):  RpcTimeout  =  {
60+   private [spark]  def  lookupRpcTimeout (conf : SparkConf ):  RpcTimeout  =  {
6161    RpcTimeout (conf, Seq (" spark.rpc.lookupTimeout" " spark.network.timeout" " 120s" 
6262  }
6363
64-   @ deprecated(" use lookupRpcTimeout instead" " 1.5.0" 
64+   @ deprecated(" use lookupRpcTimeout instead, this method was not intended to be public " " 1.5.0" 
6565  def  lookupTimeout (conf : SparkConf ):  FiniteDuration  =  {
6666    lookupRpcTimeout(conf).duration
6767  }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments