hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Duxbury (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (HBASE-522) Where new Text(string) might be used in client side method calls, add an overload that takes strings
Date Wed, 23 Apr 2008 23:15:21 GMT

     [ https://issues.apache.org/jira/browse/HBASE-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bryan Duxbury reopened HBASE-522:
---------------------------------


Jim, this isn't about keys. This is about uses in things like the HTable constructor, where
byte[] will NOT replace Text. 

> Where new Text(string) might be used in client side method calls, add an overload that
takes strings
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-522
>                 URL: https://issues.apache.org/jira/browse/HBASE-522
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: client
>            Reporter: Bryan Duxbury
>            Priority: Trivial
>             Fix For: 0.2.0
>
>
> There are a lot of places in our client side API where people probably don't care that
Text is used in the underlying wire protocol. For instance, new HTable(HBaseConfig, Text)
adds a little bit of extra hassle and code. 
> Where it makes sense, we should make an overload for constructors and client methods
that can take a String and just convert it into a Text behind the scenes. This would beautify
some of our code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message