Support Questions

Find answers, ask questions, and share your expertise

how to upgrade hortonworks hive version 0.12 to Hive 0.14

avatar
Expert Contributor

throw ambari or if u know any curl command please send me ,i want know how to upgrade hive version in hortonworks and also it is make any issues in future

1 ACCEPTED SOLUTION

avatar

Hi @sivasaravanakumar k, versions of Hive used in HDP:

HDP version: Hive version

2.0: 0.12.0

2.1: 0.13.0

2.2: 0.14.0

2.3: 1.2.1

The recommendation would be simply upgrade your whole stack to HDP-2.3. You'll be much happier with the performance and manageability of the newer version, for both Hive and the rest of the stack.

If your original install wasn't with Ambari, then you can't use Ambari to do the upgrade. (Installing Ambari after a manual HDP install is extremely complex, see https://community.hortonworks.com/questions/6703/ambari-server-installation-after-cluster-setup.html). To manually upgrade from HDP-2.0 to HDP-2.3, follow the documents at http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_upgrading_hdp_manually/content/ch_upgrade...

If the original install with via Ambari, then you're in great shape, but you should do the upgrade in two steps. The reason for this two-step process is that the newest Ambari-2.2 gives the best user experience of the upgrade, but it only goes back to HDP-2.1, not HDP-2.0. So steps 1(a and b) uses your current Ambari to get you to HDP-2.1 first, which is a fairly simple step.

1(a) Your current Ambari is probably version 1.5.1 or better. If so, leave it. If not, upgrade Ambari, to version 1.6.1. See http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_upgrading_Ambari/content/index.html

(b) Then use Ambari to upgrade from HDP-2.0 to HDP-2.1, instructions also at http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_upgrading_Ambari/content/index.html, or see the version of instructions for your current version of Ambari.

2. Finally, upgrade Ambari to the latest version Ambari-2.2, and use it to upgrade the stack to HDP-2.3. See http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_upgrading_Ambari/content/_ambari_upgrade_...

Hope this helps. If so, please mark it accepted. Regards.

View solution in original post

4 REPLIES 4

avatar

siva - Hive 0.12 was HDP 2.0 so take a look at - http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-...

Word of Caution: It is not recommended to upgrade only one service from the stack while keeping others at the older version. Hive definitely has dependency on other components like Zookeeper, Core Hadoop etc.. so you should consider upgrading the whole stack.

avatar

Which HDP version are you on currently and what is your target HDP version?

avatar
Expert Contributor

i just want know how to upgrade and downgrade

avatar

Hi @sivasaravanakumar k, versions of Hive used in HDP:

HDP version: Hive version

2.0: 0.12.0

2.1: 0.13.0

2.2: 0.14.0

2.3: 1.2.1

The recommendation would be simply upgrade your whole stack to HDP-2.3. You'll be much happier with the performance and manageability of the newer version, for both Hive and the rest of the stack.

If your original install wasn't with Ambari, then you can't use Ambari to do the upgrade. (Installing Ambari after a manual HDP install is extremely complex, see https://community.hortonworks.com/questions/6703/ambari-server-installation-after-cluster-setup.html). To manually upgrade from HDP-2.0 to HDP-2.3, follow the documents at http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_upgrading_hdp_manually/content/ch_upgrade...

If the original install with via Ambari, then you're in great shape, but you should do the upgrade in two steps. The reason for this two-step process is that the newest Ambari-2.2 gives the best user experience of the upgrade, but it only goes back to HDP-2.1, not HDP-2.0. So steps 1(a and b) uses your current Ambari to get you to HDP-2.1 first, which is a fairly simple step.

1(a) Your current Ambari is probably version 1.5.1 or better. If so, leave it. If not, upgrade Ambari, to version 1.6.1. See http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_upgrading_Ambari/content/index.html

(b) Then use Ambari to upgrade from HDP-2.0 to HDP-2.1, instructions also at http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_upgrading_Ambari/content/index.html, or see the version of instructions for your current version of Ambari.

2. Finally, upgrade Ambari to the latest version Ambari-2.2, and use it to upgrade the stack to HDP-2.3. See http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_upgrading_Ambari/content/_ambari_upgrade_...

Hope this helps. If so, please mark it accepted. Regards.