Skip to content

Commit 282f105

Browse files
a49ayaooqinn
authored andcommitted
[KYUUBI #2558] fix warn message
### _Why are the changes needed?_ ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #2559 from deadwind4/KYUUBI-2558. Closes #2558 ea674d5 [Ada Wang] [KYUUBI #2558] fix warn message Authored-by: Ada Wang <wang4luning@gmail.com> Signed-off-by: Kent Yao <yao@apache.org>
1 parent 80e068d commit 282f105

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kyuubi-server/src/main/scala/org/apache/kyuubi/engine/hive/HiveProcessBuilder.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ class HiveProcessBuilder(
7878
val extraCp = conf.get(ENGINE_HIVE_EXTRA_CLASSPATH)
7979
extraCp.foreach(classpathEntries.add)
8080
if (hadoopCp.isEmpty && extraCp.isEmpty) {
81-
warn(s"The conf of ${HIVE_HADOOP_CLASSPATH} or ${ENGINE_HIVE_EXTRA_CLASSPATH} is empty.")
81+
warn(s"The conf of ${HIVE_HADOOP_CLASSPATH} and ${ENGINE_HIVE_EXTRA_CLASSPATH.key} is empty.")
8282
debug("Detected development environment")
8383
mainResource.foreach { path =>
8484
val devHadoopJars = Paths.get(path).getParent
8585
.resolve(s"scala-$SCALA_COMPILE_VERSION")
8686
.resolve("jars")
8787
if (!Files.exists(devHadoopJars)) {
8888
throw new KyuubiException(s"The path $devHadoopJars does not exists. " +
89-
s"Please set ${HIVE_HADOOP_CLASSPATH} or ${ENGINE_HIVE_EXTRA_CLASSPATH} for " +
89+
s"Please set ${HIVE_HADOOP_CLASSPATH} or ${ENGINE_HIVE_EXTRA_CLASSPATH.key} for " +
9090
s"configuring location of hadoop client jars, etc")
9191
}
9292
classpathEntries.add(s"$devHadoopJars${File.separator}*")

0 commit comments

Comments
 (0)