hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangjin Lee (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9455) HADOOP_CLIENT_OPTS is appended twice, causing JVM failures
Date Thu, 04 Apr 2013 15:49:16 GMT
Sangjin Lee created HADOOP-9455:
-----------------------------------

             Summary: HADOOP_CLIENT_OPTS is appended twice, causing JVM failures
                 Key: HADOOP-9455
                 URL: https://issues.apache.org/jira/browse/HADOOP-9455
             Project: Hadoop Common
          Issue Type: Bug
          Components: bin
    Affects Versions: 2.0.3-alpha
            Reporter: Sangjin Lee
            Priority: Minor


If you set HADOOP_CLIENT_OPTS and run hadoop, you'll find that the HADOOP_CLIENT_OPTS value
gets appended twice, and leads to JVM start failures for cases like adding debug flags.

For example,

{noformat}
HADOOP_CLIENT_OPTS='-agentlib:jdwp=transport=dt_socket,address=localhost:9009,server=y,suspend=y'
hadoop jar anything

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
{noformat}

--
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: http://www.atlassian.com/software/jira

Mime
View raw message