- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ambari rebuild
- Labels:
-
Apache Ambari
Created on
‎11-20-2019
06:24 AM
- last edited on
‎11-20-2019
05:34 PM
by
ask_bill_brooks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
My Ambari server is offline (ambari.properties file is empty/virgin - don't ask 😞 ) but my cluster is functional, that is, HDFS is fine and so on. My Question is this, can I rebuild my Ambari server and "import" the running HDP cluster or do I have to start from scratch?
Thanks,
john
Created ‎11-21-2019 07:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. How was the "/etc/ambari-server/conf/ambari.properties" file got deleted?
2. Do you have a backup of this file "amabri.properties" to use?
3. Ambari stores all the cluster informations inside it's Database. So if your Database is not dropped (lost), you can try using a dummy "ambari.properties" of same version from any of your other working cluster by just changing the JDBC settings to point to your correct ambari DB host/port and with DB credentials.
The DB settings for ambari can be found from following command (in any of working ambari cluster) and then you can try to place those properties with correct Database values in your problematic ambari
# grep 'jdbc' /etc/ambari-server/conf/ambari.properties
.
Created ‎11-21-2019 07:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. How was the "/etc/ambari-server/conf/ambari.properties" file got deleted?
2. Do you have a backup of this file "amabri.properties" to use?
3. Ambari stores all the cluster informations inside it's Database. So if your Database is not dropped (lost), you can try using a dummy "ambari.properties" of same version from any of your other working cluster by just changing the JDBC settings to point to your correct ambari DB host/port and with DB credentials.
The DB settings for ambari can be found from following command (in any of working ambari cluster) and then you can try to place those properties with correct Database values in your problematic ambari
# grep 'jdbc' /etc/ambari-server/conf/ambari.properties
.
Created ‎11-29-2019 05:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thankfully the database was intact so this worked
