joshelser edited a comment on pull request #2809:
URL: https://github.com/apache/hbase/pull/2809#issuecomment-750710601


   (hahaha, sorry. I'm overlapping with Duo :) )
   
   > I try to use code "hbck = TEST_UTIL.getConnection(USER_NONE).getHbck()" to 
gain the hbck, but UT still failed to pass. So I perfer to commit this PR 
without UT as its patch works fine in a real cluster.
   
   Look at `getAsyncConnection` in `HBaseTestingUtility.java`. Can you verify 
what `User` is here?
   
   You could also just instantiate your own `Connection` and call `getHbck()` 
on that `Connection`, to avoid whatever HBaseTestingUtility is doing. The 
`TestAccessController#testRead()` method has an example of creating a new 
`Connection`.
   
   Could you try that, please?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to