GithubHelp home page GithubHelp logo

Comments (3)

YueCang avatar YueCang commented on May 19, 2024

Drill安装

Drill on docker

docker run -it --name drill \
	-p 8047:8047 \		# web and REST
	-p 31010:31010 \	# JDBC
	apache/drill-314
	
	
Apache Drill 1.20.3
"What ever the mind of man can conceive and believe, Drill can query."
apache drill> select version from sys.version;
+---------+
| version |
+---------+
| 1.20.3  |
+---------+
1 row selected (1.917 seconds)
apache drill>

web-site: <http://<ip>:8047/>

Drill on the cluster

  • 安装JDK

  • 安装zookeeper

  • 安装&配置

    • 解压

      tar -zxvf apache-drill-1.20.0.tar.gz -C /opt/
      
      mv apache-drill-1.20.0 drill-1.20.0
    • 配置

      mdkir /opt/drill-1.20.0/drill-site
      
      cp /opt/drill-1.20.0/conf/drill-override.conf /opt/drill-1.20.0/drill-site
      
      mkdir /opt/drill-1.20.0/drill-site/data
      
      vim drill-site
      drill.exec: {
        cluster-id: "drill-cluster",
        zk.connect: "hadoop102:2181,hadoop103:2181,hadoop104:2181",
        sys.store.provider.local.path="/opt/drill-1.20.0/drill-site/data"
      }

      注:集群每一台节点都需要安装&配置

  • 启动&测试

    • 启动zookeeper

    • 启动

      # 每台节点都需要启动
      ./drillbit.sh --config ../drill-site/ start
    • 测试

      bin/sqlline -u jdbc:drill:zk=hadoop102,hadoop103,hadoop104:2181/drill/<cluster-id>
      
      Apache Drill 1.20.0
      "Drill, baby, Drill."
      apache drill> select version from sys.version;
      +---------+
      | version |
      +---------+
      | 1.20.0  |
      +---------+
      1 row selected (0.192 seconds)
      apache drill> select * from dfs.`/opt/drill-1.20.0/drill-site/data/test.csv`;
      +--------------+
      |   columns    |
      +--------------+
      | ["id\tname"] |
      | ["1\tlyb"]   |
      | ["2\tley"]   |
      +--------------+
      3 rows selected (0.187 seconds)

from alldata.

alldatafounder avatar alldatafounder commented on May 19, 2024

Instead of just running Drill in docker, we need the process of compiling, deploying and installing the source code to a designated server, outputting process documents, and collecting and sorting out ideas related to integration with studio

from alldata.

alldatafounder avatar alldatafounder commented on May 19, 2024

not plan

from alldata.

Related Issues (20)

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.