ubuntu - Accumulo 的 Start-all.sh 引发多个有关 : Max open files on localhost 的警告

标签 ubuntu hadoop networking apache-zookeeper accumulo

我收到多个警告:

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 内存。仅使用 2.3GB(使用 Accumulo)。

最佳答案

一次打开​​的文件描述符的最大数量。您可以通过运行来增加它:

ulimit -n 32768

关于ubuntu - Accumulo 的 Start-all.sh 引发多个有关 : Max open files on localhost 的警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40914476/

相关文章:

linux - Libcamera 构建的 Meson 安装失败

hadoop - Hadoopy不会超越mkdir

python - 在 Dataproc 集群中查找 Hadoop 流媒体 jar

hadoop - hadoop map reduce中分组比较器有什么用

scala - 防火墙后面的 Akka 对等点

linux - 在ubuntu中以root身份远程登录

c - 找不到 C 中的 getrandom 系统调用

c# - 多人游戏同步

ubuntu -/path/to 是什么意思

networking - 如何计算 IP 范围