HBASE-13873 LoadTestTool addAuthInfoToConf throws UnsupportedOperationException (sunyerui)

This commit is contained in:
tedyu 2015-06-10 07:32:10 -07:00
parent bf3924ed05
commit 3ada2345d6
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ public class LoadTestTool extends AbstractHBaseTool {
private void addAuthInfoToConf(Properties authConfig, Configuration conf, String owner,
String userList) throws IOException {
List<String> users = Arrays.asList(userList.split(","));
List<String> users = new ArrayList(Arrays.asList(userList.split(",")));
users.add(owner);
for (String user : users) {
String keyTabFileConfKey = "hbase." + user + ".keytab.file";