Execute a blocking function call with two checks on enough nWorkers:
Execute a blocking function call with two checks on enough nWorkers:
Return type
A blocking function call
The return of body
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      The SparkContext object
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
A tracker that ensures enough number of executor cores are alive. Throws an exception when the number of alive cores is less than nWorkers.