Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2714 | 04-27-2020 03:48 AM | |
| 5273 | 04-26-2020 06:18 PM | |
| 4443 | 04-26-2020 06:05 PM | |
| 3566 | 04-13-2020 08:53 PM | |
| 5375 | 03-31-2020 02:10 AM |
06-05-2017
02:33 AM
@Robin Dong
The following message shows that you already have the AMS binaries installed on the mentioned host. /usr/bin/yum -d 0 -e 0 -y install ambari-metrics-collector Error: Nothing to do
. "ambari-metrics-collector" RPM is part of ambari repo (not the HDP repo). So please check: # rpm -qa | grep ambari-metrics
# cat /etc/yum.repos.d/ambari.repo For the "metrics_collector_heapsize" and "hbase_master_heapsize" the tuning configurations are mentioned in the following link: https://cwiki.apache.org/confluence/display/AMBARI/Configurations+-+Tuning .
... View more
06-03-2017
10:56 AM
@Chandan Kumar
The easiest option for you will be to Delete the first line and then type it manually instead of copy pasting from some where, this will avoid the issue of invisible hidden characters.
... View more
06-03-2017
10:51 AM
@Chandan Kumar
Instead of pasting the XML here please attach the file itself so that we can find what is wrong. Based on the content you pasted in your earlier post.... i see it is invalid ... Please see: Error on-> Line :1 Column :10
Message :XML declaration allowed only at the start of the documen . You can open the file in "vi" editor to see if the First line has a leading space or hidden character.
... View more
06-03-2017
10:02 AM
You can also use some online XML validators to validate your XML and to know what is wrong.
... View more
06-03-2017
09:59 AM
@Chandan Kumar You should not leave any space before the "<?xml version="1.0" .......?>" line in your XML. Means you should not have " <?xml version="1.0" .......?>" (this is incorrect because it has leading space)
Means there should be no leading space in that first line. Please remove that space which is present at the beginning of the mentioned line. Example of incorrect first line: <?xml version="1.0" encoding="UTF-8" standalone="no"?> .
Example of correct first line as following:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> .
... View more
06-03-2017
04:29 AM
@Lian Jiang
Password less ssh is not mandatory for agent installation. You can also install the ambari agent without setting up the password less ssh. https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-reference/content/ch_amb_ref_installing_ambari_agents_manually.html . If you want to setup password less ssh for local host then it is also possible too. # ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase): (I kept it EMPTY)
Enter same passphrase again: (I kept it EMPTY)
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
# ssh-copy-id -i ~/.ssh/id_rsa.pub localhost
# ssh root@localhost .
... View more
06-02-2017
05:25 PM
@Satish Sarapuri
At the Docker Level:
Did you try the following: $PASS='YOUR_NEW_PASSSWORD'
echo -e "$PASS\n$PASS" | sudo docker exec -i <container-id-or-name> passwd
Or may be docker command option "RUN echo newtestpassword | passwd root" in a Dockerfile At the OS level:
In single user mode you should be able to do so. Can you please try this: https://www.liberiangeek.net/2014/09/reset-forgotten-root-password-centos-7-servers/
... View more
06-02-2017
05:10 PM
@Satish Sarapuri Login to the docker instance as root with default password as "hadoop" ssh root@127.0.0.1 -p 2222
. The you can use "passwd" command to reset the password. # passwd
... View more
06-02-2017
01:07 PM
@Joshua Adeleke
For now the warnigns can be ignored. (As they will be addressed in Amabri 2.5.2), OR run the SQL queries mentioned in the JIRA to fix the WARNING messages. https://issues.apache.org/jira/browse/AMBARI-20875 . For the errors try the following approach to see if this fixes the issue:
1. Start the ambari server in "--skip-database-check" mode as following: ambari-server start --skip-database-check
2. Now login to ambari UI and then make some dummy changes to the properties. For example: Ambari UI --> "Atlas" --> "Configs" --> "Advanced" --> "Custom application-properties"
Click on "Add Property ..." link and then add some dummy properly like aaa=bbb
3. Restart ambari server without "--skip-database-check" option and then this time check the error log. You should not see then "application-properties" Value in the error if that is fixed. Same thing you can try with other config types. ERROR - Required config(s): atlas-solrconfig,atlas-logsearch-conf,atlas-env,atlas-log4j is(are) not available for service ATLAS with service config version 2 in cluster XXXX .
... View more