<?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: Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4047#M681</link>
    <description>&lt;P&gt;I did not have to do this since I did a direct copy of data to a new cluster. &amp;nbsp;A couple notes though:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) You should only need the latest fsimage file. &amp;nbsp;If an older one is causing issues, you could delete it as long as you still have another. &amp;nbsp;Don't delete the edits files though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) You should make a copy of your fsimage and edits files, in fact the entire dfs.name.dir directory. &amp;nbsp;This is recommended in general for falling back, but would allow you to do some playing safely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still may not be able to help much, but what was the full stacktrace, and some of the surrounding log lines for the failure?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2013 17:02:18 GMT</pubDate>
    <dc:creator>Bryan</dc:creator>
    <dc:date>2013-12-17T17:02:18Z</dc:date>
    <item>
      <title>Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/3915#M676</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to find instrictiions to upgrade to CDH4 from CDH3U6 bypassing cloudera manager completely. For that I need to create local yum rep on RedHat. Instructions at &lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Installation-Guide/cmig_create_local_repo.html"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Installation-Guide/cmig_create_local_repo.html&lt;/A&gt; requires to install CDH4 and use parcels. I would like not to install it. Rather, I am looking for a Clouder CDH4 repo file which I would like to inside my firewall and then install all the RPMs from this repo. But I am unable to find the repo file. Do I need to download TAR file instead and see if that comes with REPO file inside of it. Has someone gone through this exercise before. I was hoping this should be straigthforward but loooks like it isn't. Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Upen&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:51:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/3915#M676</guid>
      <dc:creator>upendern296480372</dc:creator>
      <dc:date>2022-09-16T08:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/3917#M677</link>
      <description>&lt;P&gt;The repos are at&amp;nbsp;&lt;A target="_blank" href="http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/."&gt;http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/.&lt;/A&gt; &amp;nbsp;You can see the various CDH4 minor versions listed there, and clicking in you will find the repodata, etc. &amp;nbsp;You shouldn't have a problem reposync'ing that to a local yum server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've done this migration myself, but in a much different way. &amp;nbsp;We didn't reposync, and we basically spun up a brand new cluster with the new software then synchronized the data over using a modified distcp. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you seen this documentation?&amp;nbsp;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.2.0/CDH4-Installation-Guide/cdh4ig_topic_6.html"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.2.0/CDH4-Installation-Guide/cdh4ig_topic_6.html&lt;/A&gt; &amp;nbsp;Unless I'm mistaken, this should step you through an upgrade without CDM (and without parcels).&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 19:55:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/3917#M677</guid>
      <dc:creator>Bryan</dc:creator>
      <dc:date>2013-12-11T19:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/3921#M678</link>
      <description>&lt;P&gt;Thanks Bryan for the prompt reply. That should work for me I guess. I like the idea of creating a brand new cluster and then use distcp. But unfortunately, we don't have a new cluster which we can leverage. So I will have to do with other option. Did you have any major challenges during upgrade ? Did your map reduce code compile well under cdh4 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Upen&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 20:04:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/3921#M678</guid>
      <dc:creator>upendern296480372</dc:creator>
      <dc:date>2013-12-11T20:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/3923#M679</link>
      <description>&lt;P&gt;The migration went pretty smooth for us. &amp;nbsp;However, keep in mind that the CDH4 clients can't talk to CDH3 servers, and vice versa, except through hftp. &amp;nbsp;So you're going to need to coordinate the upgrade of library code and upgrade of the cluster. &amp;nbsp;For us this involved quite a bit of work, since we can't afford to take much downtime for any part of our product. &amp;nbsp;I hope for your sake this is not the case for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a ton of custom infrastructure around build, deploy, etc so it's hard to give generic advice around that. &amp;nbsp;If you have any specific questions I can try to answer as they come up though.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 20:20:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/3923#M679</guid>
      <dc:creator>Bryan</dc:creator>
      <dc:date>2013-12-11T20:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4043#M680</link>
      <description>&lt;P&gt;I am at a point where I am upgrading namenode using "sudo hadoop-hdfs-namenode upgrade". But it is compalining because it is conflicting with old Fsimage (CDH3). If I delete the old fsimage, I lose all my data. How can I safely upgrade. Please help. This is one step where I can't afford to be adeventurous &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 16:31:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4043#M680</guid>
      <dc:creator>upendern296480372</dc:creator>
      <dc:date>2013-12-17T16:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4047#M681</link>
      <description>&lt;P&gt;I did not have to do this since I did a direct copy of data to a new cluster. &amp;nbsp;A couple notes though:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) You should only need the latest fsimage file. &amp;nbsp;If an older one is causing issues, you could delete it as long as you still have another. &amp;nbsp;Don't delete the edits files though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) You should make a copy of your fsimage and edits files, in fact the entire dfs.name.dir directory. &amp;nbsp;This is recommended in general for falling back, but would allow you to do some playing safely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still may not be able to help much, but what was the full stacktrace, and some of the surrounding log lines for the failure?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 17:02:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4047#M681</guid>
      <dc:creator>Bryan</dc:creator>
      <dc:date>2013-12-17T17:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4049#M682</link>
      <description>&lt;P&gt;Hi Bryan,&lt;/P&gt;&lt;P&gt;Error says: InconsistentFSSTateException: /srv/namenode is in in inconsistent state. previous fs state should not exist during upgrade. Finalize or rollback first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, my question is if I would be able to reconcile my fsimage later when I take back up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Upen&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 17:53:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4049#M682</guid>
      <dc:creator>upendern296480372</dc:creator>
      <dc:date>2013-12-17T17:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4051#M683</link>
      <description>Ok, so the way I understand it is that when you do an upgrade it puts the previous fs state into a 'previous' subdirectory of each dfs.name.dir. This way the upgrade can be rolled back if something goes wrong (by basically doing a rename(prevDir, curDir)). When the upgrade is proven successful you can finalize the upgrade--which removes the prevDir--or rollback, which does the rename I mentioned.&lt;BR /&gt;&lt;BR /&gt;For this reason, starting a new upgrade checks to make sure the prevDir does not exist, for you would otherwise lose the ability to rollback a previously unfinished upgrade.&lt;BR /&gt;&lt;BR /&gt;Based on all of that and your exception, it seems as though an upgrade was or is already in progress and was not finalized. Have you run this upgrade command a few times? If so, do you have the output from the first run ever?&lt;BR /&gt;&lt;BR /&gt;All state is kept within these directories, so you should be able to take a manual backup like I mentioned and then try some things out. For instance you might want to try finalizing or rollback the previous upgrade and go from there.&lt;BR /&gt;&lt;BR /&gt;It would be nice if someone else chimed in because while I have somewhat of an understanding of how this works it is all based on my own reading of docs and the code, and not any real-world experience (like I said, I've never had to do an fs upgrade because we always migrate to a new cluster).&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Tue, 17 Dec 2013 18:14:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4051#M683</guid>
      <dc:creator>Bryan</dc:creator>
      <dc:date>2013-12-17T18:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to CDH4 from Cdh3U6 w/o Cloudera manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4055#M684</link>
      <description>&lt;P&gt;Thanks Bryan. I was able to bring up CDH4. Trick was, as you said, to remove "previous" subdir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Upen&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 21:05:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-CDH4-from-Cdh3U6-w-o-Cloudera-manager/m-p/4055#M684</guid>
      <dc:creator>upendern296480372</dc:creator>
      <dc:date>2013-12-17T21:05:31Z</dc:date>
    </item>
  </channel>
</rss>

