[ 
https://issues.apache.org/jira/browse/HBASE-19772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16323372#comment-16323372
 ] 

stack commented on HBASE-19772:
-------------------------------

Reverted. I'd integrated it by mistake.

Thanks for the suggestion [~jmspaggi]. Will do.

On my wonky machines, have test hung here:

{code}
187 "main" #1 prio=5 os_prio=0 tid=0x00007fd008008000 nid=0x21d06 waiting on 
condition [0x00007fd011596000]
188    java.lang.Thread.State: WAITING (parking)
189   at sun.misc.Unsafe.park(Native Method)
190   - parking to wait for  <0x000000078faa5288> (a 
java.util.concurrent.CompletableFuture$Signaller)
191   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
192   at 
java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1693)
193   at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
194   at 
java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1729)
195   at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
196   at 
org.apache.hadoop.hbase.zookeeper.TestReadOnlyZKClient.testSessionExpire(TestReadOnlyZKClient.java:134)
{code}

Probably my wonky machine. I don't see a thread holding the lock.



> ReadOnlyZKClient improvements
> -----------------------------
>
>                 Key: HBASE-19772
>                 URL: https://issues.apache.org/jira/browse/HBASE-19772
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Zookeeper
>            Reporter: stack
>            Assignee: Duo Zhang
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-19772.master.001.patch
>
>
> Here is [~Apache9] 's patch from the parent so it applies on top of what was 
> committed in the parent.
> Patch makes it so we we don't close out zk if available Tasks to run and 
> nicer logging.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to