Jianwei Cui created HBASE-15303:
-----------------------------------
Summary: 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)