[ 
https://issues.apache.org/jira/browse/CRUNCH-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613145#comment-16613145
 ] 

Attila Sasvari commented on CRUNCH-672:
---------------------------------------

[~mkwhitacre] thanks for the explanation. 

It caused some problem for me after an HBase rebase in our distribution. Our 
downstream version of Crunch relied {{org.apache.hadoop.hbase.util.Base64}} in 
HBaseSourceTarget . This class was removed by 
[HBASE-20884|https://issues.apache.org/jira/browse/HBASE-20884] in HBase 2.0.2. 
Later I noticed the usage of other private HBase classes that might cause 
similar issues later, and this is what I wanted to highlight with this JIRA.

> Crunch uses HBase classes annotated with @InterfaceAudience.Private
> -------------------------------------------------------------------
>
>                 Key: CRUNCH-672
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-672
>             Project: Crunch
>          Issue Type: Improvement
>            Reporter: Attila Sasvari
>            Priority: Major
>
> The following classes are used in crunch-hbase and annotated with 
> {{@InterfaceAudience.Private}}:
> {code}
> org.apache.hadoop.hbase.CellComparatorImpl
> org.apache.hadoop.hbase.HConstants
> org.apache.hadoop.hbase.KeyValue
> org.apache.hadoop.hbase.KeyValueUtil
> org.apache.hadoop.hbase.PrivateCellUtil
> org.apache.hadoop.hbase.Tag
> org.apache.hadoop.hbase.client.Result
> org.apache.hadoop.hbase.io.hfile.CacheConfig
> org.apache.hadoop.hbase.io.hfile.HFile
> org.apache.hadoop.hbase.io.hfile.HFileContext
> org.apache.hadoop.hbase.io.hfile.HFileContextBuilder
> org.apache.hadoop.hbase.io.hfile.HFileScanner
> org.apache.hadoop.hbase.io.hfile.HFileWriterImpl
> org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil
> org.apache.hadoop.hbase.protobuf.ProtobufUtil
> org.apache.hadoop.hbase.regionserver.HStoreFile
> org.apache.hadoop.hbase.regionserver.KeyValueHeap
> org.apache.hadoop.hbase.regionserver.KeyValueScanner
> org.apache.hadoop.hbase.regionserver.StoreFileReader
> org.apache.hadoop.hbase.regionserver.StoreFileScanner
> org.apache.hadoop.hbase.regionserver.StoreFileWriter
> org.apache.hadoop.hbase.util.BloomFilter
> org.apache.hadoop.hbase.util.BloomFilterFactory
> {code}
> The problem is that it is not guaranteed that HBase internal classes won't 
> change in future versions. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to