Have you running hadoop component in debug mode..?
This problem can occur if you have started Hadoop component in Debug mode with same port. Change the port and try.. From: Kasun Weranga [mailto:kas...@wso2.com] Sent: Sunday, September 23, 2012 11:58 AM To: user@hive.apache.org Cc: d...@hive.apache.org; hive-...@hadoop.apache.org Subject: Re: Issue when trying to debug hive Cc to hive-dev mailing list. On Sat, Sep 22, 2012 at 9:37 PM, Connell, Chuck <chuck.conn...@nuance.com> wrote: This question might be better on dev@hive mailing list... _____ From: Kasun Weranga [kas...@wso2.com] Sent: Saturday, September 22, 2012 11:28 AM To: user@hive.apache.org Subject: Issue when trying to debug hive Hi all, I built hive trunk and tried to debug the hive code. But when I start hive using this command ./hive --debug[port=8000,mainSuspend=y,childSuspend=y] It gives following error, 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 Appreciate your help for solving this issue. Thanks, Kasun.