Member since
07-30-2019
453
Posts
112
Kudos Received
80
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2398 | 04-12-2023 08:58 PM | |
| 4973 | 04-04-2023 11:48 PM | |
| 1592 | 04-02-2023 10:24 PM | |
| 3487 | 07-05-2019 08:38 AM | |
| 3400 | 05-13-2019 06:21 AM |
11-27-2018
06:30 AM
Hi @Shraddha Singh, Can you do a tail -f on /var/log/ambari-agent/ambari-agent.log [root@asnaik-script-amariadb1 ~]# tail -f /var/log/ambari-agent/ambari-agent.log
INFO 2018-11-27 06:30:05,217 logger.py:75 - Testing the JVM's JCE policy to see it if supports an unlimited key length.
INFO 2018-11-27 06:30:05,490 Hardware.py:176 - Some mount points were ignored: /, /dev, /dev/shm, /run, /sys/fs/cgroup, /run/user/0
INFO 2018-11-27 06:30:05,494 Controller.py:320 - Sending Heartbeat (id = 1279793)
INFO 2018-11-27 06:30:05,499 Controller.py:333 - Heartbeat response received (id = 1279794)
INFO 2018-11-27 06:30:05,499 Controller.py:342 - Heartbeat interval is 1 seconds
INFO 2018-11-27 06:30:05,499 Controller.py:380 - Updating configurations from heartbeat
INFO 2018-11-27 06:30:05,499 Controller.py:389 - Adding cancel/execution commands
INFO 2018-11-27 06:30:05,500 Controller.py:406 - Adding recovery commands
INFO 2018-11-27 06:30:05,500 Controller.py:475 - Waiting 0.9 for next heartbeat
INFO 2018-11-27 06:30:06,401 Controller.py:482 - Wait for next heartbeat over
and see if you can find these in ambari-agent log if ambari-agent is able to send heartbeat to ambari-server then we should see tail -f /var/log/ambari-server/ambari-server.log and see what exception or error you are finding when you press rety.
... View more
11-27-2018
06:26 AM
2 Kudos
Hi @Eric Yuan , i see error : Causedby: java.io.IOException:Unexpected HTTP response: code=504!=201, op=CREATE, message=GatewayTimeout please check if you have enabled any Http Proxy / Network proxy at your end? I am suspecting that the WebHDFS requests originated by the Hive View is actually passing through some Http Proxy configured on your cluster. You may need to either make the request bypass the proxy server or make the proxy work. So please check the following: 1. Check the "environment" setting to find out if there is any Http Proxy added? (look for 'proxy') # /var/lib/ambari-agent/ambari-sudo.sh su hdfs -l -s /bin/bash -c 'env' 2. See if you are able to make the WebHDFS call via terminal from ambari server host? And to see the output of the request is being passed via proxy? # curl -ivL -X GET "http://$ACTIVE_NAME_NODE:50070/webhdfs/v1/user/admin?op=GETHOMEDIRECTORY&user.name=admin" 3. You can also refer to the following doc to know how to enable Http Proxy settings inside Ambari Server (and you can also configure ambari JVM property to exclude your cluster nodes requests to NOT be passed via proxy) See: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/ch_setting_up_an_internet_proxy_server_for_ambari.html -Dhttp.nonProxyHosts=<pipe|separated|list|of|hosts> 4. Or you can also configure "no_proxy" at the "~/.bash_profile" OR "/etc/profile" level globally to make suere that your internal cluster requests are not passed vias Proxy. no_proxy=".example.com"export no_proxy . Please see if this helps you and please accept answer if it did.
... View more
11-27-2018
06:13 AM
Hi @Shraddha Singh, From the screenshot its not evident what error you are facing. Can you go click on the hostname and see what error its showing. also Have you followed the pre-requisites to prepare all the nodes? is passwordless ssh is set :https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-installation-ppc/content/set_up_password-less_ssh.html and your newly added node is able to contact the ambari-server without password ? Also make sure that the following command returns the correct output: (On all hosts) hostname -f also you can try installing ambari-agents manually if required : https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-administration/content/install_the_ambari_agents_manually.html and follow the below steps to make sure it will get connected to correct ambari-server and retry this confirm hosts : Steps * Configure the Ambari Agent by editing the ambari-agent.ini file as shown in the following example: vi /etc/ambari-agent/conf/ambari-agent.ini
[server]
hostname=<your.ambari.server.hostname>
url_port=8440
secured_url_port=8441
Start the agent on every host in your cluster. ambari-agent start
The agent registers with the Server on start. Please accept this answer if this solves your query and you found it helpful
... View more
11-21-2018
10:10 AM
Hi @Sampath Kumar , From the output of chage -l hdfs i see your password of hdfs local user is expired. can you try to change To resolve this issue, disable the expired password for the HDFS user, using the following command: chage -m 0 -M 99999 -I -1 -E -1 hdfs This command sets the following for the HDFS user:
Minimum Password Age to 0 Maximum Password Age to 99999 Password Inactive to -1 Account Expiration Date to -1 You can further explore the command chage in google and set the password policy accordingly. and then try again with ambari. Please see if this helps you. please accept answer if it did.
... View more
11-14-2018
05:01 AM
1 Kudo
Hi @Hieu Nguyen Trung , the exception you have shared seems to be from Apache bug : https://issues.apache.org/jira/browse/AMBARI-18285 Which is your base version from which you are upgrading ? Can you revisit the ambari.properties file in /etc/ambari-server/conf/ambari.properties also compare your ambari.properties with ambari.properties.rpmsave in /etc/ambari-server/conf/ this is my output when i grep for jdbc : [root@asn1 conf]# cat ambari.properties |grep -i jdbc
custom.mysql.jdbc.name=mysql-connector-java.jar
server.jdbc.connection-pool=internal
server.jdbc.database=postgres
server.jdbc.database_name=ambari
server.jdbc.postgres.schema=ambari
server.jdbc.user.name=ambari
server.jdbc.user.passwd=/etc/ambari-server/conf/password.dat Please accept this answer if this helped you.
... View more
11-13-2018
06:10 AM
Hi @Kei Miyauchi, This looks like a javascript bug to me. i have gone ahead and created a apache jira on the same : https://issues.apache.org/jira/browse/AMBARI-24885 the fix for this issue is in javascript and you can find it in the jira. Incase you want to implement the fix in your cluster. Steps 1) go to /usr/lib/ambari-server/web/javascripts 2)take backup of app.js cp app.js app_backup.js_backup 3) edit app.js , go to line 95478 ,edit the line if (App.router.currentState.name !== 'viewDetails') { to if (App.router.currentState.name !== 'viewDetails' && App.router.currentState.name !== 'shortViewDetails') { 4) and do a diff [root@anaikhdp1 javascripts]# diff app.js app_fix.js
95478c95478
< if (App.router.currentState.name !== 'viewDetails') {
---
> if (App.router.currentState.name !== 'viewDetails' && App.router.currentState.name !== 'shortViewDetails') { 5) reload the webpage. incase you find any difficulty please copy back the backedup app.js and reload the page to revert back the changes. Please accept this anser if you find this helpfull which will help other users to get the fix.
... View more
11-12-2018
04:10 AM
Hi @Kei Miyauchi , whats the 'User's access'(privilage) you have given to the user. if you are able to see the files view button on the URL probably you will be able to open the files view. It will be good if you can attach an screenshot of permissions given for user and corresponding group.
... View more
10-25-2018
04:03 AM
Hi @kanna k , I guess you are doing wrong here as per https://supportmatrix.hortonworks.com/ Ambari-2.7 version only supports HDP-3.0 and HDF-3.2 that's the reason you are facing the issue here. Refer to : https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-installation/content/determine_product_interop.html as ambari is not fully compatable with HDP version is failing.
... View more
10-19-2018
05:37 AM
1 Kudo
Hi @Amin Meziani , IT seems you are installing in Ubuntu and facing the issue mentioned in here : https://community.hortonworks.com/content/supportkb/48912/how-to-install-the-hortonworks-gpg-key-on-ubuntu.html Can you please See if the solution works and revert. Please accept this answer if this solution worked for you.
... View more
10-18-2018
10:56 AM
2 Kudos
Hi @Cibi Chakaravarthi, Go to Ambari UI>Atlas >Configs (Filter for property atlas.ssl.exclude.cipher.suites) Set as below and restart the service atlas.ssl.exclude.cipher.suites=.*NULL.*, .*RC4.*, .*MD5.*, .*DES.*, .*DSS.* I guess a '.' is missing before *NULL* is your problem. Please login and accept the answer if this helps you
... View more