You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2013/12/26 19:13:51 UTC
[jira] [Created] (HIVE-6110) schematool errors out when HIVE_OPTS
is set
Venki Korukanti created HIVE-6110:
-------------------------------------
Summary: schematool errors out when HIVE_OPTS is set
Key: HIVE-6110
URL: https://issues.apache.org/jira/browse/HIVE-6110
Project: Hive
Issue Type: Bug
Components: Metastore
Affects Versions: 0.12.0
Reporter: Venki Korukanti
Assignee: Venki Korukanti
Fix For: 0.13.0
If HIVE_OPTS is set schematool command fails to start. To repro this set HIVE_AUX_JARS_PATH
{code}
$ export HIVE_AUX_JARS_PATH=/path/lib.jar
{code}
Above export adds a --hiveconf option to the commandline args to HiveSchemaTool which doesn't recognize it.
{code}
$ hive-install-dir/bin/schematool -dbType derby -info
HiveSchemaTool:Parsing failed. Reason: Unrecognized option: -hiveconf
usage: schemaTool
-dbType <databaseType> Metastore database type
-dryRun list SQL scripts (no execute)
-help print this message
-info Show config and schema details
-initSchema Schema initialization
-initSchemaTo <initTo> Schema initialization to a version
-passWord <password> Override config file password
-upgradeSchema Schema upgrade
-upgradeSchemaFrom <upgradeFrom> Schema upgrade from a version
-userName <user> Override config file user name
-verbose only print SQL statements
{code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)