Java environment variables in Hadoop setup problem, set up, but still error

Source: Internet
Author: User

Today to open an account to configure Hadoop, but all finished, run, there is no Java found in the case, my Java is set in the. ZSHRC, export Java_home=/usr/lib/jvm/java, in the original is available, But not this time, and then found the solution on the Internet, into the hadoop/libexec/hadoop-config.sh, and then #attempt to set Java_home if it no set before adding a JAVA path, export Java_home=/usr/lib/jvm/java, save, OK

Java environment variables in Hadoop setup problem, set up, but still error

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.