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

chengpan pushed a commit to branch branch-1.9
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/branch-1.9 by this push:
     new b45127bdd [KYUUBI #6566] Fix typos in KyuubiConf
b45127bdd is described below

commit b45127bdd473b99bd4371846b010920ae0ad1fc6
Author: xorsum <[email protected]>
AuthorDate: Mon Jul 29 20:42:37 2024 +0800

    [KYUUBI #6566] Fix typos in KyuubiConf
    
    fix typos
    
    anderror -> an error
    deprected -> deprecated
    
    - [ ] Bugfix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
    
    ---
    
    - [x] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    **Be nice. Be informative.**
    
    Closes #6566 from XorSum/fix/kyuubi-conf-typo.
    
    Closes #6566
    
    5c270ad0b [xorsum] fix typo in KyuubiConf
    
    Authored-by: xorsum <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
    (cherry picked from commit c28d955c0cc7b16e8506671c94775dd5e77bafd9)
    Signed-off-by: Cheng Pan <[email protected]>
---
 docs/configuration/settings.md                                      | 2 +-
 .../src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala        | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/configuration/settings.md b/docs/configuration/settings.md
index 388fef40b..9e4d60157 100644
--- a/docs/configuration/settings.md
+++ b/docs/configuration/settings.md
@@ -473,7 +473,7 @@ You can configure the Kyuubi properties in 
`$KYUUBI_HOME/conf/kyuubi-defaults.co
 | kyuubi.session.engine.spark.progress.update.interval    | PT1S               
     | Update period of progress bar.                                           
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
 | kyuubi.session.engine.spark.showProgress                | false              
     | When true, show the progress bar in the Spark's engine log.              
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
 | kyuubi.session.engine.startup.destroy.timeout           | PT5S               
     | Engine startup process destroy wait time, if the process does not stop 
after this time, force destroy instead. This configuration only takes effect 
when `kyuubi.session.engine.startup.waitCompletion=false`.                      
                                                                                
                                                                                
                   [...]
-| kyuubi.session.engine.startup.error.max.size            | 8192               
     | During engine bootstrapping, if anderror occurs, using this config to 
limit the length of error message(characters).                                  
                                                                                
                                                                                
                                                                                
                 [...]
+| kyuubi.session.engine.startup.error.max.size            | 8192               
     | During engine bootstrapping, if an error occurs, using this config to 
limit the length of error message(characters).                                  
                                                                                
                                                                                
                                                                                
                 [...]
 | kyuubi.session.engine.startup.maxLogLines               | 10                 
     | The maximum number of engine log lines when errors occur during the 
engine startup phase. Note that this config effects on client-side to help 
track engine startup issues.                                                    
                                                                                
                                                                                
                        [...]
 | kyuubi.session.engine.startup.waitCompletion            | true               
     | Whether to wait for completion after the engine starts. If false, the 
startup process will be destroyed after the engine is started. Note that only 
use it when the driver is not running locally, such as in yarn-cluster mode; 
Otherwise, the engine will be killed.                                           
                                                                                
                      [...]
 | kyuubi.session.engine.trino.connection.catalog          | &lt;undefined&gt;  
     | The default catalog that Trino engine will connect to                    
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
diff --git 
a/kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala 
b/kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala
index d77f7103a..2a17f780e 100644
--- a/kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala
+++ b/kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala
@@ -1265,7 +1265,7 @@ object KyuubiConf {
 
   val ENGINE_ERROR_MAX_SIZE: ConfigEntry[Int] =
     buildConf("kyuubi.session.engine.startup.error.max.size")
-      .doc("During engine bootstrapping, if anderror occurs, using this config 
to limit" +
+      .doc("During engine bootstrapping, if an error occurs, using this config 
to limit" +
         " the length of error message(characters).")
       .version("1.1.0")
       .intConf
@@ -3171,7 +3171,7 @@ object KyuubiConf {
         "1.5.0",
         s"Use ${FRONTEND_CONNECTION_URL_USE_HOSTNAME.key} instead"),
 
-      // deprected configs of [[org.apache.kyuubi.zookeeper.ZookeeperConf]]
+      // deprecated configs of [[org.apache.kyuubi.zookeeper.ZookeeperConf]]
       DeprecatedConfig(
         "kyuubi.zookeeper.embedded.port",
         "1.2.0",
@@ -3181,7 +3181,7 @@ object KyuubiConf {
         "1.2.0",
         "Use kyuubi.zookeeper.embedded.data.dir instead"),
 
-      // deprected configs of [[org.apache.kyuubi.ha.HighAvailabilityConf]]
+      // deprecated configs of [[org.apache.kyuubi.ha.HighAvailabilityConf]]
       DeprecatedConfig(
         "kyuubi.ha.zookeeper.quorum",
         "1.6.0",

Reply via email to