Member since
04-18-2019
21
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1594 | 10-10-2019 09:41 AM |
05-27-2020
08:57 AM
Hi There, I am also facing the same issue. could you please help me how you resolved the issue, if you did it in your system. Thanks
... View more
01-08-2020
12:59 PM
Auch... Good catch. wget https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/cloudera-cdh5.repo wget https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo wget https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/RPM-GPG-KEY-cloudera Thanks for correcting. I should have updated 6 to 7 in the above link while I was doing all downloads... no harm, it's a new installation, I can clean up and redo. Thanks for your help.
... View more
10-13-2019
05:17 AM
Hi Shelton, Not sure it is a prerequisite or not, I will have to create another user Cloudera and put that in .acl file then Kerberos installed in CDH. Strange thing it was on hold at the last step to restart the server for a couple of hours and then I closed it and trying to install again but it said Kerberos already installed... maybe CM trying to restart. I think I have Kerberos in CDH now. I will let you know if any issues. Thanks for your quick help Shelton.
... View more
10-10-2019
11:58 AM
Thanks for your help Shelton. I have one other question... trying to enable Kerberos in other server but it is saying not reachable. Using similar configuration... server name different. What would be be the issue? btw. it is on HDP 3.1(Ambari 2.7) on CentOS 7 server. What could be the reason to not able to reach the KDC?
... View more
09-27-2019
03:39 PM
@vsrikanth9 Looks like you are using MySQL as Non Default Database for your AmbariServer. So i am sure that you might have already performed the steps mentioned in the doc: https://docs.cloudera.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-administration/content/using_ambari_with_mysql.html It will be good to verify few things: ### Checks from MySQL host side: ### 1. On the MySQL Database host please verify if the MySQL Database is running fine and the port "3306" is listening? # netstat -tnlpa | grep 3306 NOTE: please take a look at your MySQL DB configs "/etc/my.cnf" to be double sure that it is configured to listen to 3306 port (default port) or configured to listen to some all interfaces and if it is using any other port? You can find the ports your mysql is listening to by passing the MySQL DB PID to the following command: # netstat -tnlpa | grep $MYSQL_PID 2. On the MySQL Database host please verify if the "firewall" /"iptables" is disabled so that from the Hive Metastore host the Postgres Post can be accessed. # systemctl status firewalld
(OR)
# service iptables status If iptables/firewalld is enabled then please make sure to allow MySQL DB port access from remote hosts (OR) disable it. ### Checks from AmbariServer host side: ### 3. From AmbariServer host please get the configured DB details (to verify if you are using correct MySQL host & port inside ambari.properties) ? # grep 'jdbc' /etc/ambari-server/conf/ambari.properties 4. Once the host & port of DB is verified to be correctly configured as above then please try to connect to MySQL host & port using telnet / netcat utilities. This will help us in isolating any Network / Port / Hostname issues. To verify whether the MySQL DB host & port to verify if at the network level the port is accessible ? # telnet $MYSQL_DB_HOSTNAME 3306
(OR)
# nv -v $MySQL_DB_HOSTNAME 3306 5. From Ambari Server host please verify if you are using correct "mysql-connector-java.jar" driver JAR of correct version? (based on your MySQL version). 6. Please try to use the same connector JAR to establish the connection to MySQL DB from ambari server host using the following DB Connection checker utility to see if the db connection can be established. # /usr/jdk64/jdk1.8.0_112/bin/java -cp /usr/lib/ambari-server/resources/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar org.apache.ambari.server.DBConnectionVerification "jdbc:mysql://XXXXXXXXXXX/ambari" "ambari" "bigdata" com.mysql.jdbc.Driver Please change the MySQL DB URL / username and password based on your "ambari.properties" DB connection settings. If Still we see Failure: If everything is fine still you are getting the error establishing connection to MySQL from AmbariServer. then please share the output of the above command along with the following details: 1. /var/log/ambari-server/ambari-server.log ----> We would like to see Full error from starting including the StackTrace. 2. Please try to restart MySQL Database once and notice if you see any error in MySQL DB logs? Please also share the DB log and "/etc/my.cnf" . . If above update helps in finding the answer to your issue then, Please make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
... View more
06-13-2019
03:02 AM
@Srikanth Vakalapudi Did that answer your query? If yes, then please mark this thread as answered by clicking on the "Accept" button .. If you have any additional query then please post back.
... View more
05-24-2019
01:53 PM
Thanks for your response Jay. I tried above link and installed but i still have same issue.
... View more