You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/10/03 01:56:34 UTC

[jira] [Created] (HBASE-12164) Check for presence of user Id in SecureBulkLoadEndpoint#secureBulkLoadHFiles() is wrong

Ted Yu created HBASE-12164:
------------------------------

             Summary: 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


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)