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

genericqa commented on HDFS-13745:
----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} docker {color} | {color:red}  0m  
6s{color} | {color:red} Docker failed to build yetus/hadoop:abb62dd. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HDFS-13745 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12932102/HDFS-13745.000.patch |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/24609/console |
| Powered by | Apache Yetus 0.8.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> libhdfs++: Fix race in FileSystem destructor
> --------------------------------------------
>
>                 Key: HDFS-13745
>                 URL: https://issues.apache.org/jira/browse/HDFS-13745
>             Project: Hadoop HDFS
>          Issue Type: Task
>          Components: native
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>            Priority: Major
>         Attachments: HDFS-13745.000.patch
>
>
> Whatever happens to have the last shared_ptr to the IoService will run 
> ~IoService when the shared_ptr goes out of scope.  IoService's destructor is 
> responsible for joining all worker threads in the pool.  Most callbacks now 
> own weak_ptr<IoService> that can be promoted to a shared_ptr in order to post 
> new async tasks.  If a callback object is the last thing holding the 
> IoService shared_ptr it's going to try to join the thread pool inside of one 
> of the thread pool's threads.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to