• 安装Kudu


    1.默认安装好yum
    2.需以root身份安装
    3.安装ntp
      yum install ntp -y
    4.启动ntp
      /etc/init.d/ntpd start|stop|restart
    5.添加安装包yum源
      [cloudera-kudu]
      # Packages for Cloudera's Distribution for kudu, Version 0, on RedHat or CentOS 6 x86_64
      name=Cloudera's Distribution for kudu, Version 0
      baseurl=http://archive.cloudera.com/beta/kudu/redhat/6/x86_64/kudu/0/
      gpgkey=http://archive.cloudera.com/beta/kudu/redhat/6/x86_64/kudu/RPM-GPG-KEY-cloudera
      gpgcheck = 1
    6.1安装kudu(yum 安装方式)
      yum install kudu kudu-master kudu-tserver kudu-client0 kudu-client-devel -y
      其中子节点可以不用安装kudu-master
    6.2安装kudu(rpm安装方式)
      rpm -ivh kudu-0.9.1+cdh5.4.0+0-1.kudu0.9.1.p0.32.el6.x86_64.rpm
      rpm -ivh kudu-master-0.9.1+cdh5.4.0+0-1.kudu0.9.1.p0.32.el6.x86_64.rpm
      rpm -ivh kudu-tserver-0.9.1+cdh5.4.0+0-1.kudu0.9.1.p0.32.el6.x86_64.rpm
      rpm -ivh kudu-client0-0.9.1+cdh5.4.0+0-1.kudu0.9.1.p0.32.el6.x86_64.rpm
      rpm -ivh kudu-client-devel-0.9.1+cdh5.4.0+0-1.kudu0.9.1.p0.32.el6.x86_64.rpm
    7.配置参数(需要创建好相应目录)
      master:
        1./etc/default/kudu-master
          export FLAGS_log_dir=/opt/kudu-0.9.1/log //日志目录
          export FLAGS_rpc_bind_addresses=dsj01:7051
        2./etc/kudu/conf.dist/master.gflagfile
          --fs_wal_dir=/opt/kudu-0.9.1/data/master
          --fs_data_dirs=/opt/kudu-0.9.1/data/master
          --default_num_replicas=1 //设置备份数 不设置默认为3
      tserver:
        1./etc/default/kudu-tserver
          export FLAGS_log_dir=/opt/kudu-0.9.1/log
          export FLAGS_rpc_bind_addresses=dsj02:7050
        2./etc/kudu/conf.dist/tserver.gflagfile
          --fs_wal_dir=/opt/kudu-0.9.1/data/tserver
          --fs_data_dirs=/opt/kudu-0.9.1/data/tserver
          --tserver_master_addrs=dsj01:7051 //绑定master节点
    8.启动kudu
      service kudu-master start|stop
      service kudu-tserver start|stop

  • 相关阅读:
    Spring包的依赖关系以及提供下载
    正则
    Spring征服数据库
    Java之多线程同步基础
    Java之多线程优先级基础
    ColorMatrixFilter色彩矩阵滤镜
    AS3.0 位图翻转、旋转
    AS3.0 自定义右键菜单类
    精确选择识别png图片有像素的区域
    AS3动画效果常用公式
  • 原文地址:https://www.cnblogs.com/ciade/p/6221369.html
Copyright © 2020-2023  润新知