<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Cloudera Manager Database Wiped in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48416#M43937</link>
    <description>&lt;P&gt;You should be fine. &amp;nbsp;By design, Cloudera Manager does not remove any data from CDH. &amp;nbsp;To rebuild, you would basically add the services that you had before and choose the same locations for data that you had previously. &amp;nbsp;As mentioned, you could certainly use the 6-month-old database, too... CM will upgrade it the first time it starts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either way, your HDFS will not have been touched by the process of reinstalling Cloudera Manager and readding the services.&lt;/P&gt;&lt;P&gt;You will need to regenerate credentials after configuring Kerberos as the keytabs are stored in Cloudera Manager's database. &amp;nbsp;That will also not impact data, but it is another task you will need to perform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2016 16:22:39 GMT</pubDate>
    <dc:creator>bgooley</dc:creator>
    <dc:date>2016-12-09T16:22:39Z</dc:date>
    <item>
      <title>Cloudera Manager Database Wiped</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48392#M43929</link>
      <description>&lt;P&gt;I updated my Cloudera Manager Node from Ubuntu 12 to Ubuntu 14. during this upgrade I had to remove and re-install cloudera manager. This seems like it wiped my database. Is there any way that I can get it back?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 18:07:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48392#M43929</guid>
      <dc:creator>cpuengr</dc:creator>
      <dc:date>2016-12-08T18:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager Database Wiped</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48396#M43930</link>
      <description>&lt;P&gt;Jamie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you remove Cloudera Manager? &amp;nbsp;(What commands, etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you determine your database wiped?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 18:44:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48396#M43930</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2016-12-08T18:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager Database Wiped</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48397#M43931</link>
      <description>&lt;P&gt;After upgrading the node I did these commands...&lt;/P&gt;&lt;P&gt;sudo apt-get remove cloudera-manager-agent cloudera-manager-daemons&lt;/P&gt;&lt;P&gt;Then re-installed the server, database and agent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera Manager now opens with aclean slate. No data whatsoever...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 18:53:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48397#M43931</guid>
      <dc:creator>cpuengr</dc:creator>
      <dc:date>2016-12-08T18:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager Database Wiped</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48398#M43932</link>
      <description>&lt;P&gt;The first thing you need to do is recall&amp;nbsp;what database you were using.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you add Cloudera Manager back? &amp;nbsp;You may have accidentally installed the Embedded database (cloudera-manager-server-db-2). &amp;nbsp;I would run "rpm -qa |grep cloudera" to see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera Manager reads the database connection information from /etc/cloudera-scm-server/db.properties. &amp;nbsp;So, if you know your database connection information, you should be able to find it there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please run&amp;nbsp;&lt;EM&gt;ls -lrt /etc/cloudera-scm-server&amp;nbsp;&lt;/EM&gt;and provide the listing here so we can see if there were any saved db.properties files that may be there. &amp;nbsp; If so, one may contain your old settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you find them or edit the db.properties, restart Cloudera Manager after verifying the db.properties file is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 19:04:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48398#M43932</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2016-12-08T19:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager Database Wiped</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48399#M43933</link>
      <description>&lt;P&gt;I installed both the sever and the server-db and started them. The server-db ran the init script and created a new db at this time. I have a backup of the db the way it was 6 months ago, but I did an CDH upgrade after that point.&lt;/P&gt;&lt;P&gt;This is our dev cluster, which was initially installed with the embedded db and it is again using that, but an empty one. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 19:10:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48399#M43933</guid>
      <dc:creator>cpuengr</dc:creator>
      <dc:date>2016-12-08T19:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager Database Wiped</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48400#M43934</link>
      <description>&lt;P&gt;Uninstalling/reinstalling the embedded database should not remove or overwrite any data as far as I know.&lt;/P&gt;&lt;P&gt;You are saying that /var/lib/cloudera-scm-server-db has all new files dated from the day you reinstalled?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd check to see what is in /etc/cloudera-scm-server as I mentioned. &amp;nbsp;I'm wondering if you may have been using a different db/directory somehow...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, there really isn't much else to do but rebuild your Cloudera Manager configuration from scratch or try using the backup you have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The backup will likely work OK. &amp;nbsp;When Cloudera Manager starts (using that old db) it will upgrade it as necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 19:23:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48400#M43934</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2016-12-08T19:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager Database Wiped</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48401#M43935</link>
      <description>&lt;P&gt;Hi Ben,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the files in /var/lib/cloudera-scm-server-db/ are all new&lt;/P&gt;&lt;P&gt;ls -al /var/lib/cloudera-scm-server-db/data&lt;BR /&gt;total 116&lt;BR /&gt;drwx------ 15 cloudera-scm cloudera-scm 4096 Dec 7 11:26 .&lt;BR /&gt;drwxr-xr-x 3 cloudera-scm cloudera-scm 4096 Dec 7 10:47 ..&lt;BR /&gt;drwx------ 10 cloudera-scm cloudera-scm 4096 Dec 7 10:53 base&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 264 Dec 7 10:53 generated_password.txt&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 7 11:27 global&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 7 10:53 pg_clog&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 4581 Dec 7 10:53 pg_hba.conf&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 1636 Dec 7 10:53 pg_ident.conf&lt;BR /&gt;drwx------ 4 cloudera-scm cloudera-scm 4096 Dec 7 10:53 pg_multixact&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 7 11:26 pg_notify&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 7 10:53 pg_serial&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 7 10:53 pg_snapshots&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 7 11:26 pg_stat&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 8 11:39 pg_stat_tmp&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 7 10:53 pg_subtrans&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 7 10:53 pg_tblspc&lt;BR /&gt;drwx------ 2 cloudera-scm cloudera-scm 4096 Dec 7 10:53 pg_twophase&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 4 Dec 7 10:53 PG_VERSION&lt;BR /&gt;drwx------ 3 cloudera-scm cloudera-scm 4096 Dec 8 04:57 pg_xlog&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 20430 Dec 7 10:53 postgresql.conf&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 120 Dec 7 11:26 postmaster.opts&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 112 Dec 7 11:26 postmaster.pid&lt;BR /&gt;-rw-rw-r-- 1 cloudera-scm cloudera-scm 24 Dec 7 10:53 scm.db.list&lt;BR /&gt;-rw-rw-r-- 1 cloudera-scm cloudera-scm 4 Dec 7 10:53 scm.db.list.20161207-105311&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are files inside /etc/cloudera-scm-sever&amp;nbsp;&lt;/P&gt;&lt;P&gt;ls -al /etc/cloudera-scm-server/&lt;BR /&gt;total 80&lt;BR /&gt;drwxr-xr-x 2 cloudera-scm cloudera-scm 4096 Dec 7 11:07 .&lt;BR /&gt;drwxr-xr-x 171 root root 12288 Dec 7 10:48 ..&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 6654 Dec 7 10:53 db.mgmt.properties&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 1533 Nov 25 2013 db.mgmt.properties.20131125-101825&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 2796 Nov 25 2013 db.mgmt.properties.20131125-102301&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 4059 Nov 25 2013 db.mgmt.properties.20131125-115209&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 5322 Dec 9 2014 db.mgmt.properties.20141209-145350&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 5609 Dec 7 10:53 db.mgmt.properties.20161207-105311&lt;BR /&gt;-rw------- 1 cloudera-scm cloudera-scm 289 Dec 7 10:53 db.properties&lt;BR /&gt;-rw-r--r-- 1 cloudera-scm cloudera-scm 507 Nov 25 2013 db.properties.20131125-094853&lt;BR /&gt;-rw-r--r-- 1 cloudera-scm cloudera-scm 289 Nov 25 2013 db.properties.20131125-101825&lt;BR /&gt;-rw-r--r-- 1 cloudera-scm cloudera-scm 289 Nov 25 2013 db.properties.20131125-102301&lt;BR /&gt;-rw-r--r-- 1 cloudera-scm cloudera-scm 289 Nov 25 2013 db.properties.20131125-115209&lt;BR /&gt;-rw-r--r-- 1 cloudera-scm cloudera-scm 515 Dec 7 08:39 db.properties-old&lt;BR /&gt;-rw-r--r-- 1 cloudera-scm cloudera-scm 1521 Sep 16 14:56 log4j.properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These files all contain different passwords in them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 19:43:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48401#M43935</guid>
      <dc:creator>cpuengr</dc:creator>
      <dc:date>2016-12-08T19:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager Database Wiped</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48414#M43936</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;Do you think I could rebuild the database without losing data that is on the nodes? This is a kerberized cluster and I am afraid I will lose data if I keep messing with the db?&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 15:55:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48414#M43936</guid>
      <dc:creator>cpuengr</dc:creator>
      <dc:date>2016-12-09T15:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager Database Wiped</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48416#M43937</link>
      <description>&lt;P&gt;You should be fine. &amp;nbsp;By design, Cloudera Manager does not remove any data from CDH. &amp;nbsp;To rebuild, you would basically add the services that you had before and choose the same locations for data that you had previously. &amp;nbsp;As mentioned, you could certainly use the 6-month-old database, too... CM will upgrade it the first time it starts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either way, your HDFS will not have been touched by the process of reinstalling Cloudera Manager and readding the services.&lt;/P&gt;&lt;P&gt;You will need to regenerate credentials after configuring Kerberos as the keytabs are stored in Cloudera Manager's database. &amp;nbsp;That will also not impact data, but it is another task you will need to perform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 16:22:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-Manager-Database-Wiped/m-p/48416#M43937</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2016-12-09T16:22:39Z</dc:date>
    </item>
  </channel>
</rss>

