Common errors and workarounds for running remote Hadoop mapreduce programs in eclipse with the win system

Source: Internet
Author: User

First, Permission denied

1. Error in running remote Hadoop mapreduce program with Eclipse under win system

Org.apache.hadoop.security.AccessControlException:org.apache.hadoop.security.AccessControlException:Permission Denied:user=xxx, access=write, inode= "xxx": Xxx:supergroup:rwxr-xr-xat Sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
Because Eclipse uses the Hadoop plug-in to submit jobs, it defaults to using Windows system users to write jobs to the HDFs file system, which causes the exception to occur because the user does not have write access to the Hadoop directory.

The workaround is: Release the Hadoop directory permissions, the command is as follows: $ Hadoop fs-chmod-r 777/


Of course, you can also operate on only one directory:


If you are unfamiliar with commands, you can view them directly with the following commands:



2.





Common errors and workarounds for running remote Hadoop mapreduce programs in eclipse with the win system

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.