hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venki Korukanti (JIRA)" <>
Subject [jira] [Created] (HIVE-6110) schematool errors out when HIVE_OPTS is set
Date Thu, 26 Dec 2013 18:13:51 GMT
Venki Korukanti created HIVE-6110:

             Summary: schematool errors out when HIVE_OPTS is set
                 Key: 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

$ export HIVE_AUX_JARS_PATH=/path/lib.jar

Above export adds a --hiveconf option to the commandline args to HiveSchemaTool which doesn't
recognize it.

$ 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

This message was sent by Atlassian JIRA

View raw message