Code Monkey home page Code Monkey logo

ambari-doris-service's Introduction

Ambari-Doris-Service

An Ambari Stack for Doris. Ambari stack for easily installing and managing Doris on HDP cluster

1. introduce

This ambari doris stack have 3 roles, DORIS_FE\FE_Observer\DORIS_BE, The doris package name is doris-0.14.0-release.tar.gz and tree path below:

doris-0.14.0-release
├── be
│ ├── bin
│ │ ├── start_be.sh
│ │ └── stop_be.sh
│ ├── conf
│ │ ├── be.conf
│ │ └── odbcinst.ini
│ ├── lib
│ │ ├── meta_tool
│ │ └── palo_be
│ └── www
│     ├── ...
├── fe
│ ├── bin
│ │ ├── start_fe.sh
│ │ └── stop_fe.sh
│ ├── conf
│ │ └── fe.conf
│ ├── lib
│ │ ├── ...
│ ├── spark-dpp
│ │ └── spark-dpp-1.0.0-jar-with-dependencies.jar
│ └── webroot
│     └── static
│         ├── ...
├── hdfs_broker
│ ├── bin
│ │ ├── start_broker.sh
│ │ └── stop_broker.sh
│ ├── conf
│ │ ├── apache_hdfs_broker.conf
│ │ ├── hdfs-site.xml
│ │ └── log4j.properties
│ └── lib
│     ├── ...
│     └── ...
└── udf
    ├── include
    │ ├── uda_test_harness.h
    │ └── udf.h
    └── lib
        └── libDorisUdf.a

2.notice

Do not install DORIS_FE and FE_Observer in the same node.

3.install

  1. Change project dir name.
mv Ambari-Doris-Service Doris
  1. edit package/scripts/params.py
change the version and doris_filename as your true value.
 eg:
 version = '3.1.0.0-78'   
 doris_filename = 'doris-0.14.0-release'
  1. check your yum repos file. change it as your own download_url, before install check the download_url can used.
download_url = commands.getoutput(
   'cat /etc/yum.repos.d/ambari-1.repo | grep "baseurl" | head -1 | awk -F \'=\' \'{print $2"doris/' + doris_filename + '.tar.gz"}\''
  )
  1. put Doris dir to ambari-server node /var/lib/ambari-server/resources/common-services
ambari-server restart //in manager node
ambari-agent restart //in all node
  1. installing.
Do not install DORIS_FE and FE_Observer in the same node.
input doris root password at doris.fe.root.password property.
  1. After install succeed
handle the Doris service operations 'ADD_FE_FOLLOWER' or 'ADD_FE_OBSERVER' or 'ADD_BACKEND'.

4. TODO

1. Add hdfs_broker 
2. Some other TODO list
3. Bugs

5.Links

How-To Define Stacks and Services
https://cwiki.apache.org/confluence/display/AMBARI/How-To+Define+Stacks+and+Services

Welcome to contribute it together.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.