dongjoon-hyun commented on a change in pull request #30407:
URL: https://github.com/apache/spark/pull/30407#discussion_r525862572
##########
File path: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
##########
@@ -96,17 +96,18 @@ private[spark] object HiveUtils extends Logging {
.createWithDefault("builtin")
val HIVE_METASTORE_JARS_PATH =
buildStaticConf("spark.sql.hive.metastore.jars.path")
- .doc(s"Comma separated URL of Hive jars, support both local and remote
paths," +
- s"Such as: " +
- s" 1. file://path/to/jar/xxx.jar\n" +
- s" 2. hdfs://nameservice/path/to/jar/xxx.jar\n" +
- s" 3. /path/to/jar/ (path without URI scheme follow conf
`fs.defaultFS`'s URI schema)\n" +
- s" 4. [http/https/ftp]://path/to/jar/xxx.jar\n" +
- s"Notice: `http/https/ftp` doesn't support wildcard, but other URLs
support" +
- s"nested path wildcard, Such as: " +
- s" 1. file://path/to/jar/*, file://path/to/jar/*/*\n" +
- s" 2. hdfs://nameservice/path/to/jar/*,
hdfs://nameservice/path/to/jar/*/*\n" +
- s"When ${HIVE_METASTORE_JARS.key} is set to `path`, we will use Hive
jars configured by this")
+ .doc(s"""
+ | Comma-sperated paths of the jars that should be used to instantiate
the HiveMetastoreClient.
+ | This configuration is effective only when `{$HIVE_METASTORE_JARS.key}`
is set as `path`.
+ | The paths can be any of the following format:
+ | 1. file://path/to/jar/foo.jar
+ | 2. hdfs://nameservice/path/to/jar/foo.jar
+ | 3. /path/to/jar/ (path without URI scheme follow conf `fs.defaultFS`'s
URI schema)
+ | 4. [http/https/ftp]://path/to/jar/foo.jar
+ | All the above formats support wildcard except for the `http/https/ftp`
URL. For example:
Review comment:
Maybe, the following is shorter?
```
- All the above formats support wildcard except for the `http/https/ftp`
URL. For example:
+ 1, 2, and 3 support wildcard. For example:
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]