Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2714 | 04-27-2020 03:48 AM | |
| 5273 | 04-26-2020 06:18 PM | |
| 4443 | 04-26-2020 06:05 PM | |
| 3566 | 04-13-2020 08:53 PM | |
| 5374 | 03-31-2020 02:10 AM |
05-30-2017
04:18 PM
@Ramon Wartala Sometimes such issue happens when you do not configure proper FQDN for the hosts so the principals are not correctly generated. Can you please confirm if you have the correct FQDN configured for all the hosts including this Zookeeper node? # Following command should show the FQDN configured
hostname -f . If the FQDN is not correctly set earlier then you should try setting the FQDN correctly and then regenerate the keytabs again.
... View more
05-29-2017
08:34 AM
3 Kudos
@ed day You are getting Access Denied while accessing mysql. So looks like you have node set the PRIVILEGES properly inside the mysql DB. Please see: https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-reference/content/using_hive_with_mysql.html # mysql -u root -p
CREATE USER '<HIVEUSER>'@'localhost' IDENTIFIED BY '<HIVEPASSWORD>';
GRANT ALL PRIVILEGES ON *.* TO '<HIVEUSER>'@'localhost';
CREATE USER '<HIVEUSER>'@'%' IDENTIFIED BY '<HIVEPASSWORD>';
GRANT ALL PRIVILEGES ON *.* TO '<HIVEUSER>'@'%';
CREATE USER '<HIVEUSER>'@'<HIVEMETASTOREFQDN>' IDENTIFIED BY '<HIVEPASSWORD>';
GRANT ALL PRIVILEGES ON *.* TO '<HIVEUSER>'@'<HIVEMETASTOREFQDN>';
FLUSH PRIVILEGES;
.
... View more
05-29-2017
04:58 AM
@Rajesh Reddy
While loading ambari UI ambari APIs also tries to read the whole cluster information's which also includes Alerts definition, That actually makes many DB calls. Looks like your VM has some resource issues which is causing ambari to be very slow. (Thats why Ambari API calls are showing "ambari_server_performance" alert saying "Host resource exaustion") https://github.com/apache/ambari/blob/release-2.5.0/ambari-server/src/main/resources/alerts.json#L43-L45 Can you try killing some of the processes manually like Oozie and Zeppelin and then restart ambari server to see if it loads fine. .
... View more
05-29-2017
04:27 AM
@Rajesh Reddy
We will need to see the Java Script call that is getting stuck. We can do so by using the "Developer Tools". For example open URL in Google Chrome and then click on the "Google Chrome Menu" --> "More Tools" --> Debugger Tools Can you please share the output of the Debugger tools Specially from the "Network" tab which tells the call that is keep trying to get the response. . Also try running the following Curl Command : # curl -u admin:admin -i -H 'X-Requested-By: ambari' -X POST -d '{"wizard-data":"{\"userName\":\"admin\",\"controllerName\":\"\"}"}'http://ambari.example.com:8080/api/v1/persist
. You will need to replace the credentials and the ambari server hostname in the above command.
... View more
05-29-2017
03:29 AM
@Paul Bere
Ambari uses It's own custom Form Authentication. But your screen shows a Browser (Basic Auth Window). Also the XDB (Which i guess oracle tomcat instance uses) suggests that you might be running Oracle On your Local machine ... it also uses port 8080. The password prompt is coming from there. Please stop any oracle instance on your local machine and then try accessing ambari again.
... View more
05-29-2017
02:48 AM
@Paul Bere The easiest option will be to reset the ambari admin password using the utility that is provided as part of sandbox. (After doing SSH on port 2222 on Sandbox you can run the following command and reset ambari admin password.) Example: # ssh root@127.0.0.1 -p 2222
# ambari-admin-password-reset . (maria_dev/maria_dev) credentials should work though. So if that is not working then please check the following: 1. Ambari Server log to findout if there are any Errors? (Because many times due to browser cache the Login Page is displayed but the Ambari itself is not running to authenticate) # ambari-server status
# netstat -tnlpa | grep 8080 2. Check if the embedded Postgres DB is running or not? Grep Postgres Port 5432 to see if it is running? # netstat -tnlpa | grep 5432
# psql -U ambari ambari
Password for user ambari: bigdata Check if you are able to login to psql using password "bigdata" ? . .
... View more
05-28-2017
07:20 AM
@Jonathan Turner
If this helped you in getting the solution then please mark this thread as "Answered" (By clicking on the "Accept" link) This helps many HCC users to quickly find out the correct answer.
... View more
05-27-2017
11:36 AM
@Manoj Dixit In addition to my previous comment. Password less SSH is ONLY Needed, When you want Ambari Server to automatically install Ambari Agents on all your cluster hosts, you must set up password-less SSH connections between the Ambari Server host and all other hosts in the cluster. Other wise if you plan to install Ambari Agents on your own then you do not need to even setup the password less ssh. You can choose to manually install the Agents on each cluster host. In this case, you do not need to generate and distribute SSH keys. . Please see: Setting up Password less ssh: https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/set_up_password-less_ssh.html Installing Ambari Agents Manually: https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-reference/content/ch_amb_ref_installing_ambari_agents_manually.html .
... View more
05-27-2017
11:18 AM
@Manoj Dixit
I edited my above command .... as by mistake i mentioned Master Node instead of Ambari Node. Only Ambari Node is enough to be able to do passwordless ssh to all the cluster nodes. So you need to run the above mentioned commands only from Ambari Server Node.
... View more
05-27-2017
11:15 AM
@Manoj Dixit Yes, On the "Ambari Server" node you can run the following command to create the SSH keys: # ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase): (I kept it EMPTY)
Enter same passphrase again: (I kept it EMPTY)
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
........ . Then you can run the following command to pass the authorization key entry to the cluster nodes. # ssh-copy-id -i ~/.ssh/id_rsa.pub localhost
# ssh-copy-id -i ~/.ssh/id_rsa.pub node1.exmaple.com
# ssh-copy-id -i ~/.ssh/id_rsa.pub node2.exmaple.com
# ssh-copy-id -i ~/.ssh/id_rsa.pub node2.exmaple.com
# ssh-copy-id -i ~/.ssh/id_rsa.pub node3.exmaple.com
# ssh-copy-id -i ~/.ssh/id_rsa.pub node4.exmaple.com . This thing you need to do only from "Ambari Server" node
... View more