我会收到多个警告:
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模块可用。分销商ID:Ubuntu描述:Ubuntu 16.04.1 LTS发行:16.04代号:Xenial
8GB RAM。仅使用2.3GB(带有Accumulo)。
这是一次打开文件描述符的最大数量。您可以通过运行来增加它:
ulimit -n 32768