Apache SAMOA on Flink试用
2017-03-02 15:04
351 查看
apt-get install -y maven
apt-get update
apt-get install -y git openjdk-7-jdk vim maven
wget http://archive.apache.org/dist/flink/flink-0.10.2/flink-0.10.2-bin-hadoop2.tgz
tar -xzvf flink-0.10.2-bin-hadoop2.tgz
vim ~/flink-0.10.2/conf/flink-conf.yaml #taskmanager.numberOfTaskSlots
cd ~/flink-0.10.2/bin
./start-local.sh
git clone https://github.com/apache/incubator-samoa.git
vim ~/incubator-samoa/bin/samoa-flink.properties
cd ~/incubator-samoa/
mvn -Pflink package
bin/samoa flink target/SAMOA-Flink-0.5.0-incubating-SNAPSHOT.jar "PrequentialEvaluation -d /tmp/dump.csv -i 1000000 -f 100000 -l (classifiers.trees.VerticalHoeffdingTree -p 4) -s (generators.RandomTreeGenerator -c 2 -o 10 -u 10)"
http://ip:8081/
参考:
https://github.com/apache/incubator-samoa/pull/11 https://qconlondon.com/london-2016/system/files/presentation-slides/robertmetzger.pdf
apt-get update
apt-get install -y git openjdk-7-jdk vim maven
wget http://archive.apache.org/dist/flink/flink-0.10.2/flink-0.10.2-bin-hadoop2.tgz
tar -xzvf flink-0.10.2-bin-hadoop2.tgz
vim ~/flink-0.10.2/conf/flink-conf.yaml #taskmanager.numberOfTaskSlots
cd ~/flink-0.10.2/bin
./start-local.sh
git clone https://github.com/apache/incubator-samoa.git
vim ~/incubator-samoa/bin/samoa-flink.properties
cd ~/incubator-samoa/
mvn -Pflink package
bin/samoa flink target/SAMOA-Flink-0.5.0-incubating-SNAPSHOT.jar "PrequentialEvaluation -d /tmp/dump.csv -i 1000000 -f 100000 -l (classifiers.trees.VerticalHoeffdingTree -p 4) -s (generators.RandomTreeGenerator -c 2 -o 10 -u 10)"
http://ip:8081/
参考:
https://github.com/apache/incubator-samoa/pull/11 https://qconlondon.com/london-2016/system/files/presentation-slides/robertmetzger.pdf
相关文章推荐
- Install Apache OpenOffice 3.4.1 on RHEL/CentOS 6.3/5.8 and Fedora 17/16
- php + apache + mysql on XP
- apache2.4 compiled&installaton on LINUX
- Apache Flink发布0.8.0,公布2015年规划
- java.lang.UnsatisfiedLinkError: C:\apache-tomcat-8.0.21\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
- Apache CarbonData 1.0.0 编译部署 on Mac OS
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack (unpack) on project sq-integral-web: Unable to find artifact.
- 【云星数据---Apache Flink实战系列(精品版)】:Apache Flink实战基础004--flink特性:类库和API示例
- How to setup Apache+FastCGI+Rails on windows
- 在Mac OS X 10.10.2中配置Apache (You don t have permission to access / on this server)
- 【云星数据---Apache Flink实战系列(精品版)】:Apache Flink批处理API详解与编程实战001--DateSet实用API详解001
- 解决org.apache.rat:apache-rat-plugin:0.8:check (default) on project hbase: Too many unapproved license
- 【云星数据---Apache Flink实战系列(精品版)】:Apache Flink批处理API详解与编程实战018--DateSet实用API详解018
- 【云星数据---Apache Flink实战系列(精品版)】:Apache Flink高级特性与高级应用006-Slot和Parallelism的深入分析001
- 【云星数据---Apache Flink实战系列(精品版)】:Flink流处理API详解与编程实战001-Flink基于流的wordcount示例001
- 云星数据---Apache Flink实战系列(精品版)】:Flink流处理API详解与编程实战010-DataStream与MySql自定义sink和source(Java版)002
- 禁掉Apache web server签名 How to turn off server signature on Apache web server
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Debian
- 解决Tomcat启动报错:The Apache Tomcat Native library which allows optimal performance in production environments was not found on the j
- Introducing Complex Event Processing (CEP) with Apache Flink