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 | |
| 3570 | 04-13-2020 08:53 PM | |
| 5377 | 03-31-2020 02:10 AM |
07-28-2017
06:42 AM
2 Kudos
@mungeol heo By any change have you configured any "config group" and assigned these different hosts to it? Also the seconds logging config looks good. On the first hiveserver2 instance do you have the following path existing with proper permission? # ls -l /etc/hive/2.6.0.3-8/0/conf.server/hive-log4j.properties
-rw------- 1 hive hadoop 3091 May 15 13:33 /etc/hive/2.6.0.3-8/0/conf.server/hive-log4j.properties . Also do you have any Environment Global Variable set related to hive conf dir on these hosts? As in the first host the setting of log4j seems to be loading from insdie the jar , so suspecting that some explicitly set classpath setting might be done in some of the script/global environment level so that the JAR may be coming first in the CLASSPATH before the "conf" directory. .
... View more
07-28-2017
04:31 AM
1 Kudo
@Mohd Azhar You are getting the error showing the following message: TezUncheckedException: Invalid configuration of tez jars, tez.lib.uris is not defined So can you please check and share the "tez.lib.uris" property to the above file location under Ambari > Hive configs > (custom hive-site) is it pointing to correct tar file?
Example: tez.lib.uris = /hdp/apps/${hdp.version}/tez/tez.tar.gz - Also please check if the path for the "tez-site.xml" is added in the "webhcat-site.xml" in Hive configs as following or not: templeton.libjars=/usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar/,/etc/tez/conf/tez-site.xml .
... View more
07-27-2017
08:40 AM
@david garcia
Good to know that you are able to move ambari to other host. Please make this thread as "Accepted" sot hat it will can be easily found by other HCC users to get the resolution.
... View more
07-27-2017
07:15 AM
@jack jack
It will be great if you can mark this thread as "Accepted" if it answers your query.
... View more
07-27-2017
06:04 AM
@Ameya Sakhalkar Looks like the grant is still not set correctly. Can you please share the output of the following SQL: # mysql -u rangeradmin -p -h localhost
mysql> select user, host from user where user like 'ranger%' ; . Or connect to Mysql as root and then run. mysql> SHOW GRANTS FOR 'rangeradmin'@'localhost';
mysql> GRANT ALL ON *.* TO 'rangeradmin'@'localhost' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES; .
... View more
07-27-2017
04:14 AM
1 Kudo
@jack jack Is there any specific reason that you want to use "Phoenix" and not via RestAPI? You can refer to the following article to see if this is what you are looking out for: https://community.hortonworks.com/content/kbentry/71206/using-phoenix-sqlline-utility-to-browse-ambari-met.html Example: /usr/hdp/2.5.0.0-1245/phoenix/bin/sqlline.py c6403.ambari.apache.org:61181:/ams-hbase-unsecure .
... View more
07-26-2017
07:53 PM
@Mohammad Shamim On every datanode you will find the relevant logs in the mentioned path. You will need to look at the DataNode host which went down.
... View more
07-26-2017
07:33 PM
@Mohammad Shamim
Normally you will find the DataNode logs (GC log as well) inside the following directory /var/log/hadoop/hdfs/
But if you (or other admin) have customized the path then you can find the log directory path in the following command output on the DataNode: # ps -ef | grep DataNode . like the following parameters in the "ps" command output: like "-Dhadoop.log.dir=/var/log/hadoop/hdfs" and "-Xloggc:/var/log/hadoop/hdfs/gc.log-201707171201" .
... View more
07-26-2017
07:28 PM
1 Kudo
@Mahesh Jadhav Are you looking out for this: https://community.hortonworks.com/questions/4408/is-there-any-way-to-reset-ranger-admin-ui-password.html . Additionally if you have configured Ranger HA then you also might want to take a look at the following article: https://community.hortonworks.com/articles/69842/ranger-ha-fails-if-admin-password-is-changed-to-no.html . Doc: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_security/content/updating_ranger_admin_passwords.html
... View more
07-26-2017
07:01 PM
@Mohammad Shamim If there are many DataNodes then one of the DN will not cause much harm, as there is Replication Factor so the data will be having replicas on other DNs. However it will be good to investigate why the DN went down. So looking at the DN log, Garbage Collection log can help. Sometimes JVM crash also can cause DN to go down. Immediate admin task will be to attempt to bring the DataNode. Then admin can start looking at the DN log, Garbage Collection to see why the DN went down. (in case of DataNode jvm crash the "hs_err_pid" file is generated usually, that can be reviewed). . From Ambari 2.5 onwards there is a new feature called as "Service Auto Start" then you might want to look at: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/ch07s04.html Enabling auto-start for a service causes the ambari-agent to attempt re-starting service components in a stopped state without manual effort by a user. .
... View more