[
https://issues.apache.org/jira/browse/HBASE-14422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Ryakhovskiy updated HBASE-14422:
-------------------------------------------
Attachment: log.txt
HBASE-14422.master.001.patch
I have attached a log and a patch which produces the log.
I have made some modifications for debugging purposes which are not "production
code", therefore patch shouldn't be submitted:
- added class TraceTempUtil to output my own messages into std-out
- set log-level to WARN for org.apache.hadoop.hbase
- modified PreemptiveFastFailInterceptor#inFailFast() to output more
information.
Since the patch will not go anywhere apart from debugging, I am not clicking
"Submit patch" button
> Fix TestFastFailWithoutTestUtil
> -------------------------------
>
> Key: HBASE-14422
> URL: https://issues.apache.org/jira/browse/HBASE-14422
> Project: HBase
> Issue Type: Task
> Components: test
> Reporter: stack
> Assignee: Konstantin Ryakhovskiy
> Priority: Minor
> Labels: beginner
> Attachments: HBASE-14422.master.001.patch, log.txt
>
>
> TestFastFailWithoutTestUtil has a unit test that does
> testInterceptorIntercept50Times Usually it passes but on occasion, the
> latching between thread 1 and thread 2 goes awry and the test hangs and the
> test hangs out. Depends on the hardware but it seems to happen about one in
> four runs here on an internal rig.
> HBASE-14421 changed the wait-on-latch to timeout and do a thread dump and
> just let the test keep going.
> This issue is about digging in on figuring why the hang up on latches and
> then fixing it so the test doesn't have to have the latch timeout. Hopefully
> the threaddump helps.
> This one could be hard to fix since it not easy to reproduce. Marking it
> beginner anyways.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)