Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2722 | 04-27-2020 03:48 AM | |
| 5283 | 04-26-2020 06:18 PM | |
| 4448 | 04-26-2020 06:05 PM | |
| 3573 | 04-13-2020 08:53 PM | |
| 5377 | 03-31-2020 02:10 AM |
08-03-2017
02:36 AM
@Radha Krishna Srimanthula If your current issue is resolved then please mark this threads as "Accepted" (Answered) that way it will be useful for other users as well to quickly browse the solution.
... View more
08-02-2017
07:41 PM
@steve coyle As the error seems to be related to missing mysql driver class: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver - Can you please check if you have copied the "mysql-connector.jar" inside the following location? # cp -r /usr/lib/hive/lib/mysql-connector-java.jar /usr/share/java/ . Additionally please refer to: https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-reference/content/using_hive_with_mysql.html # yum install mysql-connector-java*
# ls -l /usr/share/java/mysql-connector-java.jar
# ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar .
... View more
08-02-2017
05:07 PM
1 Kudo
@Radha Krishna Srimanthula From your ambari server log we see that some time back you got postgresql related errors, Bit on the recent logs those errors are gone. Can you please check the following: 1. From the machine where you are trying to login to ambari UI are you able to access the ambari port 8080 as following? If not then check if the "iptables" (firewall) is disabled on ambari server to allow port 8080 access. # telnet $AMBARI_HOSTNAME $AMBARI_UI_PORT
# telnet ambari.example.com 8080
#### Try accessing ambari using API call to see if it works (to validate access)
# curl -iv -u admin:admin -H "X-Requested-By: ambari" -X GET http://$AMBARI_HOSTNAME:8080/api/v1/clusters . 2. Have you recently changed ambari password? Or is it using some LDAP credentials? 3. Please try to reset ambari admin password to password as "admin" for the username "admin" by running the following query in the Ambari Database:
# psql -U ambari ambari
Password for user ambari: bigdata
psql (9.2.18)
Type "help" for help.
ambari=> update ambari.users set user_password='538916f8943ec225d97a9a86a2c6ec0818c1cd400e09e03b660fdaaec4af29ddbb6f2b1033b81b00' where user_name='admin'; Then restart ambari server and then try to login as username : "admin" and password : "admin" .
... View more
08-02-2017
08:33 AM
@Saurab Dahal The missing class "org.apache.hadoop.security.UserGroupInformation" can be found insode the "hadoop-commons" so please try adding that jar inside your servlet classpath. (if its a web application then add it inside the "WEB-INF/lib" of your project. Example JAR: /usr/hdp/2.6.1.0-129/hadoop/hadoop-common.jar
/usr/hdp/2.6.1.0-129/hadoop/hadoop-common-2.7.3.2.6.1.0-129.jar .
... View more
08-01-2017
01:39 PM
@Hema Penumatsa Please check if you have the following file present ? /usr/lib/python2.6/site-packages/ambari_agent/AmbariConfig.py . Also if you have performed any ambari agent/server upgrade then chances are very high that these files might not be upgraded properly. If you still find any issue then try reinstalling ambari agent.
... View more
07-31-2017
09:10 AM
@Simon Heeg
Actually we will need to restart the ambari agents on all the hosts, so that during the restart of agents they will pull the scripts(or changes in the script) from ambari server. I have fixed the Step3) as following: Step-3). Now restart the Ambari-Server. Also we will need to restart the ambari-agents on each hosts so that
it (agents) can pull the script from the ambari server. In this case
when we restart ambari agents then the file "test_alert_disk_space.py" will be fetched by agents and will be stored inside the ambari-agent cache dir: "/var/lib/ambari-agent/cache/host_scripts" on agent hosts. .
... View more
07-29-2017
03:27 AM
@ANSARI FAHEEM AHMED There is a very good article available in HCC. Hope that will be useful here: https://community.hortonworks.com/articles/59645/ambari-24-kerberos-with-freeipa.html
... View more
07-28-2017
08:05 AM
1 Kudo
@David Bon-Salomon Different HCC moderators review the posted queries based on the track/stream, usualy it is not long but sometimes it might take from hours to day as well).
... View more
07-28-2017
07:05 AM
@mungeol heo
Yes, you can copy and paste the missing hive-log4j.properties file to the first host and then as a preference it will pick that file from "conf" directory. If that file is not found in the conf directory then the log4j properties file will be picked up from any JAR present in the classpath which has the log4j property.
... View more
07-28-2017
06:59 AM
@Rachel Rui Liu Why do you have an extra : colon in the step2 url ? (here: /api/v1/blueprint/:testblueprint ) Ideally the HTTP method should be "POST" and the post url should be something like following: # curl -H "X-Requested-By: ambari" -X POST -u admin:admin http://<ambari-hostname>:8080/api/v1/blueprints/<blueprint-name>; -d @cluster_configuration.json
Example:
# curl -H "X-Requested-By: ambari" -X POST -u admin:admin http://erie1.example.com:8080/api/v1/blueprints/testblueprint -d @/PATH/TO/cluster_configuration.json . More details: https://community.hortonworks.com/articles/47170/automate-hdp-installation-using-ambari-blueprints.html
... View more