"Big Data series" under Windows to connect to the Hadoop environment under Linux for development

Source: Internet
Author: User

First, download Eclipse and install two, download the Exlipse Hadoop plugin three, open the map reduce view

Window---perspective-perspective Open

Iv. Editing the Hadoop location

V. To see if the connection is successful

VI. Upload a file or folder test is successful
1, no permission permission denied

Key line of code: When executing Login.login, the Hadooploginmodule method in Hadoop is called, and the key is in the Commit method, it takes precedence to read the HADOOP_USER_NAME system environment variables. Then there is the Java environment variable, and if not, it gets from the Ntuserprincipal. Because Hadoop_user_name was not previously configured, it gets to the current user of my Windows system.

if (!issecurityenabled () && (user = = null)) {  String envuser = system.getenv (hadoop_user_name);  if (Envuser = = null) {    Envuser = System.getproperty (hadoop_user_name);  }  user = Envuser = = null? Null:new User (envuser);}

Above solution reference from: http://blog.csdn.net/xiaoshunzi111/article/details/52062640

"Big Data series" under Windows to connect to the Hadoop environment under Linux for development

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.