Twitter Storm notes

Source: Internet
Author: User
Tags git clone

Storm Study Notes

Get ready

1. Learn the most basic ways to use Git, because both the storm case and the source code are managed with Git.

2. Learn how maven is used, because many jar packages are used in the project, which can be cumbersome to manage.

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

Begin

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

Download the Storm-starter and import it into eclipse

Use git command to clone Storm-starter project to 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 only recognizes Pom.xml

Go to the project directory and use MAVEN to download the relevant jar

Maven command cleans up the installation jar package to the local repository: mvn clean install

Note the jar that was wall

<!--<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>-- >


Understand

1.map/reduce

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

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

In subsequent updates

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.