[
https://issues.apache.org/jira/browse/HBASE-11506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059770#comment-14059770
]
Anoop Sam John commented on HBASE-11506:
----------------------------------------
Thanks for giving the patch Ram.
{code}
+ System.out.println(userName + " "+user[0]+ " "+user[1]);
+ USER1 = User.createUserForTesting(conf, user[0], new String[] {});
+ USER2 = User.createUserForTesting(conf, user[1], new String[] {});
{code}
So we expect 2 user names to be passed. Do a validate and fail gracefully if
not passing 2 names rather than getting an ArrayIndexOutOfBoundsException?
variable name 'userName' can be userNames?
> IntegrationTestWithCellVisibilityLoadAndVerify allow User to be passed as arg
> -----------------------------------------------------------------------------
>
> Key: HBASE-11506
> URL: https://issues.apache.org/jira/browse/HBASE-11506
> Project: HBase
> Issue Type: Bug
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Attachments: HBASE-11506.patch, HBASE-11506_1.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)