Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Upgrade from HBase 0.90 to 0.94.

  • Loading branch information...
commit 0087add3342b36503bb60c972a0d441f91e37ef1 1 parent 9ffc052
@tomwhite authored
View
2  README
@@ -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
2  book/pom.xml
@@ -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
4 ch13/pom.xml
@@ -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>
View
2  ch13/src/main/java/HBaseStationCli.java
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.