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

stack commented on HBASE-9901:
------------------------------

The toString is ugly.  Fix on commit:

+    return "HTable{" + "connection=" + connection + ", tableName=" + tableName 
+ '}';

Make it just:

connection + "," + tableName

It will look like:

hconnection-0x020234343,bigtable

Or 

bigtable,hconnection-0x020234343

Our logs are too profuse already -- they need paring.  Let the above be the 
convention for tablename string.  No need of having the '{' and the HTable 
preamble?

If you do above, +1 on patch for branch and trunk





> Add a toString in HTable, fix a log in AssignmentManager
> --------------------------------------------------------
>
>                 Key: HBASE-9901
>                 URL: https://issues.apache.org/jira/browse/HBASE-9901
>             Project: HBase
>          Issue Type: Bug
>          Components: Client, regionserver
>    Affects Versions: 0.98.0, 0.96.0
>            Reporter: Nicolas Liochon
>            Assignee: Nicolas Liochon
>            Priority: Trivial
>             Fix For: 0.98.0, 0.96.1
>
>         Attachments: 9901.v1.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to