美文网首页
python连接kudu环境配置.md

python连接kudu环境配置.md

作者: 未然猜 | 来源:发表于2019-10-10 10:30 被阅读0次

    只能在Linux环境下安装

    查看kudu和cdh版本

    find / -name 'kudu*'

    /opt/cloudera/parcels/CDH-5.15.0-1.cdh5.15.0.p0.21/lib/kudu/kudu-client-1.7.0-cdh5.15.0.jar
    

    离线下载kudu-yum包

    地址: http://archive.cloudera.com/cdh5

    # CentOS release 6.*
    kudu-client-devel-1.7.0+cdh5.15.0+0-1.cdh5.15.0.p0.52.el6.x86_64.rpm
    kudu-client0-1.7.0+cdh5.15.0+0-1.cdh5.15.0.p0.52.el6.x86_64.rpm
    
    # CentOS release 7.*
    kudu-client-devel-1.7.0+cdh5.15.0+0-1.cdh5.15.0.p0.52.el7.x86_64.rpm
    kudu-client0-1.7.0+cdh5.15.0+0-1.cdh5.15.0.p0.52.el7.x86_64.rpm
    

    环境依赖

    yum install kudu-client-devel kudu-client0
    yum install gcc
    yum install gcc-c++

    python包

    pip install Cython

    kudu-python安装时可能报错, 不断下调kudu-python版本, 直到成功(kudu-python==1.7.1)

    pip install kudu-python

    相关文章

      网友评论

          本文标题:python连接kudu环境配置.md

          本文链接:https://www.haomeiwen.com/subject/idfcuctx.html