You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Janus Chow (Jira)" <ji...@apache.org> on 2021/04/29 06:54:00 UTC
[jira] [Created] (HDDS-5166) Duplicate jdwp options when running
bin/ozone freon and sh
Janus Chow created HDDS-5166:
--------------------------------
Summary: Duplicate jdwp options when running bin/ozone freon and sh
Key: HDDS-5166
URL: https://issues.apache.org/jira/browse/HDDS-5166
Project: Apache Ozone
Issue Type: Bug
Reporter: Janus Chow
Assignee: Janus Chow
When trying to using remote debug with Freon, ozone prompt the following errors:
{code:java}
$ export OZONE_FREON_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
$ bin/ozone freon randomkeys --num-of-volumes=1 --num-of-buckets 1 --num-of-keys 10 --replication-type=RATIS --factor=THREE
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}
The reason is that the value of `OZONE_FREON_OPTS` was added to `OZONE_OPTS` twice, need to remove the first assignment to `OZONE_OPTS`.
The same error happens to `/bin/ozone sh` command.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org