Missing hive execution Jar appears when compiling hive source code:/usr/local/hive/lib/hive-exec-*.jar

Source: Internet
Author: User


Cause: The above problem is usually caused by a script running hive under the bin/directory.

Explanation: assume that the hive source check out to the local hive-trunk directory, and compile the source without specifying the "Target.dir" attribute, if the hive_home variable points to the Hive-trunk directory, $hive_ After the Home/bin is added to the path variable. Execute hive

$ hive
Missing hive execution Jar:/usr/local/hive/lib/hive-exec-*.jar

The above hints will appear.

Workaround: just let the hive_home variable point to the Hive-trunk/build/dist directory and add $hive_home/bin to the PATH variable. Build/dist is the default installation directory.

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.