[
https://issues.apache.org/jira/browse/HBASE-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445444#comment-13445444
]
Aleksandr Shulman commented on HBASE-6682:
------------------------------------------
This object is actually a SplitLogTask object. If we deserialize the proto
buffer and then do a toString, then we get useful information.
The only risk I can think of is that data might actually not be of type
SplitLogTask. However, we're already taking that risk and error handling for
this checked exception is done by the calling function.
My fix then is to deserialize the object and print out its toString(), which is
actually informative and formatted.
> Bad characters in logs for server names: SplitLogManager: task following PBUF
> ------------------------------------------------------------------------------
>
> Key: HBASE-6682
> URL: https://issues.apache.org/jira/browse/HBASE-6682
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.96.0
> Reporter: nkeywal
> Assignee: Aleksandr Shulman
> Priority: Minor
>
> See how the server name is printed:
> 2012-08-29 14:28:53,567 INFO org.apache.hadoop.hbase.master.SplitLogManager:
> task
> /hbase/splitlog/hdfs%3A%2F%2Flocalhost%3A9000%2Fhbase%2F.logs%2Flocalhost%2C60202%2C1346241077569-splitting%2Flocalhost%252C60202%252C1346241077569.1346241967431
> entered state PBUF
> localhost����ޑ�'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira