CDH自带了snappy压缩包,无需手动安装
确认snappy
打开CDHweb,点击yarn2-配置,搜索io.compression.codecs
按图改
hbase已有表可以通过 alter 'test', {NAME => 'cf', COMPRESSION => 'SNAPPY'}
未有表可以通过create 'dcs:t_dev_history',{NAME => 'f', COMPRESSION => 'SNAPPY'}
CDH自带了snappy压缩包,无需手动安装
确认snappy
打开CDHweb,点击yarn2-配置,搜索io.compression.codecs
按图改
hbase已有表可以通过 alter 'test', {NAME => 'cf', COMPRESSION => 'SNAPPY'}
未有表可以通过create 'dcs:t_dev_history',{NAME => 'f', COMPRESSION => 'SNAPPY'}