Member since
01-19-2017
3681
Posts
633
Kudos Received
372
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1622 | 06-04-2025 11:36 PM | |
| 2078 | 03-23-2025 05:23 AM | |
| 987 | 03-17-2025 10:18 AM | |
| 3758 | 03-05-2025 01:34 PM | |
| 2588 | 03-03-2025 01:09 PM |
11-07-2019
11:33 AM
1 Kudo
@Harpreet_Singh That script should have been delivered if you run the MySQL install can you confirm? Install MySQL for Ambari set auto for Mysql server # yum install -y mysql-server # chkconfig mysqld --level 345 on # yum install -y mysql-connector-java Then continue with the setup Setup Ambari # ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar I am still online
... View more
11-07-2019
09:51 AM
@iamabug I think I have seen the problem, can you share your Ambari UI screenshot of your configured listeners? Or where have you declared these parameters SASL_PLAINTEXT://192.168.1.1:9092,EXTERNAL://88.88.88.88:19092 listener.security.protocol.map=SASL_PLAINTEXT:SASL_PLAINTEXT,EXTERNAL:SASL_PLAINTEXT security.inter.broker.protocol=SASL_PLAINTEXT Only one broker? I am sorry I can only help in the evenings I have a full time job that consumes my time 🙂
... View more
11-07-2019
08:37 AM
1 Kudo
@Manoj690 This looks a hdfs permission, you are executing the command as the root user while the inode permission are hive:hadoop.See below Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=root, access=EXECUTE, inode="/warehouse/tablespace/managed/hive":hive:hadoop:drwx------ at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:399) Can you do the following while logged on the CLI as root # su - hive $ hive The execute your create table statement that should succeed if not share the log
... View more
11-07-2019
07:18 AM
@svasi For the logs I can see that the UDP port 88 used by the KDC is already in use by some application. Nov 07 12:40:19 master-1 krb5kdc[31877](info): listening on fd 10: udp ::.88 (pktinfo) Nov 07 12:40:19 master-1 krb5kdc[31877](info): listening on fd 10: udp ::.88 (pktinfo) krb5kdc: setsockopt(11,IPV6_V6ONLY,1) worked krb5kdc: setsockopt(11,IPV6_V6ONLY,1) worked krb5kdc: Address already in use - Cannot bind server socket on ::.88 krb5kdc: Address already in use - Cannot bind server socket on ::.88 Nov 07 12:40:19 master-1 krb5kdc[31877](info): set up 2 sockets Nov 07 12:40:19 master-1 krb5kdc[31877](info): set up 2 sockets The default ports used by Kerberos are port 88 for the KDC1 and port 749 for the admin server. You can, however, choose to run on other ports, as long as they are specified in each host's /etc/services and krb5.conf files, and the kdc.conf file on each KDC Solution one Check for the PID of port 88 # netstat -tupln kill PID # kill -9 <PID> Retry your kerberiszation Solution 2 Change the port to something like 8888 in /etc/services and krb5.conf files, and the kdc.conf Restart the kdc and kadmin and retry the kerberization
... View more
11-07-2019
04:57 AM
@svasi Sorry also these 2 logs the files attached look okay, /var/log/krb5/krb5kdc.log /var/log/krb5/kadmind.log Did you create the re-create the principal? Share the output of # kadmin.local listprincs
... View more
11-07-2019
04:02 AM
@svasi Can you share the files mentioned in my previous post? Redact site specific sensitive information and I will have a look at it.
... View more
11-06-2019
10:38 PM
1 Kudo
@Harpreet_Singh Yes they look fine as they a direct reference to the Hortonworks documentation. Derby databases ain't great for anything apart for development. But its a good pratice to have ONLY one type of database for easy management. And the earlier you start to practice that the better. If your issue is resolved then close the thread by accepting the best answer Happy hadooping
... View more
11-06-2019
10:30 PM
@neha_t_jain Great I have seen a similar question of a member asking HDP compatibility with Java 12 it's unfortunate the open sourceness of Java is gone and some companies will have to pay to use it. HDP being a packaged software need rigorous unitary tests for all the components which as you know are many so the certification of a new version of Java will take a while which in one way is good because it gives software testers time to uncover memory leaks etc. Having said that if my response answered you then take some time to mark it as a solution so other members can easily resolve similar queries and avoid creating new threads
... View more
11-06-2019
12:42 PM
@svasi I saw a couple of potential issues and I would like you to make a few changes. Recreate an admin for Kerberos Using the below syntax # kadmin.local -q "addprinc admin/admin" ----------start of output--------- Authenticating as principal root/admin@EDHDEV.COM with a password. WARNING: no policy specified for admin/admin@EDHDEV.COM; defaulting to no policy Enter the password for principal "admin/admin@EDHDEV.COM": welcome1 Re-enter password for principal "admin/admin@EDHDEV.COM": welcome1 Principal "admin/admin@EDHDEV.COM" created. ----------end of output--------- Validate the principal works # kadmin -p admin/admin@EDHDEV.COM It will ask for the password once successfully authenticated then type q to quit Can you leave the default encryption types? and you should select Manage krb5.conf through Cloudera Manager Don't change the kadm5.acl file it's okay the way it is !! I saw something missing in your krb5.conf between [realms] and [logging] the domain_realm add that to all the hosts if it's a multinode [realms] EDHDEV.COM = { kdc = master-1.dev.edl.gcp.domain.it admin_server = master-1.dev.edl.gcp.domain.it } [domain_realm] .edhdev.com = EDHDEV.COM edhdev.com = EDHDEV.COM [logging] kdc = FILE:/var/log/krb5/krb5kdc.log admin_server = FILE:/var/log/krb5/kadmind.log default = SYSLOG:NOTICE:DAEMON Go to the CM and launch the kerberization using this below the principal admin/admin@EDHDEV.COM Please make the above changes restart the kdc and retry kerberization it should go smoothly Happy hadooping
... View more