Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Feb 17, 2023
1 parent 839e713 commit 65249c3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/deployment/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ You can configure the Kyuubi properties in `$KYUUBI_HOME/conf/kyuubi-defaults.co
| kyuubi.server.limit.connections.per.ipaddress | <undefined> | Maximum kyuubi server connections per ipaddress. Any user exceeding this limit will not be allowed to connect. | int | 1.6.0 |
| kyuubi.server.limit.connections.per.user | <undefined> | Maximum kyuubi server connections per user. Any user exceeding this limit will not be allowed to connect. | int | 1.6.0 |
| kyuubi.server.limit.connections.per.user.ipaddress | <undefined> | Maximum kyuubi server connections per user:ipaddress combination. Any user-ipaddress exceeding this limit will not be allowed to connect. | int | 1.6.0 |
| kyuubi.server.limit.connections.user.unlimited.list || The maximin connections of the user in the white list will not be limited. | seq | 1.7.0 |
| kyuubi.server.limit.connections.user.unlimited.list || The maximum connections of the user in the white list will not be limited. | seq | 1.7.0 |
| kyuubi.server.name | <undefined> | The name of Kyuubi Server. | string | 1.5.0 |
| kyuubi.server.redaction.regex | <undefined> | Regex to decide which Kyuubi contain sensitive information. When this regex matches a property key or value, the value is redacted from the various logs. || 1.6.0 |

Expand Down
2 changes: 1 addition & 1 deletion docs/tools/kyuubi-admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Usage: ``bin/kyuubi-admin refresh config [options] [<configType>]``
* - userDefaultsConf
- The user defaults configs with key in format in the form of `___{username}___.{config key}` from default property file.
* - unlimitedUsers
- The users without maximin connections limitation.
- The users without maximum connections limitation.

.. _list_engine:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,7 @@ object KyuubiConf {

val SERVER_LIMIT_CONNECTIONS_USER_UNLIMITED_LIST: ConfigEntry[Seq[String]] =
buildConf("kyuubi.server.limit.connections.user.unlimited.list")
.doc("The maximin connections of the user in the white list will not be limited.")
.doc("The maximum connections of the user in the white list will not be limited.")
.version("1.7.0")
.serverOnly
.stringConf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ class AdminControlCliArgumentsSuite extends KyuubiFunSuite with TestPrematureExi
val opArgs = new AdminControlCliArguments(args)
assert(opArgs.cliConfig.action === ControlAction.REFRESH)
assert(opArgs.cliConfig.resource === ControlObject.CONFIG)
assert(
opArgs.cliConfig.adminConfigOpts.configType === RefreshConfigCommandConfigType.HADOOP_CONF)
assert(opArgs.cliConfig.adminConfigOpts.configType === HADOOP_CONF)

args = Array(
"refresh",
Expand All @@ -74,7 +73,7 @@ class AdminControlCliArgumentsSuite extends KyuubiFunSuite with TestPrematureExi
val opArgs2 = new AdminControlCliArguments(args)
assert(opArgs2.cliConfig.action === ControlAction.REFRESH)
assert(opArgs2.cliConfig.resource === ControlObject.CONFIG)
assert(opArgs2.cliConfig.adminConfigOpts.configType === RefreshConfigCommandConfigType.USER_DEFAULTS_CONF)
assert(opArgs2.cliConfig.adminConfigOpts.configType === USER_DEFAULTS_CONF)

args = Array(
"refresh",
Expand All @@ -83,7 +82,7 @@ class AdminControlCliArgumentsSuite extends KyuubiFunSuite with TestPrematureExi
val opArgs3 = new AdminControlCliArguments(args)
assert(opArgs3.cliConfig.action === ControlAction.REFRESH)
assert(opArgs3.cliConfig.resource === ControlObject.CONFIG)
assert(opArgs3.cliConfig.adminConfigOpts.configType === RefreshConfigCommandConfigType.UNLIMITED_USERS)
assert(opArgs3.cliConfig.adminConfigOpts.configType === UNLIMITED_USERS)

args = Array(
"refresh",
Expand Down

0 comments on commit 65249c3

Please sign in to comment.