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

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


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

commit c28d955c0cc7b16e8506671c94775dd5e77bafd9
Author: xorsum <xor...@outlook.com>
AuthorDate: Mon Jul 29 20:42:37 2024 +0800

    [KYUUBI #6566] Fix typos in KyuubiConf
    
    # :mag: Description
    ## Issue References ๐Ÿ”—
    
    fix typos
    
    ## Describe Your Solution ๐Ÿ”ง
    
    anderror -> an error
    deprected -> deprecated
    
    ## Types of changes :bookmark:
    
    - [ ] 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)
    
    ## Test Plan ๐Ÿงช
    
    #### Behavior Without This Pull Request :coffin:
    
    #### Behavior With This Pull Request :tada:
    
    #### Related Unit Tests
    
    ---
    
    # Checklist ๐Ÿ“
    
    - [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 <xor...@outlook.com>
    Signed-off-by: Cheng Pan <cheng...@apache.org>
---
 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 bc652794b..1cf1d36a4 100644
--- a/docs/configuration/settings.md
+++ b/docs/configuration/settings.md
@@ -487,7 +487,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 05940aee7..6cb75db9c 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
@@ -1336,7 +1336,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
@@ -3321,7 +3321,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",
@@ -3331,7 +3331,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