Hadoop runs under Windows

Source: Internet
Author: User
Tags disk usage
There are two main ways to deploy Hadoop under 1.windows
1.1. Deploy the Hadoop system by using Cygwin to simulate Linux commands.
1.2. Modify the system's code file Df.java so that it can run under Windows.
The main reason is that the acquisition of disk usage of data nodes in Hadoop's code uses a
Linux df-k command to get
While Windows does not have this command support, a startup process exception error occurs when the data node starts Datanode.
The solution in
Hadoop's web site has been illustrated on
See specifically.
Http://issues.apache.org/jira/browse/HADOOP-33? Page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
Basically find the appropriate replacement command to get disk space, with Windows XP and 2003
The fsutil command gets the disk condition.
2. It is to be noted that:
There is a problem to be solved in the approach provided on the Web site above
: Gets the information that the disk command obtains. The disk information prefix information obtained for different language versions of the operating system is also different, so the language versions of different operating systems can be modified as needed.

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.