It is expected, you now have to run SchemaTool manually, as the error message indicates. See https://issues.apache.org/jira/browse/HIVE-1841

Alan.

Xuefu Zhang <mailto:xzh...@cloudera.com>
February 9, 2016 at 10:37
Some trouble I met:

1. downloaded source and build Hive with -Pdist.
2. try to run Hive CLI and get the following error:

Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, don't forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql)


Is this expected? This used to work out of box with embedded metastore created automatcially.

Thanks,
Xuefu


Sergey Shelukhin <mailto:ser...@apache.org>
February 8, 2016 at 18:29
Apache Hive 2.0.0 Release Candidate 2 is available here:

http://people.apache.org/~sershe/hive-2.0.0-RC2/


Maven artifacts are at

https://repository.apache.org/content/repositories/orgapachehive-1044/


Source tag for RC2 (github mirror) is:
https://github.com/apache/hive/releases/tag/release-2.0.0-rc2
(https://github.com/apache/hive/commit/ecccdda845a0a45de24463669847ddf37ad3
c220)

Voting will conclude in 72 hours.

Hive PMC Members: Please test and vote.



Thanks.


Reply via email to