Twitter storm notes

Source: Internet
Author: User

Storm Study Notes

Preparation

1. Understand the most basic usage of git, because storm examples and source code are managed by git.

2. Understand how to use Maven, because a lot of jar packages are used in the project, which is troublesome to manage.

Maven: http://maven.apache.org/index.html

Start

Install locally, download the latest storm. Address: http://storm-project.net/downloads.html

Download storm-starter and import it to eclipse.

Run the GIT command to clone the storm-starter project to the local: git clone https://github.com/nathanmarz/storm-starter.git

Modifying the m2-pom.xml file name in the project is called Pom. xml. Maven can only recognize Pom. xml

Go to the project directory and use Maven to download relevant jar files.

Run the maven command to clear and install the jar package to the local repository: MVN clean install

Comment out the wall jar

<!-- <repository><id>twitter4j</id><url>http://twitter4j.org/maven2</url></repository> --><!-- <dependency><groupId>org.twitter4j</groupId><artifactId>twitter4j-core</artifactId><version>2.2.6-SNAPSHOT</version></dependency><dependency><groupId>org.twitter4j</groupId><artifactId>twitter4j-stream</artifactId><version>2.2.6-SNAPSHOT</version></dependency> -->

<!-- <plugin><groupId>com.theoryinpractise</groupId><artifactId>clojure-maven-plugin</artifactId><version>1.3.8</version><extensions>true</extensions><configuration><sourceDirectories><sourceDirectory>src/clj</sourceDirectory></sourceDirectories></configuration><executions><execution><id>compile</id><phase>compile</phase><goals><goal>compile</goal></goals></execution><execution><id>test</id><phase>test</phase><goals><goal>test</goal></goals></execution></executions></plugin> -->

Understanding

1. MAP/reduce

Http://blog.csdn.net/opennaive/article/details/7514146

Http://www.csdn.net/article/2013-01-07/2813477-confused-about-mapreduce

Updating

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.