[ 
https://issues.apache.org/jira/browse/HDFS-16969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Huibo Peng updated HDFS-16969:
------------------------------
    Description: 
We use Hadoop 3.3.2 + HBase 2.3.6 in production environment. When restarting 
DataNode to enable some configs, the ClosedChannelException keep showing in 
DataNode log.
{code:java}
2023-03-09 12:00:42,456 WARN  [ShortCircuitCache_SlotReleaser] 
shortcircuit.DfsClientShmManager: 
EndpointShmManager(DatanodeInfoWithStorage[10.22.128.111:9866,DS-d0865093-7868-4d6b-8163-252f2dd4a40c,DISK],
 parent=ShortCircuitShmManager(250ff108)): error shutting down shm: got 
IOException calling shutdown(SHUT_RDWR)
java.nio.channels.ClosedChannelException
        at 
org.apache.hadoop.util.CloseableReferenceCount.reference(CloseableReferenceCount.java:57)
        at 
org.apache.hadoop.net.unix.DomainSocket.shutdown(DomainSocket.java:393)
        at 
org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager.shutdown(DfsClientShmManager.java:362)
        at 
org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache$SlotReleaser.run(ShortCircuitCache.java:241)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748) {code}

  was:
We use Hadoop 3.3.2 + HBase 2.3.6 in production environment. When restarting 
DataNode to enable some configs, the ClosedChannelException keep showing in 
DataNode log.
{code:java}
2023-03-09 12:00:42,456 WARN  [ShortCircuitCache_SlotReleaser] 
shortcircuit.DfsClientShmManager: 
EndpointShmManager(DatanodeInfoWithStorage[10.22.128.111:9866,DS-d0865093-7868-4d6b-8163-252f2dd4a40c,DISK],
 parent=ShortCircuitShmManager(250ff108)): error shutting down shm: got 
IOException calling shutdown(SHUT_RDWR) 
java.nio.channels.ClosedChannelException         at 
org.apache.hadoop.util.CloseableReferenceCount.reference(CloseableReferenceCount.java:57)
         at 
org.apache.hadoop.net.unix.DomainSocket.shutdown(DomainSocket.java:393)         
at 
org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager.shutdown(DfsClientShmManager.java:362)
         at 
org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache$SlotReleaser.run(ShortCircuitCache.java:241)
         at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)         
at java.util.concurrent.FutureTask.run(FutureTask.java:266)         at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
         at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
        at java.lang.Thread.run(Thread.java:748)
{code}


> Restart DataNode but keep showing ClosedChannelException in DataNode 
> ---------------------------------------------------------------------
>
>                 Key: HDFS-16969
>                 URL: https://issues.apache.org/jira/browse/HDFS-16969
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 3.3.2
>            Reporter: Huibo Peng
>            Priority: Major
>
> We use Hadoop 3.3.2 + HBase 2.3.6 in production environment. When restarting 
> DataNode to enable some configs, the ClosedChannelException keep showing in 
> DataNode log.
> {code:java}
> 2023-03-09 12:00:42,456 WARN  [ShortCircuitCache_SlotReleaser] 
> shortcircuit.DfsClientShmManager: 
> EndpointShmManager(DatanodeInfoWithStorage[10.22.128.111:9866,DS-d0865093-7868-4d6b-8163-252f2dd4a40c,DISK],
>  parent=ShortCircuitShmManager(250ff108)): error shutting down shm: got 
> IOException calling shutdown(SHUT_RDWR)
> java.nio.channels.ClosedChannelException
>         at 
> org.apache.hadoop.util.CloseableReferenceCount.reference(CloseableReferenceCount.java:57)
>         at 
> org.apache.hadoop.net.unix.DomainSocket.shutdown(DomainSocket.java:393)
>         at 
> org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager.shutdown(DfsClientShmManager.java:362)
>         at 
> org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache$SlotReleaser.run(ShortCircuitCache.java:241)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to