Start-all.sh for Accumulo 抛出多个警告:本地主机上的最大打开文件数

Start-all.sh for Accumulo throws multiple warnings about: Max open files on localhost

我收到关于以下内容的多个警告:

WARN : Max open files on localhost is 1024, recommend 32768

我不确定这是关于什么的。

/usr/local/accumulo$ ./bin/start-all.sh &
[1] 27142
/usr/local/accumulo$ Starting monitor on localhost
WARN : Max open files on localhost is 1024, recommend 32768
Starting tablet servers .... done
Starting tserver on localhost
WARN : Max open files on localhost is 1024, recommend 32768
2016-12-01 15:14:49,820 [fs.VolumeManagerImpl] WARN : dfs.datanode.synconclose set to false in hdfs-site.xml: data loss is possible on   hard system reset or power loss
2016-12-01 15:14:49,838 [server.Accumulo] INFO : Attempting to talk to zookeeper
2016-12-01 15:14:50,017 [server.Accumulo] INFO : ZooKeeper connected and initialized, attempting to talk to HDFS
2016-12-01 15:14:50,184 [server.Accumulo] INFO : Connected to HDFS
Starting master on localhost
WARN : Max open files on localhost is 1024, recommend 32768
Starting gc on localhost
WARN : Max open files on localhost is 1024, recommend 32768
Starting tracer on localhost
WARN : Max open files on localhost is 1024, recommend 32768

我收到另一个我理解的警告。但是关于最大打开文件的那个对我来说很奇怪。

如何解决这些警告?

顺便说一下,Accumulo 是 运行。

以下是有关我的设置的更多详细信息:

没有可用的 LSB 模块。 经销商编号:Ubuntu 说明:Ubuntu 16.04.1 LTS 发布:16.04 代号:xenial

8GB 内存。仅使用 2.3GB(使用 Accumulo)。

一次打开文件描述符的最大个数。你可以增加 运行:

ulimit -n 32768