[Spark Asia Pacific Research Institute Series] the path to spark practice-Chapter 1 building a spark cluster (step 5) (6)

Source: Internet
Author: User

The command to end historyserver is as follows:

Step 4: Verify the hadoop distributed Cluster

First, create two directories on the HDFS file system. The creation process is as follows:


/Data/wordcount in HDFS is used to store the data files of the wordcount example provided by hadoop. The program running result is output to the/output/wordcount directory, through web control, we can find that we have successfully created two folders:

Next, upload the data of the local file to the HDFS Folder:


Through web control, we can find that we have successfully uploaded the file:


You can also use the HDFS command of hadoop to view information on the Control Command terminal:


Run the wordcount example provided by hadoop and run the following command:


The running process is as follows:




[Spark Asia Pacific Research Institute Series] the path to spark practice-Chapter 1 building a spark cluster (step 5) (6)

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.