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