You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/03/13 16:18:48 UTC
[jira] [Commented] (HIVE-6110) schematool errors out when HIVE_OPTS
is set
[ https://issues.apache.org/jira/browse/HIVE-6110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933388#comment-13933388 ]
Ashutosh Chauhan commented on HIVE-6110:
----------------------------------------
+1
> 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
>
> Attachments: HIVE-6110.1.patch.txt
>
>
> 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.2#6252)