Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.3-alpha, 3.0.0-alpha1
-
None
Description
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,
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
Attachments
Attachments
Issue Links
- is related to
-
HIVE-3936 Remote debug failed with hadoop 0.23X, hadoop 2.X
- Resolved
-
HADOOP-9532 HADOOP_CLIENT_OPTS is appended twice by Windows cmd scripts
- Closed
- relates to
-
HADOOP-8287 etc/hadoop is missing hadoop-env.sh
- Closed