hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15608) Remove PB references from SnapShot related Exceptions
Date Tue, 03 May 2016 09:53:12 GMT

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

Anoop Sam John commented on HBASE-15608:
----------------------------------------

{code}
new org.apache.hadoop.hbase.client.SnapshotDescription(reqSnapshot.getName(),
788	              reqSnapshot.getTable(), ProtobufUtil.createSnapshotType(reqSnapshot.getType()),
789	              reqSnapshot.getOwner(), reqSnapshot.getCreationTime(), reqSnapshot.getVersion()));
{code}
This will convert a PB SnapshotDescription into our POJO SnapshotDescription right?  Can we
add this in a Util method and just use that in all these places?
Like PBUtil.toSnapshotDescription(PB object)

> Remove PB references from SnapShot related Exceptions
> -----------------------------------------------------
>
>                 Key: HBASE-15608
>                 URL: https://issues.apache.org/jira/browse/HBASE-15608
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15608.patch
>
>
> This is a sub-task for HBASE-15174.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message