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 | |
| 5478 | 04-26-2020 06:18 PM | |
| 4659 | 04-26-2020 06:05 PM | |
| 3700 | 04-13-2020 08:53 PM | |
| 5604 | 03-31-2020 02:10 AM |
01-30-2020
04:26 AM
@AarifAkhter Please check the below doc if you ahve specified the Maria DB type correctly as mentioned in the following doc: https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/administering-ambari/content/amb_using_ambari_with_mysql_or_mariadb.html # ambari-server setup --jdbc-db=mysql --jdbc-driver=/path/to/mysql/mysql-connector-java.jar
... View more
01-30-2020
04:23 AM
@AarifAkhter Looks like you have not done the Database setup correctly thats the reason it is failing to determine the MariaDB settings com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'MariaDB' Please share the exact ambari server version and the output of the following commands: # grep 'jdbc' /etc/ambari-server/conf/ambari.properties
# ambari-server --version . Have you setup the maria Db correctly? Is MariaDB supported version listed for your Ambari version in Support matrix? https://supportmatrix.hortonworks.com/
... View more
01-30-2020
04:12 AM
@AarifAkhter As you can see that ambari is saying that you may find more detailed cause of failure inside the logs : REASON: Ambari Server java process died with exitcode 1.
Check /var/log/ambari-server/ambari-server.out for more information. Can you please share the output of "/var/log/ambari-server/ambari-server.log" and "/var/log/ambari-server/ambari-server.out" file it will show some errors. Also please let us know if you are running ambari server as root user or non root user?
... View more
01-30-2020
03:45 AM
@dewi What do you mean by "I've tried setup hiveserver manually " ? Can you please share the details how you did this? Or have you used to setup Hive? Also can you please share the logs of HiveServer2 for it's Manual command line startup? Did you notice any error in the hiveserver2 log when you attempted to start it via command line ? If yes then can you please share the hive conf and full log ? (you can mask the passwords/hostname) . Also have you made any special config changes like hive.server2.support.dynamic.service.discovery? Have you disabled the "hive.server2.support.dynamic.service.discovery" setting in your "Advanced hive-site" ? It will be good to see the HS2 log and Hive Configs.
... View more
01-30-2020
03:34 AM
@dewi The problem does not look seem to be related to the Znode. Once the Hive Server2 is started successfully then you should see the znode. The issue seems to be the use of "localhost". As we see the following output in your output. Connection failed on host localhost:10000
.
.
beeline -n hive -u 'jdbc:hive2://localhost:10000/;transportMode=binary' Ideally those connection strings should be showing the FQDN (Fully Qualified Hostname) instead of showing "localhost". So please check if the Hive Server config is hardcoded with "localhost" address anywhere or if there is anything wrong with the hostname "/etc/hosts" ...etc # grep 'localhost' /etc/hive/conf/*.xml . Manual Startup Testing Also please verify if you are able to start the HiveServer2 using command line. As mentioned in # su - hive
# nohup /usr/hdp/current/hive-server2/bin/hiveserver2 -hiveconf hive.metastore.uris=/tmp/hiveserver2HD.out 2 /tmp/hiveserver2HD.log . Then check the port 10000 is listening to 0.0.0.0 OR localhost? # netstat -tnlpa | grep `cat /var/run/hive/hive-server.pid` . .
... View more
01-28-2020
12:11 PM
1 Kudo
@mike_bronson7 There are couple of other options we can explore like: Using HDFS command line is one of the best way to get the detailed version. # hdfs version Using HDP Select command on the host where you want to check the version. # hdp-select | grep hdfs-client Using Ambari API also we can get some idea about the hdfs client version shipped and installed as part of the HDP. # curl -s -u admin:admin -H "X-Requested-By: ambari" -X GET http://${AMBARI_SERVER_FQDN}:8080/api/v1/clusters/${CLUSTER_NAME}/hosts/${HOST_TO_CHECK}/host_components/HDFS_CLIENT | grep -i version . .
... View more
01-28-2020
12:56 AM
@asmarz Please refer to the following doc in order to know how you can enable SPNEGO authentication. Once you have enabled Kerberos for your cluster after that you can also enable the SPNEGO authentication. The following doc explains how to configure HTTP authentication for Hadoop components in a Kerberos environment. By default, access to the HTTP-based services and UIs for the cluster are not configured to require authentication. 1. https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.5/authentication-with-kerberos/content/authe_spnego_enabling_spnego_authentication_for_hadoop.html 2. https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/managing-and-monitoring-ambari/content/amb_start_kerberos_wizard_from_ambari_web.html
... View more
01-08-2020
12:51 PM
@vsrikanth9 From your Output we see that your Operating System is CentOS7 /etc/redhat-release ==> CentOS 7
CentOS Linux release 7.6.1810 (Core) But your repo files seems to be installing package "cloudera-manager-agent-5.16.2-1.cm5162.p0.7.el6.x86_64" NOTICE: We see "el6" in the package name. It is supposed to be "el7" i guess as your Operating System is CentOS7) Looks like you are using a Custom Local Repo for the yum packages from "http://cm.bigdata.com/cloudera-cdh5/" . Please check if it has repo for CentOS6 or CentOS7 binaries. If you are using Cloudera Manager 5.16.2 on CentOS7 then please check if you have copied the correct repo. (CentOS7 repo instead of CentOS6 repo) https://docs.cloudera.com/documentation/enterprise/release-notes/topics/cm_vd.html#cmvd_topic_1 . .
... View more
01-07-2020
04:36 PM
1 Kudo
@philpo While Doing SSH can you try changing the port from 4200 to 2222 Example: # ssh root@127.0.0.1 -p 2222
(OR)
# ssh root@localhost -p 2222 OR try opening the WebTerminal on port 4200 in your Web Browser (4200 is not SSH port it is web terminal port used by service "shellinaboxd" ) http://127.0.0.1:4200
... View more
01-07-2020
01:34 PM
@singm125 Which version of Ambari are you using ? I see that there is a JIRA opened and addressed in Ambari 2.7.4 for addressing the "null" user appearing in "ambari-audit.log" . [JIRA] Ambari audit log shows "null" user when executing an API call : https://issues.apache.org/jira/browse/AMBARI-25234
... View more