From 59c052e76f7428427c8f7e995285bd0b05e82c08 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 25 May 2017 12:11:33 -0700 Subject: [PATCH] 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 --- plugins/repository-hdfs/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/repository-hdfs/build.gradle b/plugins/repository-hdfs/build.gradle index 2848f1b2479..cf4a400a759 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 {