Re: Debugging Hive frontend in eclipse

2014-09-10 Thread Thejas Nair
I have never seen that before. Maybe you have some env setting (hadoop or hive) that is messing with it ? Edit the shell script to print the 'java' command it is running and see if you can figure out what is wrong. On Wed, Sep 10, 2014 at 11:26 AM, Saumitra Shahapure wrote: > Hey Thejas, > > It

Re: Debugging Hive frontend in eclipse

2014-09-10 Thread Saumitra Shahapure
Hey Thejas, It seems that hive --debug is also not smooth. I ran the script build/dist/bin/hive --debug after clean build It gives 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 f

Re: Debugging Hive frontend in eclipse

2014-09-10 Thread Thejas Nair
There have been some threads on how to get around the metastore initialization issue. But another easy way to work around this issue is to build hive, and then run hive --debug . Hive will wait for the debugger to connect on port 8000. You can configure eclipse debugging to connect to that port.