Start from scratch and teach you 5 minutes using spark to analyze PM2.5 data (including environment preparation and spark code)

Source: Internet
Author: User

To start from scratch, finish a spark-based PM2.5 analysis project in five minutes, would you ask

1. Where is the PM2.5 data?

2. Where is the spark environment?

3. How is the program compiled?

Don't worry, follow me, 5 minutes to get everything done from scratch.

Preparing the Spark environment

Today, in various public clouds, it is possible to apply to spark's environment. But completely free, the easiest to start is the spark service above the Hyper Cloud (Supervessel), completely free.

  1. First sign in to the Hyper Cloud home page http://www.ptopenlab.com. If you have not applied for an account before, you can apply directly. The new application account will receive an email from [email protected], click on the link inside to activate the account.

  2. After logging in, select Big Data Service on the home page.

  3. Log in to the Big Data service and enter your registered username and password again on the sign-in meeting. You can access the Big Data Services page.

  4. Click Create to access the Create Big Data cluster interface. Currently, there are two environments for MapReduce and spark in the hyper-cloud. We select Spark and select the smallest single node, as shown in.

  5. When you click "Confirm Create", it takes about 30 seconds for a single-node spark environment to build successfully. You can see the following interface.







Start from scratch and teach you 5 minutes using spark to analyze PM2.5 data (including environment preparation and spark code)

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.