hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-5085) Hive Metatool errors out if HIVE_OPTS is set
Date Thu, 15 Aug 2013 08:48:49 GMT


Ashutosh Chauhan commented on HIVE-5085:

Is there never a case when someone wants to pass in HIVE_OPTS to metatool. Is there an alternative
for it?
> Hive Metatool errors out if HIVE_OPTS is set
> --------------------------------------------
>                 Key: HIVE-5085
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>         Attachments: HIVE-5085.patch
> If HIVE_OPTS were to be set, then the Hive Metatool fails on parsing the commandline
arguments. This can happen, for example, if HIVE_AUX_JARS_PATH were to include the HCatalog
> The result, then, is that it tries to execute the following:
> {code}
> exec $HADOOP jar ${HIVE_LIB}/hive-cli-*.jar $CLASS $HIVE_OPTS "$@"
> {code}
> which maps to:
> {noformat}
> exec /usr/lib/hadoop/bin/hadoop jar /usr/lib/hive/lib/hive-cli- -hiveconf hive.aux.jars.path=file:///usr/lib/hcatalog/share/hcatalog/hcatalog-core.jar
> {noformat}
> Then Metatool chokes on seeing the "-hiveconf" parameter.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message