Repository: spark
Updated Branches:
  refs/heads/branch-2.3 08eb95f60 -> 49771ac8d


[MINOR][HIVE] Typo fixes

## What changes were proposed in this pull request?

Typo fixes (with expanding a Hive property)

## How was this patch tested?

local build. Awaiting Jenkins

Author: Jacek Laskowski <ja...@japila.pl>

Closes #20550 from jaceklaskowski/hiveutils-typos.

(cherry picked from commit 557938e2839afce26a10a849a2a4be8fc4580427)
Signed-off-by: Sean Owen <so...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/49771ac8
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/49771ac8
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/49771ac8

Branch: refs/heads/branch-2.3
Commit: 49771ac8da8e68e8412d9f5d181953eaf0de7973
Parents: 08eb95f
Author: Jacek Laskowski <ja...@japila.pl>
Authored: Fri Feb 9 18:18:30 2018 -0600
Committer: Sean Owen <so...@cloudera.com>
Committed: Fri Feb 9 18:18:38 2018 -0600

----------------------------------------------------------------------
 .../src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/49771ac8/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
----------------------------------------------------------------------
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala 
b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
index 93f3f38..c448c5a 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
@@ -304,7 +304,7 @@ private[spark] object HiveUtils extends Logging {
         throw new IllegalArgumentException(
           "Builtin jars can only be used when hive execution version == hive 
metastore version. " +
             s"Execution: $builtinHiveVersion != Metastore: 
$hiveMetastoreVersion. " +
-            "Specify a vaild path to the correct hive jars using 
$HIVE_METASTORE_JARS " +
+            s"Specify a valid path to the correct hive jars using 
${HIVE_METASTORE_JARS.key} " +
             s"or change ${HIVE_METASTORE_VERSION.key} to $builtinHiveVersion.")
       }
 
@@ -324,7 +324,7 @@ private[spark] object HiveUtils extends Logging {
       if (jars.length == 0) {
         throw new IllegalArgumentException(
           "Unable to locate hive jars to connect to metastore. " +
-            "Please set spark.sql.hive.metastore.jars.")
+            s"Please set ${HIVE_METASTORE_JARS.key}.")
       }
 
       logInfo(


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to