HUE下载提示The number of resulting rows was too big to be downloaded

目前,我们内部使用hue作为图形界面工具,通过beeswax来连接impala集群进行sql查询。用户反馈在对查询结果使用Excel进行保存之后报错,错误信息如下所示:

The number of resulting rows was too big to be downloaded and the resulting file has been truncated to 2 rows

跟用户确认,结果集也并不大,只有几千行。换成csv之后,下载不会报错,但是下载完成之后,打开的文件内容为空,只有一行列名显示。经过排查之后发现,是由于我们在hue.ini中配置了该配置项造成的:

  # 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.
  download_cell_limit=100

我们注释掉该配置项之后,重启hue服务,测试csv和excel都可以正常下载,问题解决!

你可能感兴趣的:(大数据相关,HUE)