Skip to content

Commit

Permalink
[MINOR][HIVE] Typo fixes
Browse files Browse the repository at this point in the history
## 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 <jacek@japila.pl>

Closes #20550 from jaceklaskowski/hiveutils-typos.
  • Loading branch information
jaceklaskowski authored and srowen committed Feb 10, 2018
1 parent 7f10cf8 commit 557938e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}

Expand All @@ -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(
Expand Down

0 comments on commit 557938e

Please sign in to comment.