summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ernst <ryan@iernst.net>2017-05-25 12:11:33 -0700
committerGitHub <noreply@github.com>2017-05-25 12:11:33 -0700
commit59c052e76f7428427c8f7e995285bd0b05e82c08 (patch)
tree662be8dbad192c0efe4bb047dea63ff61551318e
parentf60f79f3618c616999d2390637fad0755bbe53ae (diff)
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
-rw-r--r--plugins/repository-hdfs/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/repository-hdfs/build.gradle b/plugins/repository-hdfs/build.gradle
index 2848f1b247..cf4a400a75 100644
--- a/plugins/repository-hdfs/build.gradle
+++ b/plugins/repository-hdfs/build.gradle
@@ -137,7 +137,7 @@ if (Os.isFamily(Os.FAMILY_WINDOWS)) {
Files.exists(path.resolve("bin").resolve("hdfs.dll"))) {
fixtureSupported = true
} 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 {