You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2013/12/11 04:36:43 UTC
[jira] [Updated] (HIVE-6003) bin/hive --debug should not append
HIVE_CLIENT_OPTS to HADOOP_OPTS
[ https://issues.apache.org/jira/browse/HIVE-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated HIVE-6003:
--------------------------------
Attachment: HIVE-6003.1.patch
> bin/hive --debug should not append HIVE_CLIENT_OPTS to HADOOP_OPTS
> -------------------------------------------------------------------
>
> Key: HIVE-6003
> URL: https://issues.apache.org/jira/browse/HIVE-6003
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.12.0
> Reporter: Thejas M Nair
> Assignee: Thejas M Nair
> Attachments: HIVE-6003.1.patch
>
>
> hadoop (0.20.2, 1.x, 2.x) appends HADOOP_CLIENT_OPTS to HADOO_OPTS.
> So it is unnecessary to have this statement in bin/hive, under debug mode -
>
> " export HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"
> It results in the HADOOP_CLIENT_OPTS being appended twice, resulting in this error in debug mode.
> {code}
> bin/hive --debug
> ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
> Error occurred during initialization of VM
> agent library failed to init: jdwp
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)