Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2823 | 04-27-2020 03:48 AM | |
| 5475 | 04-26-2020 06:18 PM | |
| 4651 | 04-26-2020 06:05 PM | |
| 3700 | 04-13-2020 08:53 PM | |
| 5602 | 03-31-2020 02:10 AM |
01-08-2019
02:20 PM
@Kunal Kumar As we see the message as following in your "ambari-server.log" Host: hdpnode1.hortonworks.com Can not be determined . Which means your ambari server hosts "/etc/hosts" file does not have mapping for the "hdpnode1.hortonworks.com" Also as we see that you are using Sandbox which is suitable for a Single Node cluster only (as it runs inside a docker container hence all the ports of it are not exposed externally) Hence please make sure that from ambari agent host you can access ambari server host and port 8440 / 8080 Also the "/etc/hosts" file on ambari server host contains the IP and host mapping for "hdpnode1.hortonworks.com"
... View more
01-08-2019
02:20 PM
@Kunal Kumar The problem seems to be the incorrect "SSH Private Key". Based on screenshot "screenshot-from-2018-12-28-18-23-15.png" looks like you are pasting the "Public" key content there instead of "Private Key" of the host "hdpnode1.hortonworks.com" For example the following will be the Private Key: "~/.ssh/id_rsa" adn the content of private key file looks something like following which BEGIN and END marks: Example: -----BEGIN RSA PRIVATE KEY-----
ANCDEFGHIJKLMNOPoCUhgGazht5XrPbvkcD
.......
QRSTUVWXYZasdoeruoijlcsd,fns,cjsdklfjo=
-----END RSA PRIVATE KEY----- Usually Public key file name is "~/.ssh/id_rsa.pub" Also the Ambari API call is showing 404 because you will need to replace the "$name" with your clustername. You can get your ambari cluster name using the following API call. http://192.168.1.190:8080/api/v1/clusters .
... View more
01-08-2019
02:20 PM
@Kunal Kumar Ownership of the "~/.ssh" directory and the keys files should be something like following: # ls -l ~/.ssh/
total 20
-rw-------. 1 root root 818 Sep 12 08:03 authorized_keys
-rw-------. 1 root root 1679 May 22 2018 id_rsa
-rw-------. 1 root root 406 May 22 2018 id_rsa.pub
-rw-r--r--. 1 root root 1174 Sep 12 08:36 known_hosts
[root@newhwx1 ~]#
[root@newhwx1 ~]#
[root@newhwx1 ~]# ls -ld ~/.ssh/
drwx------. 2 root root 91 Sep 12 08:42 /root/.ssh/ . Please check if you are able to do passwordless SSH to the mentioned host properly or not without suppliying the password (except for the first time) You can also use the "ssh-copy-id" command to make sure that your correct public key is setup # ssh-copy-id -i ~/.ssh/id_rsa.pub root@hdpnode1.hortonworks.com . Then try using the passwordless SSH to see if it works? # ssh root@hdpnode1.hortonworks.com
. Regarding your query: how to replace " $name" with my clustername. The API calls the cluster name in your case is "Sandbox" so the correct Hosts call will be as following to list the hosts added to the cluster (Sandbox) http://192.168.1.190:8080/api/v1/clusters/Sandbox/hosts . Also pelase verify if you have the FQDN setup correctly for your Ambari Server host as well as for the host which you are adding recently to the cluster: # hostname -f
# cat /etc/hosts . If you still face any issue while doing host registration then please share the "Operation log" (the Complete error which you see in the ambari UI for failure)
... View more
01-08-2019
02:20 PM
@Kunal Kumar If you want to setup a multi node cluster then please refer to the following Hortonworks Youtube Video Hadoop Series- Part1 Multinode Hadoop Cluster Installation using Ambari : https://www.youtube.com/watch?v=wHaVBoLwzwU . Regarding the failure which you posted in your last comment is happening due to: File "/var/lib/ambari-agent/tmp/os_check_type1546513757.py", line 40, in main
raise Exception("Local OS is not compatible with cluster primary OS family.
Please perform manual bootstrap on this host.")
Exception: Local OS is not compatible with cluster primary OS family. Please perform manual bootstrap on this host. . Looks like you are trying to register a new host which has slightly different OS version/type. In that case we will suggest you to try using Manual Host installation & registration instead of doing it via Ambari UI. You can find the instructions to Manually Register Ambari Agenrt here: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-administration/content/install_the_ambari_agents_manually.html .
... View more
01-07-2019
10:35 PM
@James Srinivasan As per supportmatrix when you click on HDP 3.1 in the following link then you will find only the following versions of Postgres supported (tested & certified) with HDP 3.1 (Means components used by HDP 3.1) Postgres:
10.2
And
9.6
. Similarly in Support matrix if you select only Ambari 2.7 (like 2.7.1/ 2.7.3) then you will find the postgres version as : Postgres:
10.2
And
9.6 . Hence while planning for an Upgrade (Ambari + HDP) you should also plan for upgrading the Postgres DB to the tested and certified version of Postgres. . Yes you are correct upgrading Postgres is not handled by ambari. Hence you will need to make sure that you take a backup (DB dumps) of your current postgres 9.2 DB and then perform the Postgres DB upgrade separately.
... View more
01-06-2019
09:20 AM
@Divya Thaore Looks like you are running Oracle 10g database on your localhost. Oracle 10g DB also uses port 8080 as default port. Please stop Oracle Database and then you should be able to access Ambari port 8080 if needed please restart your Sandbox after stopping Oracle Database on your laptop.
... View more
01-06-2019
08:05 AM
@Divya Thaore Please share the screenshot where you see the popup. Also is there any specific reason that you are using Ambari 2.2.0 ( as we see this tag in your HCC post) that is too old version of ambari and you should rather use latest ambari. . Check your Browser to verify if it has a JRE installed to it and if it is it bit old needs update? Please refer to the following link to know which JRE is installed to your browser and if it is up to date?
... View more
01-05-2019
12:58 AM
@Leonardo Araujo The Sandbox is a docker container runs inside the VM. So if you want to login to login to the VM where the Docker container is started then you will need to use the SSH Port 2122 But if you want to actually login to the Sandbox Docker container where the HDP components/services are present then you will need to do SSH on port 2222 . You will find the Sandbox Port mapping info here: https://hortonworks.com/tutorial/hortonworks-sandbox-guide/section/3/ Sandbox Architecture: https://hortonworks.com/tutorial/sandbox-architecture/
... View more
01-04-2019
03:08 AM
1 Kudo
@Leonardo
Araujo
Which Sandbox Are you using? (HDP / HDF). What is the version of your Sandbox ? If you want to use 3.x series of Sandbox with kafka the i think preferred will be the following sandbox: For HDF Sandbox 3.1 provided components please refer to: https://hortonworks.com/tutorial/hortonworks-sandbox-guide/section/2/#services-started-automatically . For HDP Sandbox 3 Provided Service List you can refer to: https://hortonworks.com/tutorial/hortonworks-sandbox-guide/section/1/#hdp-services-started-automatically-on-startup . Kafka Service in not started automatically. Can you please share the screenshot where you do not see "Kafka" service in Ambari UI ? Do you see Kafka Directory inside the following folder when you SSH to the Sandbox using SSH port 2222 or using web client: http://localhost:4200 # ls -l /etc/kafka/conf In ambari UI when you click on the "Add Service" button then in the next page do you see "Kafka" service is checked?
... View more
01-03-2019
08:06 AM
@Harish More Can you please check if you have set the "ranger.usersync.unix.backend=nss" property inside the "ranger-ugsync-site.xml" file after setting up the SSSD? Please refer to the following article to get more details about this property followed by a usersync restart. https://community.hortonworks.com/content/supportkb/222504/unable-to-sync-ranger-user-from-local-unix-nss.html
... View more