---
title: "upgrades of hadoop and hbase"
author: "leibnitz"
date: "2014-10-28T11:39:14Z"
tags: []
categories: ["编程语言"]
slug: "upgrades-of-hadoop-and-hbase"
draft: false
lastmod: "2014-10-28T12:28:38Z"
id: 2148724
url: "https://leibnitz.iteye.com/blog/2148724"
---

**1.the match relationships between hadoop and hbase nowaday**

**![](http://dl2.iteye.com/upload/attachment/0102/5257/4d077683-fa7e-3d58-a147-2d224b7a6e0d.png)**  
 

  that means if you are now using hadoop1.0.x and hbase-0.94.x,and assume u want to upgrade to hadoop-2.5.x and hbase-1.0.x,the steps should be followed:

 

**2.upgrade**

 **2.1 upgrade paths**

  as described above,there are two lines to achive the upgrades:

**source**  **target** **pirority by** **paths** results in number of steps safe upgrade hadoop 1.0.x+hbase 94.x hadoop-2.5.x+ hbase-1.x hbase

a.hbase-0.94.x -&gt; hbase-96.x

b.hadoop 1.0.x -&gt; 2.5.x

c.hbase 96.x -&gt; 1.x

--hadoop 1.0.x + hbase 96.x

--hadoop 2.5.x + hbase 96.x

--hadoop 2.5.x + hbase 1.0.x

3

yes

    hadoop

a.hadoop 1.0.x -&gt; 2.5.x

b.hbase 94.x -&gt; 1.x

--hadoop 2.5.x + hbase 94.x

--hadoop 2.5.x + hbsae 1.x

2

no

             

 

  some notices:

  1)same upgrade means that all the steps listed in lines column are named S(supported and tested)

  2)hbase upgrade  will cause certain intermediate sub-upgrades,e.g. for the Path 2,upgrades hbase from 94.x to 1.x will lead u to upgrade to 96.x first if you use rolling upgrade(i dont know whether pass if not use rolling upgrade,but i think it should be),see below 'hbase upgrade'

  

 **2.2 hbase upgrade**

  different startpoint or different target will results in different steps,see \[1]

 **2.3 hadoop upgrade**

  differs from hbase,hadoop upgrade is generally fixed relatively.see \[2]

 

ref:

\[1] [apache book:hbase upgrade](http://hbase.apache.org/book.html#upgrading)

\[2] [wiki :hadoop upgrade](http://wiki.apache.org/hadoop/Hadoop_Upgrade)

\[3] [hadoop and hbase support matrix](http://hbase.apache.org/book.html#Hadoop)

# [Hadoop升级方案（二）：从Hadoop 1.0升级到2.0（1）](http://dongxicheng.org/mapreduce-nextgen/hadoop-upgrade-to-version-2/)

# [hadoop hbase 升级](http://blog.csdn.net/zhouleilei/article/details/8626574)