Hadoop+kafka+strom+flume First Step

Source: Internet
Author: User

1. All hosts need to install JDK and configure JDK environment variable 2, all the host installed SSH, and each other to achieve no secret access 3, modify the host hosts: File/etc/hosts, to ensure that the machine through the machine name can exchange visits 4. Install Python 2.6 and above (Storm )

5, ZeroMQ

Java code
    1. wget http://download.zeromq.org/zeromq-2.1.7.tar.gz
    2. TAR-XZF zeromq-2.1. 7. tar.gz
    3. CD zeromq-2.1. 7
    4. ./configure
    5. Make
    6. sudo make install

During the period may encounter some software Ubuntu does not install sudo apt-get install XXX installation can be

6, Jzmq

Command
    1. git clone https://github.com/nathanmarz/jzmq.git
    2. CD JZMQ
    3. ./autogen.sh
    4. ./configure
    5. Make
    6. sudo make install

Installation and configuration of Git

Command
    1. sudo apt-get install git
    2. git config--global user.name author #将用户名设为author
    3. git config--global user.email author@corpmail. com #将用户邮箱设为author@corpmail. com

Problems encountered during the period:

(1). make[1]: * * * There are no rules to create "org/zeromq/zmq.class" required target "Classdist_noinst.stamp". Stop it

Fix the method, create the Classdist_noinst.stamp file,

Java code
    1. Touch Src/classdist_noinst.stamp

(2). Error: Unable to access Org.zeromq.ZMQ

Fix method, enter SRC directory, compile related Java code manually

Java code
    1. javac-d. Org/zeromq/*.java  

Hadoop+kafka+strom+flume First Step

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.