You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jianwei Cui (JIRA)" <ji...@apache.org> on 2016/02/22 11:09:18 UTC

[jira] [Resolved] (HBASE-15303) LoadIncrementalHFiles will encounter NoSuchMethodException when using secure

     [ https://issues.apache.org/jira/browse/HBASE-15303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jianwei Cui resolved HBASE-15303.
---------------------------------
    Resolution: Invalid

> LoadIncrementalHFiles will encounter NoSuchMethodException when using secure
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-15303
>                 URL: https://issues.apache.org/jira/browse/HBASE-15303
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors
>    Affects Versions: 0.94.27
>            Reporter: Jianwei Cui
>
> After [HBASE-8521|https://issues.apache.org/jira/browse/HBASE-8521], the LoadIncrementalHFiles could ask server to assign sequence id for bulk load hfiles by invoking SecureBulkLoadClient#bulkLoadHFiles:
> {code}
>   public boolean bulkLoadHFiles(List<Pair<byte[], String>> familyPaths, Token<?> userToken,
>       String bulkToken, boolean assignSeqNum) throws IOException {
>     try {
>       return (Boolean) Methods.call(protocolClazz, proxy, "bulkLoadHFiles", new Class[] {
>           List.class, Token.class, String.class, Boolean.class },
>         new Object[] { familyPaths, userToken, bulkToken, assignSeqNum });
>     } catch (Exception e) {
>       throw new IOException("Failed to bulkLoadHFiles", e);
>     }
>   }
> {code}
> However, SecureBulkLoadProtocol does not define such interface(with assignSeqNum as last parameter), so that the client will encounter NoSuchMethodException when using secure. 



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