Build: Fix hadoop integ test error on windows (#24885)
This commit fixes the error message to escape the dollar sign for referencing a literal `$HADOOP_HOME`, which caused an error while trying to generate an error. closes #24878
This commit is contained in:
parent
f60f79f361
commit
59c052e76f
|
@ -137,7 +137,7 @@ if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
||||||
Files.exists(path.resolve("bin").resolve("hdfs.dll"))) {
|
Files.exists(path.resolve("bin").resolve("hdfs.dll"))) {
|
||||||
fixtureSupported = true
|
fixtureSupported = true
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException("HADOOP_HOME: " + path.toString() + " is invalid, does not contain hadoop native libraries in $HADOOP_HOME/bin");
|
throw new IllegalStateException("HADOOP_HOME: ${path} is invalid, does not contain hadoop native libraries in \$HADOOP_HOME/bin");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue