bigdata-labs / spark2-hadoop2.6-hbase-labs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get start

  1. download vagrant box: https://pan.baidu.com/s/1c1SAXTQ
  2. vagrant box add u16 /path/you_downloaded_box
  3. vagrant up
  4. download hbase, hadoop, spark
  5. download hadoop-native-64-2.6.0.tar to ./ansible/roles/spark2/files
  6. run ansible-playbook ./ansible/playbook.yml -i ./ansible/inventory -u vagrant -k password is vagrant

download jdk8: https://pan.baidu.com/s/1bpxfpvD

download hbase: https://pan.baidu.com/s/1slhdGhZ

download hadoop: https://pan.baidu.com/s/1dFkjWch

download spark: https://pan.baidu.com/s/1dE6ows5

checking

hdfs: http://192.168.11.151:50070/dfshealth.html#tab-datanode

spark: http://192.168.11.152:8080/

hbase: http://192.168.11.153:16010/master-status

deploy spark hbase example

  • word count example

    1. chmod +x ./ansible/deploy-wordcount.sh
    2. run ./ansible/deploy-wordcount.sh
  • the example for Spark integrate with Hbase

    1. chmod +x ./ansible/deploy-hbase-example.sh
    2. run ./ansible/deploy-hbase-example.sh

About


Languages

Language:Shell 54.7%Language:Batchfile 20.7%Language:Java 16.7%Language:XSLT 2.5%Language:Makefile 2.2%Language:Ruby 1.8%Language:Nginx 1.2%Language:Smarty 0.1%