The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Linux – Installation Forum

How to Upgrade HDP 2.0.6.0 to the latest version of HDP (2.0.9.0)

  • #47513
    Chia-Hao Chang
    Participant

    Hi,
    I have already deployed a 13 nodes HDP 2.0.6.0 Cluster via Ambari 1.4.2.104-1.
    Are there any guides that provide SOP for HDP users to upgrade their HDP cluster from 2.0.6.0 to 2.0.9.0 instead of upgrading from HDP 1.X to HDP 2.X ?

    Best Regards,
    James Chang

  • Author
    Replies
  • #47610
    #47619
    Chia-Hao Chang
    Participant

    Hi Kenny,
    Thanks for your kindly give me the hint. After reading the upgrade guide, I list my upgrade steps as following, could you or any expert in this forum can review my
    steps? Owing to this is my production cluster, I must do everything carefully

    Step 1.
    Stop the HDP 2.0.6.0 cluster by using Ambari
    or manually stop cluster as the following Hortonworks official guide will be better?
    http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.9.0/bk_reference/content/reference_chap3_2.html

    Step 2.
    Upgrade OS (CentOS 6.5 )

    Step 3.
    Upgrade HDP 2.0.6.0 to 2.0.9.0 by following Hortonworks’ official guide :
    http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.9.0/bk_releasenotes_hdp_2.0/content/ch_relnotes-hdp-2.0.9.0-whats-changed-stack.html

    Step 4.
    Start the HDP 2.0.9.0 cluster by using Ambari
    or manually start cluster as the following Hortonworks official guide will be better?
    http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.9.0/bk_reference/content/reference_chap3_1.html

    In above steps, it seems does not upgrade the ambari server and agent ? Am I right? If so, what’s the SOP for upgrading the Ambari server and agent?
    Should I upgrade ambari before upgrading HDP? (i.e. Before step 3?)

    Should I modify/update the repo files in each node’s /etc/yum.repos.d/ first? Where is the latest repo file for HDP 2.0.9.0?

    One more thing, If I want to upgrade the JDK to JDK7 instead of continue to use the currently using version of JDK(jdk1.6.0_31) which come with HDP 2.0.6.0
    how should I do?

    Best Regards,
    James Chang

    #47992
    Kenny Zhang
    Moderator

    Hi James,

    You don’t have to upgrade ambari, if you want you can follow this docuement and see if this applies to your situation: http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.9.0/bk_using_Ambari_book/content/ambari-chaplatambv.html.

    If you are using ambari, to upgrade the OS, please follow this: http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.9.0/bk_using_Ambari_book/content/ambari-chap8.html.

    This seems like a big project, I would suggest you do this to your dev / POC cluster first, before moving to production. If any further assistance is needed, I would suggest you refer to Hontorworks consulting for professional assistance.

    Thanks,
    Kenny

The forum ‘HDP on Linux – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.