Member since
08-30-2017
83
Posts
0
Kudos Received
0
Solutions
10-19-2017
11:24 AM
Hello, I'm trying to ensure ambari-server failover. After research on this topic, i found these steps which are implemented by some users to fix this issue as described here:
1) Deploy 2 ambari-server with it database in 2 machine, say primary and backup;
2) Sync data from primary database to backup database(using postgresql streaming sync) when have data updated.
3) Use heartbeat between the 2 ambari-server to discover server_lost
event, and make backup server to be primary; and the new backup server
stop communicate with ambari-agent
4) Each agent have 2 ambari-server’s address configurations(or negotiate
from zookeeper?), once primary server changed, agent should register to
new one.
5) Backup web UI can redirect page to primary one. GET method REST API can access both ambari-server. My questions are: 1- How to point an ambari-agent to 2 ambari-servers? Is it possible to mention multiple hostnames in /etc/ambari-agent/conf/ambari-agent.ini? How can i use Zookeeper to negotiate this? 2- What is the solution to use heartbeat between the 2 ambari-servers? Any suggestion? Finally, my purpose is to ensure ambari-server failover.So, i's open to any different method that can be useful to reach my goal.
... View more
Labels:
- Labels:
-
Apache Ambari
10-16-2017
01:01 PM
@Geoffrey Shelton Okot Thank you for you attention. I've solved the issue by deleting /hadoop/zookeeper/version-2/*. It was a problem related to disk space.
... View more
10-16-2017
11:00 AM
@Geoffrey Shelton Okot I attached the full log from /var/log/zookeeper/zookeeper.log in "error.png", which is resulted when i try to start my zookeeper server. I didn't make any change in zookeeper config through Ambari UI. The only action i did, is deleting one of my cluster hosts and then my zookeeper server failed to start correctly. PS: My cluster was composed of an ambari-server and 2 ambari-agents. I removed one node from ambari agents.
... View more
10-16-2017
09:39 AM
Hello, My Zookeeper server was running in good state and suddenly it failed to start. I got the error mentioned in "error.png" and the alerts mentioned in "alerts.png" through Ambari UI. My zoo.cfg is mentioned in "config.png". How can i fix this issue and start my zookeeper server again?
... View more
Labels:
- Labels:
-
Apache Ambari
10-13-2017
08:54 AM
@Gour Saha Thank you for your reply. My question may not be clear. I need to have only 50 entries in total and delete all the others applications. I've deleted them from hdfs://ambari-server:8020/app-logs/spark/logs and their histories form hdfs://ambari-server:8020/spark2-history but they still figure through YARN UI. So, how can i just display the applications logs that are not deleted from HDFS?
... View more
10-12-2017
09:28 AM
Hello, I have 179 entries through the YARN UI (ambari-server:8088) as shown in the "entries.png". I need to display only the recent 50 entries. How can i do it?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache YARN
10-10-2017
01:13 PM
@Jay SenSharma Thank you for your pertinent explanation. Now, i found a way to change the default username through the DB.
... View more
10-10-2017
10:51 AM
@Jay SenSharma Thank you for your reply. My question is how to change the username for Ambari UI which is by default "admin". I explained that i only found the service to change the default password for admin user and that I'm looking for similar service but this time is to change the default username.
... View more
10-10-2017
09:25 AM
Hello, I need to change the default username for Ambari UI which is "admin" through Ambari API. I found the service to change the default password for the default username (admin/admin) : curl -i -u $AMBARI_ADMIN_USERID:$AMBARI_ADMIN_PASSWORD -H "X-Requested-By: ambari" -X PUT -d '{"Users": { "user_name": "$USER_NAME", "password": "$USER_NEW_PWD", "old_password": "$USER_OLD_PWD"}}' http://$AMBARI_SERVER:8080/api/v1/users/$USER_NAME So,could anyone help me to find this service?
... View more
Labels:
- Labels:
-
Apache Ambari
10-06-2017
11:17 AM
Hello, I've got the alerts mentioned in "alerts.png" for all my cluster nodes. I need to
understand what does it mean and to which fields mentioned in "fields.png" does 21,1 GB correspond ? What it is the relation between 21.1 GB and the attached fields? When, i navigate to my hosts through ambari UI, i got Disk usage mentioned in "hosts.png". So, what does 19.62 GB mean ? And is there a relation between 19.62 GB and 21.1 GB? So, how can i fix this alert?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
- « Previous
- Next »