Debug the hive jdbc program in Eclipse

Source: Internet
Author: User

In the past two days, a Thrift service is designed to support multi-threaded access to HIVE. After writing the code, an Error is reported: Error in semantic analysis: unable to fetch table test. It took a long time to compare and debug your program and HIVE client, and finally found the problem (the corresponding dbcp and pool Jar packages are missing) and solved. Looking back, we found that if you carefully look at the stack information in hive. log, you can easily locate the problem and do not need to perform one-step debugging.
However, the Eclipse debugging program is much more skillful throughout the process. It is very convenient to debug, load external source code, and continue. But it still feels better than.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.