HBASE-13873 LoadTestTool addAuthInfoToConf throws UnsupportedOperationException (sunyerui)
This commit is contained in:
parent
bf3924ed05
commit
3ada2345d6
|
@ -917,7 +917,7 @@ public class LoadTestTool extends AbstractHBaseTool {
|
||||||
|
|
||||||
private void addAuthInfoToConf(Properties authConfig, Configuration conf, String owner,
|
private void addAuthInfoToConf(Properties authConfig, Configuration conf, String owner,
|
||||||
String userList) throws IOException {
|
String userList) throws IOException {
|
||||||
List<String> users = Arrays.asList(userList.split(","));
|
List<String> users = new ArrayList(Arrays.asList(userList.split(",")));
|
||||||
users.add(owner);
|
users.add(owner);
|
||||||
for (String user : users) {
|
for (String user : users) {
|
||||||
String keyTabFileConfKey = "hbase." + user + ".keytab.file";
|
String keyTabFileConfKey = "hbase." + user + ".keytab.file";
|
||||||
|
|
Loading…
Reference in New Issue