[
https://issues.apache.org/jira/browse/HBASE-16055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15345745#comment-15345745
]
ramkrishna.s.vasudevan commented on HBASE-16055:
------------------------------------------------
Good question. The reason was that
{code}
Since 0.98.1 this method no longer checks table existence. An exception will be
thrown if the table does not exist only when the first operation is attempted.
{code}
Above comes in the javadoc of connection#getTable(). Infact when I tried with
my test case I could see that instead of returning when Labels table was not
found it was trying to do a scan and that is where TableNotFound was getting
thrown. Then I saw this java doc and when I changed the catch things worked
fine. May be we need to see the entire code and correct the src code or test
code to ensure TableNotFound is caught at the right place.
> PutSortReducer loses any Visibility/acl attribute set on the Puts
> ------------------------------------------------------------------
>
> Key: HBASE-16055
> URL: https://issues.apache.org/jira/browse/HBASE-16055
> Project: HBase
> Issue Type: Bug
> Components: security
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Priority: Critical
> Fix For: 2.0.0, 1.0.4, 1.4.0, 0.98.21
>
> Attachments: HBASE-16055_1.patch
>
>
> Based on a user discussion, I think as the user pointed out rightly, when a
> PutSortReducer is used any visibility attribute or external attribute set on
> the Put will be lost as we create KVs out of the cells in the puts whereas
> the ACL and visibility are all set as Attributes.
> In TextSortReducer we tend to read the information we tend to read the
> information from the parsed line but here in PutSortReducer we don't do it. I
> think this problem should be in all the existing versions where we support
> Tags. Correct me if am wrong here.
> [~anoop.hbase], [[email protected]]?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)