我嘗試連接到我的公共DNS實例的Cloudera端口7180Cloudera的內存不足,無法繼續
我得到「無法連接」的消息在我的網頁瀏覽器。
我使用EC2 AWS + RedHat7中+ Cloudera的5
當我開始Cloudera的服務器,我得到消息:
[email protected] sysconfig]# service cloudera-scm-server start
Starting cloudera-scm-server (via systemctl): [ OK ]
當我蜷縮我得到:
[[email protected] sysconfig]# curl -i -u ‘admin:admin’ http://localhost:7180/api/v1/tools/echo
curl: (7) Failed connect to localhost:7180; Connection refused
這是日誌立案Cloudera的服務器命令sudo ls -l /var/log/cloudera-scm-server
[[email protected]90 sysconfig]# $sudo cat /var/log/cloudera-scm-server/cloudera-scm-server.out
JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000787295000, 155291648, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 155291648 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/hs_err_pid2370.log
如何解決呢?
關於錯誤,你還沒有告訴我們EC2實例的可用內存資源是什麼 –
我不知道如何檢查它...我第一次設置它... – BlueDog
你必須選擇A [實例類型](https://aws.amazon.com/ec2/instance-types/)當您啓動EC2 ...對於它的價值,我不認爲你可以在任何運行Cloudera的經理少8GB內存 –