hue改保存记录条数

参考: 

https://blog.csdn.net/liaoxiaoyi121121/article/details/80541901

需求:

开发需要保存查询记录的条数从10万改到100万

/etc/hue/conf/hue.ini
搜download_row_limit, 改默认的条数
重启服务

如果不成功,改源码:
/opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/lib/hue/apps/beeswax/src/beeswax
vim conf.py中default的值

DOWNLOAD_CELL_LIMIT = Config(
key='download_cell_limit',
default=10000000,
type=int,
help=_t('A limit to the number of cells (rows * columns) that can be downloaded from a query '
'(e.g. - 10K rows * 1K columns = 10M cells.) '
'A value of -1 means there will be no limit.'))

原文地址:https://www.cnblogs.com/hongfeng2019/p/11302707.html