This is an automated email from the ASF dual-hosted git repository.

yangjie01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 721ea9bbb2f [MINOR][CORE] Add `@Deprecated` for 
`SparkLauncher#DEPRECATED_CHILD_CONNECTION_TIMEOUT`
721ea9bbb2f is described below

commit 721ea9bbb2ff77b6d2f575fdca0aeda84990cc3b
Author: yangjie01 <[email protected]>
AuthorDate: Mon Oct 16 23:37:38 2023 +0800

    [MINOR][CORE] Add `@Deprecated` for 
`SparkLauncher#DEPRECATED_CHILD_CONNECTION_TIMEOUT`
    
    ### What changes were proposed in this pull request?
    This pr just add `Deprecated` for 
`SparkLauncher#DEPRECATED_CHILD_CONNECTION_TIMEOUT`.
    
    ### Why are the changes needed?
    From the javadoc, `DEPRECATED_CHILD_CONNECTION_TIMEOUT` has been 
deprecated, so it should carry a `Deprecated` marker.
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    Pass GitHub Actions
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No
    
    Closes #43374 from 
LuciferYang/DEPRECATED_CHILD_CONNECTION_TIMEOUT-Deprecated.
    
    Authored-by: yangjie01 <[email protected]>
    Signed-off-by: yangjie01 <[email protected]>
---
 launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java 
b/launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java
index 61624779027..bcff454b99a 100644
--- a/launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java
+++ b/launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java
@@ -99,6 +99,7 @@ public class SparkLauncher extends 
AbstractLauncher<SparkLauncher> {
    * @deprecated use `CHILD_CONNECTION_TIMEOUT`
    * @since 1.6.0
    */
+  @Deprecated
   public static final String DEPRECATED_CHILD_CONNECTION_TIMEOUT =
     "spark.launcher.childConectionTimeout";
 


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

Reply via email to