linux下执行.hbase文件 进行批处理记录

    技术2022-07-11  92

    sudo docker cp xxxxx.hbase docker-container-id:/

    cd /

    hbase shell xxxxx.hbase

    xxxxx.hbase范例:

    create 'xxxdev:AgentInfo', { NAME => 'Info', TTL => 31536000, DATA_BLOCK_ENCODING => 'PREFIX' } disable 'xxxdev:AgentInfo' drop 'xxxdev:AgentInfo'
    Processed: 0.010, SQL: 9