Member since
01-19-2017
3676
Posts
632
Kudos Received
372
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 541 | 06-04-2025 11:36 PM | |
| 1082 | 03-23-2025 05:23 AM | |
| 556 | 03-17-2025 10:18 AM | |
| 2097 | 03-05-2025 01:34 PM | |
| 1310 | 03-03-2025 01:09 PM |
11-07-2019
09:07 PM
@Manoj690 Be careful when switching user in Linux don't forget a [ ] space between the su and dash and username marked with x below # sux-xuser --------- --> su [dash] - [dash] user
... View more
11-07-2019
01:54 PM
@Harpreet_Singh Can you stop all through ambari and then start all. Post any errors here Good job
... View more
11-07-2019
12:07 PM
1 Kudo
@Harpreet_Singh That's a warning you should be able to continue but run the below on all the hosts in the cluster if it isn't a single node cluster Use sudo if you don't have root access but permitted in the sudoers # yum -y install chrony # systemctl enable chronyd # systemctl start chronyd That should works
... View more
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