Hi All, I have set up hive source code as per HiveDeveloperFAQ#HiveDeveloperFAQ-HowdoIimportintoEclipse <https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-HowdoIimportintoEclipse?> documentation and successfully imported the project into Eclipse.
Now,If I want to debug the hive-hcatalog-pig-adapter/ *org.apache.hive.hcatalog.pig.HCatLoader* class, I tried to run /hive-hcatalog-pig-adapter/*org.apache.hive.hcatalog.pig.TestHCatLoader* by enabling few debug points. Am getting following error when I Right-Click on *TestHCatLoader* and Select *JUnit Test:* FAILED: NullPointerException Non-local session path expected to be non-null 15/05/08 12:24:37 ERROR ql.Driver: FAILED: NullPointerException Non-local session path expected to be non-null java.lang.NullPointerException: Non-local session path expected to be non-null While being in eclipse am able to run the goal "*test -Dtest=org.apache.hive.hcatalog.pig.TestHCatLoader -Phadoop-2*" from itests directory successfully. But the debug point is never caught during the testing. How can I line by line debug any class such as this HCatLoader loader class from eclipse? Any help is appreciated! -- Thanks Suraj Nayak M