Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Incomplete
-
None
-
None
-
None
Description
When creating the RecordReader for a RangeInputSplit, the Split should encapsulate all of the context of the configuration to invoke that Split (e.g. instance info, connector info, scan iterators, etc).
However, the "useSasl" option is not preserved inside of the RangeInputSplit which results in the split always using useSasl=false. This obviously breaks Kerberos installations:
A workaround is to make sure that the Configuration present in the call to getRecordReader also has AccumuloInputFormat.setZooKeeperInstance invoked on it (push the ClientConfiguration into the Configuration which will result in it being merged with the details set on the input split).
if (useSasl) {
AccumuloInputFormat.setZooKeeperInstance(jobConf, instanceName, zookeepers, useSasl);
}
Attachments
Issue Links
- relates to
-
HIVE-16973 Fetching of Delegation tokens (Kerberos) for AccumuloStorageHandler fails in HS2
- Closed