hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12164) Check for presence of user Id in SecureBulkLoadEndpoint#secureBulkLoadHFiles() is wrong
Date Fri, 03 Oct 2014 00:59:33 GMT

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

Andrew Purtell commented on HBASE-12164:
----------------------------------------

+1

> Check for presence of user Id in SecureBulkLoadEndpoint#secureBulkLoadHFiles() is wrong
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-12164
>                 URL: https://issues.apache.org/jira/browse/HBASE-12164
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 12164-v1.txt, 12164-v1.txt
>
>
> Here is the code:
> {code}
>     if (request.getFsToken().hasIdentifier() && request.getFsToken().hasPassword())
{
> {code}
> In test case, request.getFsToken().hasIdentifier() returns false, leading to userToken
being null.
> This would make secure bulk load unsuccessful because the body of secureBulkLoadHFiles()
is skipped.



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

Mime
View raw message