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