twitter storm笔记

Storm 学习笔记

准备

1.了解git 的最基本的使用方法,因为storm的事例和源码都是用git进行管理的。

2.了解maven的使用方法,因为工程中会使用很多的jar包,管理起来比较麻烦。

maven地址:http://maven.apache.org/index.html

开始

本地安装,下载最新的storm.地址:http://storm-project.net/downloads.html

下载storm-starter,并导入eclipse中

使用git命令把storm-starter项目clone到本地:git clone https://github.com/nathanmarz/storm-starter.git

修改工程中的m2-pom.xml文件名称为pom.xml 。maven 只能识别pom.xml

进入项目目录,使用maven下载相关jar

maven命令清理安装jar包到本地仓库:mvn clean install 

注释被墙的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> -->


理解

1.map/reduce

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

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

后续更新中

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值