Permalink
Browse files

Upgrade from HBase 0.90 to 0.94.

  • Loading branch information...
1 parent 9ffc052 commit 0087add3342b36503bb60c972a0d441f91e37ef1 @tomwhite committed Jan 12, 2014
Showing with 5 additions and 5 deletions.
  1. +1 −1 README
  2. +1 −1 book/pom.xml
  3. +2 −2 ch13/pom.xml
  4. +1 −1 ch13/src/main/java/HBaseStationCli.java
View
@@ -13,7 +13,7 @@ This version of the code has been tested with:
* Avro 1.5.4
* Pig 0.9.1
* Hive 0.8.0
- * HBase 0.90.4
+ * HBase 0.90.4/0.94.15
* ZooKeeper 3.4.2
* Sqoop 1.4.0-incubating
* MRUnit 0.8.0-incubating
View
@@ -17,7 +17,7 @@
<avro.version>1.5.4</avro.version>
<pig.version>0.9.1</pig.version>
<hive.version>0.8.0</hive.version>
- <hbase.version>0.90.4</hbase.version>
+ <hbase.version>0.94.15</hbase.version>
<zookeeper.version>3.4.2</zookeeper.version>
<sqoop.version>1.4.0-incubating</sqoop.version>
</properties>
View
@@ -3,9 +3,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.hadoopbook</groupId>
- <artifactId>book</artifactId>
+ <artifactId>hadoop-meta</artifactId>
<version>3.0</version>
- <relativePath>../book/pom.xml</relativePath>
+ <relativePath>../hadoop-meta/pom.xml</relativePath>
</parent>
<groupId>com.hadoopbook</groupId>
<artifactId>ch13</artifactId>
@@ -20,7 +20,7 @@
public Map<String, String> getStationInfo(HTable table, String stationId)
throws IOException {
Get get = new Get(Bytes.toBytes(stationId));
- get.addColumn(INFO_COLUMNFAMILY);
+ get.addFamily(INFO_COLUMNFAMILY);
Result res = table.get(get);
if (res == null) {
return null;

0 comments on commit 0087add

Please sign in to comment.