Member since
03-07-2018
12
Posts
0
Kudos Received
0
Solutions
12-06-2018
03:00 PM
I add -Djavax.net.debug=all /var/lib/ambari-server/ambari-env.sh in export AMBARI_JVM_ARGS= export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS'-Xms512m -Xmx2048m -XX:MaxPermSize=128m -Djavax.net.debug=all -Djava.security.auth.login.config=$ROOT/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false' Restart the ambari server,There is only some WARN in the ambari-server.log,nothing in ambari-server.out 06 Dec 2018 12:27:26,094 WARN [qtp-ambari-agent-363] nio:720 - javax.net.ssl.SSLHandshakeException: no cipher suites in common Access the https://192.168.1.81:8440/ca through a browser(192.168.1.81 is ambari server).I use wireshark to capture package,What information can we get from these outputs? ambari server supports TLSv1 protocol...
... View more
12-05-2018
03:18 PM
Thanks so much,After I comment "security.server.disabled.ciphers",ambari agent was successfully restarted. So,I want to know how to use "-Djavax.net.debug=all" to output more information.and why please.
... View more
12-05-2018
05:25 AM
@Jay Kumar SenSharma @scharan Why are the installations successful and restart agent successful after registration,but after everything is installed successfully restart agent will fail.
... View more
12-04-2018
02:03 PM
"enable -Djavax.net.debug=all" Is it modified this file /usr/sbin/ambari_server_main.py: jvm_args = os.getenv('AMBARI_JVM_ARGS', '-Djavax.net.debug=all -Xms512m -Xmx2048m -XX:MaxPermSize=128m') then restart ambari server,this is ambari-server.out Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 Did I make a mistake
... View more
12-04-2018
05:07 AM
I have successfully installed all the services,ambari-server and al of ambari-agent No error was reported. When i am trying to restart ambari-agent it is lost heartbeat. I checked Ambari-agent logs and found below INFO 2018-12-04 10:10:42,629 NetUtil.py:62 - Connecting to https://ds-11.lanqu.com:8440/ca
ERROR 2018-12-04 10:10:42,631 NetUtil.py:88 - EOF occurred in violation of protocol (_ssl.c:579)
ERROR 2018-12-04 10:10:42,631 NetUtil.py:89 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2018-12-04 10:10:42,631 NetUtil.py:116 - Server at https://ds-11.lanqu.com:8440 is not reachable, sleeping for 10 seconds... Here is my system environment: ENV:
OS: CentOS7.3
python: python2.7.5
amabri-server:2.4.1.0
HDP:2.5
java:1.8.0_144 All the solutions I found on the community didn't work 1.change /etc/python/cert-verification.cfg [https]
verify=disable 2./etc/ambari-agent/conf/ambari-agent.ini ssl_verify_cert=0
force_https_protocol=PROTOCOL_TLSv1_2 3./etc/ambari-server/conf/ambari.properties java.home=/usr/java/jdk1.8.0_144/ 4.grep -A 1 'jdk.tls.disabledAlgorithms' $JAVA_HOME/jre/lib/security/java.security # jdk.tls.disabledAlgorithms=MD5, SSLv3, DSA, RSA keySize < 2048
jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 768, \
EC keySize < 224 5.Execute this script and the following output #!/usr/bin/env python
import ssl;
for i in dir(ssl):
if i.startswith("PROTOCOL"):
print(i)
output:
PROTOCOL_SSLv23
PROTOCOL_SSLv3
PROTOCOL_TLSv1
PROTOCOL_TLSv1_1
PROTOCOL_TLSv1_2
I have a few questions I am used oracle jdk,But after the installation is complete,Some nodes have openjdk: rpm -qa|grep java java-1.8.0-openjdk-headless-1.8.0.191.b12-0.el7_5.x86_64
java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64
mysql-connector-java-5.1.25-3.el7.noarch
python-javapackages-3.4.1-11.el7.noarch
tzdata-java-2018f-2.el7.noarch
javassist-3.16.1-10.el7.noarch
javapackages-tools-3.4.1-11.el7.noarch
javamail-1.4.6-8.el7.noarch I removed openjdk but it's not worked. restert ambari-server and agent So, What the hell is going on here?
... View more
Labels:
03-21-2018
07:33 AM
@Geoffrey Shelton Okot can you help me,I checked all the configurations are right.
... View more
03-14-2018
09:33 AM
It should not be a temoporary problem.because It's been a long time. run "openssl s_client -connect master1.hadoop.ds.com:8441 | grep CONNECTED " The output is normal: CONNECTED(00000003) As you said in other questions,Check the "host_version" "host_version" "host" table state is "CURRENT".I really don't understand.
... View more
03-14-2018
07:20 AM
Firefox: when stuck at "Preparing to Deploy: 5 of 11 tasks completed":Click F12 networke like this:
... View more
03-14-2018
07:15 AM
I run yum clean all and yum repolist,yum is all right
... View more
03-14-2018
07:11 AM
1.ambari-server version is: 2.4.1.0-22 HDP version: HDP-2.5 2.I executed ambari-server stop and ambari-server start ;I found some error in /var/log/ambari-server/ambari-server.log: 14 Mar 2018 14:06:11,988 ERROR [qtp-ambari-agent-64] HeartBeatHandler:200 - CurrentResponseId unknown for worker7.hadoop.ds.com - send register command Other host in the cluster has this error. include worker6.hadoop.com worker5.hadoop.com worker4.hadoop.com 3.restarted the ambari-server,other host log:/var/log/ambari-server/ambari-agent.log: 25375 ERROR 2018-03-14 09:16:33,391 Controller.py:415 - Connection to master1.hadoop.ds.com was lost (details=Request to https://master1.hadoop.ds.com:8441/agent/v1/heartbeat/edge1.hadoop.ds.com failed due to Error occured during connecting to the server: )
25376 INFO 2018-03-14 09:17:10,309 NetUtil.py:62 - Connecting to https://master1.hadoop.ds.com:8440/connection_info
25377 WARNING 2018-03-14 09:17:10,310 NetUtil.py:93 - Failed to connect to https://master1.hadoop.ds.com:8440/connection_info due to [Errno 111] Connection refused
25378 INFO 2018-03-14 09:17:10,310 security.py:100 - SSL Connect being called.. connecting to the server
25379 ERROR 2018-03-14 09:17:10,310 Controller.py:415 - Unable to reconnect to https://master1.hadoop.ds.com:8441/agent/v1/heartbeat/edge1.hadoop.ds.com (attempts=1, de
tails=Request to https://master1.hadoop.ds.com:8441/agent/v1/heartbeat/edge1.hadoop.ds.com failed due to [Errno 111] Connection refused)
25380 INFO 2018-03-14 09:17:24,215 NetUtil.py:62 - Connecting to https://master1.hadoop.ds.com:8440/connection_info
25381 WARNING 2018-03-14 09:17:24,215 NetUtil.py:93 - Failed to connect to https://master1.hadoop.ds.com:8440/connection_info due to [Errno 111] Connection refused
25382 INFO 2018-03-14 09:17:24,216 security.py:100 - SSL Connect being called.. connecting to the server
25383 ERROR 2018-03-14 09:17:24,216 Controller.py:415 - Unable to reconnect to https://master1.hadoop.ds.com:8441/agent/v1/heartbeat/edge1.hadoop.ds.com (attempts=2, details=Request to https://master1.hadoop.ds.com:8441/agent/v1/heartbeat/edge1.hadoop.ds.com failed due to [Errno 111] Connection refused)
... View more
03-14-2018
05:37 AM
@Jay Kumar SenSharma Can you help me?This question has been bothering me for a long time.
... View more
03-07-2018
08:49 AM
I add services on ambari,everything works fine up to this point,after which it remains at "Preparing to Deploy: 5 of 11 tasks completed."forevery. and ambari-server.log no obvious errors. I'm sure hosts iptables selinux and the time has been synced.because other services have been installed successful. By the way,there were error in hosts and some nodes hostname,but it's all right now. So is such a problem a database?
... View more
Labels: