Thejas M Nair created HIVE-6003:
-----------------------------------
Summary: 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
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)