HIVE-10919: Windows: create table with JsonSerDe failed via beeline unless you add hcatalog core jar to classpath (Hari Sankar Sivarama Subramaniyan, reviewed by Sushanth Sowmyan
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/949ddaae Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/949ddaae Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/949ddaae Branch: refs/heads/llap Commit: 949ddaae125a110d08e9cd6d565b7193e4941a37 Parents: aec98e9 Author: Gunther Hagleitner <gunt...@apache.org> Authored: Wed Jun 3 21:17:01 2015 -0700 Committer: Gunther Hagleitner <gunt...@apache.org> Committed: Wed Jun 3 21:17:01 2015 -0700 ---------------------------------------------------------------------- bin/hive.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/949ddaae/bin/hive.cmd ---------------------------------------------------------------------- diff --git a/bin/hive.cmd b/bin/hive.cmd index ba7e443..9080796 100644 --- a/bin/hive.cmd +++ b/bin/hive.cmd @@ -158,7 +158,7 @@ if not exist %HIVE_LIB%\hive-cli-*.jar ( exit /b 1 ) -set CLASSPATH=%CLASSPATH%;%HIVE_LIB%\* +set CLASSPATH=%CLASSPATH%;%HIVE_LIB%\*;%HIVE_HOME%\hcatalog\share\hcatalog\*; @rem maybe we should just make users set HADOOP_HOME env variable as a prereq @rem in the next iteration, use "where" command to find directory of hadoop install from path