Get the App
SLTechnology News&Howtos  ›  Database  › 

Kudu 1.8.0 compilation installation configuration

Shulou Source: shulou.com Published: 2022-06-01 14:15:33 10月01日 Update

Recently, I experienced the Rebalance function of kudu 1.8, and it felt very good. What is particularly uncomfortable is that the volume of the program after compilation and installation is so large that it is unheard of, reaching a terrible 46GB. Friends, you should be prepared before installation. Installation environment System: CentOS 7.6.The system relies on yum install autoconf automake cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain flex gcc gcc-c++ gdb git java-1.8.0-openjdk-devel krb5-server krb5-workstation libtool make openssl-devel patch pkgconfig redhat-lsb-core rsync unzip vim-common which-y to download kudu-1.8.0 source code package (official download or GitHub download is OK) cd / datagit clone https://github.com/apache/kuducd kudubuild -support/enable_devtoolset.sh downloader relies on mkdir thirdparty/src/cd thirdparty/src/wget http://d3dr9sfxru4sde.cloudfront.net/glog-0.3.5.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/googletest-release-1.8.0.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/gflags-2.2.0.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/gperftools-2.6.90.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net / protobuf-3.4.1.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/cmake-3.9.0.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/snappy-1.1.4.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/zlib-1.2.8.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/libev-4.20.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/rapidjson-0.11.zipwget http://d3dr9sfxru4sde.cloudfront.net / squeasel-9335b81317a6451d5a37c5dc7ec088eecbf68c82.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/mustache-87a592e8aa04497764c533acd6e887618ca7b8a8.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/google-styleguide-7a179d1ac2e08a5cc1622bec900d1e0452776713.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/gcovr-3.0.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/curl-7.59.0.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/crcutil-42148a6df6986a257ab21c80f8eca2e54544ac4d.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/libunwind-1.3-rc1.tar .gzwget http://d3dr9sfxru4sde.cloudfront.net/python-2.7.13.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/llvm-6.0.0-iwyu-0.9.src.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/lz4-lz4-r130.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/bitshuffle-55f9b4c.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/kudu-trace-viewer-21d76f8350fea2da2aa25cb6fd512703497d0c11.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/nvml -1.1.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/boost_1_61_0.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/breakpad-9eac2058b70615519b2c4d8c6bdbfca1bd079e39.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/sparsehash-c11-47a55825ca3b35eab1ca22b7ab82b9544e32a9af.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/sparsepp-824860bb76893d163efbcff330734b9f62eecb17.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/thrift-0.11.0.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/bison-3.0.4 The .tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/hive-498021fa15186aee8b282d3c032fbd2cede6bec4-stripped.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/hadoop-2.8.5-stripped.tar.gzwget http://d3dr9sfxru4sde.cloudfront.net/apache-sentry-2c9a927a9e87cba0e4c0f34fc0b55887c6636927-bin.tar.gz compiler relies on and builds the kudu installation configuration cd.. /.. / thirdparty/build-if-necessary.sh # this command executes all the dependencies downloaded above Kudu. / configura creates a compiled installation directory, mkdir build/release-pcd build/release/../../build-support/enable_devtoolset.sh, compiles kudu and installs.. /.. / thirdparty/installed/common/bin/cmake-DCMAKE_BUILD_TYPE=release.. /.. make-j4make DESTDIR=/data/kudu/build/release/kudu install makes a soft link to the lib file ln-s / data/kudu/build/release/kudu/usr/local/include/* / usr/ Local/include/ln-s / data/kudu/build/release/kudu/usr/local/lib64/* / usr/local/lib64/ln-s / data/kudu/build/release/kudu/usr/local/share/* / usr/local/share/ create configuration file = MASTER = mkdir confcd confcat > > master.gflagfiletserver.gflagfile/usr/lib/systemd/system/kudu-master.service/usr/lib/systemd/system/kudu-tserver.service/etc/profilekudu-shell.sh

Tags: Configuration data program compilation node command datasheet file test balance feeling environment directory system good scary unheard of compiler mass function Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MySQL vpn Docker Shulou Tech Info