Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by stack: http://wiki.apache.org/hadoop/Hbase/Plan-0%2e2/APIChanges The comment on the change is: Minor edit ------------------------------------------------------------------------------ == General Changes == - The APIs for both `HBaseAdmin` and `HTable` have significantly changed between versions 0.1.3 and 0.2. The following document summarizes the key differences that are most important for developers wishing to use these classes. For more information, see the full API documentations for [http://hadoop.apache.org/hbase/docs/current/api/index.html 0.1.3] and [0.2]. + The APIs for both `HBaseAdmin` and `HTable` have significantly changed between versions 0.1.3 and 0.2.x. 0.2.x is NOT backward-compatible. The following document summarizes the key differences that are most important for developers wishing to use these classes. For more information, see the full API documentations for [http://hadoop.apache.org/hbase/docs/current/api/index.html 0.1.3] and [0.2]. - A general difference in both `HBaseAdmin` and `HTable` is a transition away from using Hadoop's `Text` class (package `org.apache.hadoop.io`) and toward using `byte[]` as a replacement. All methods from 0.1.3 that returned either `Text` or `Text[]` now return either `byte[]` or `byte[][]`. However, HBase 0.2 has not completely abandoned the use of `Text`, and the API is still somewhat backward-compatible. All methods that once accepted parameters of type `Text` are now overloaded to support `Text`, `String`, or `byte[]` as parameters. The following API changes from `HBaseAdmin` demonstrate this overloading: + A general difference in both `HBaseAdmin` and `HTable` is a transition away from using Hadoop's `Text` class (package `org.apache.hadoop.io`) and toward using `byte[]` as a replacement. All methods from 0.1.3 that returned either `Text` or `Text[]` now return either `byte[]` or `byte[][]` or the fatter `RowResult`. HBase 0.2 has not completely abandoned the use of `Text`. All methods that once accepted parameters of type `Text` are now overloaded to support `Text`, `String`, or `byte[]` as parameters. The following API changes from `HBaseAdmin` demonstrate this overloading: ''0.1.3:'' [[BR]] {{{public void addColumn(Text, HColumnDescriptor);}}}
