hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharat Viswanadham (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-1148) After allocating container, we are not adding to container DB.
Date Thu, 21 Feb 2019 18:43:00 GMT

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

Bharat Viswanadham updated HDDS-1148:
-------------------------------------
    Component/s: SCM

> After allocating container, we are not adding to container DB.
> --------------------------------------------------------------
>
>                 Key: HDDS-1148
>                 URL: https://issues.apache.org/jira/browse/HDDS-1148
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: SCM
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>             Fix For: 0.4.0
>
>         Attachments: HDDS-1148.00.patch, HDDS-1148.01.patch, HDDS-1148.02.patch, HDDS-1148.03.patch
>
>
> If we don't do that, we get an error when handling container report for open containers.
> As they don't exist in container DB.
>  
> {code:java}
> scm_1           | at java.lang.Thread.run(Thread.java:748)
> scm_1           | 2019-02-21 00:00:32 ERROR ContainerReportHandler:173 - Received
container report for an unknown container 1 from datanode e2733c00-162b-4993-a986-f6104f5008d8{ip:
172.18.0.2, host: 4f4e683d86c3} {}
> scm_1           | org.apache.hadoop.hdds.scm.container.ContainerNotFoundException:
#1
> scm_1           | at org.apache.hadoop.hdds.scm.container.states.ContainerStateMap.checkIfContainerExist(ContainerStateMap.java:543)
> scm_1           | at org.apache.hadoop.hdds.scm.container.states.ContainerStateMap.updateContainerReplica(ContainerStateMap.java:230)
> scm_1           | at org.apache.hadoop.hdds.scm.container.ContainerStateManager.updateContainerReplica(ContainerStateManager.java:565)
> scm_1           | at org.apache.hadoop.hdds.scm.container.SCMContainerManager.updateContainerReplica(SCMContainerManager.java:393)
> scm_1           | at org.apache.hadoop.hdds.scm.container.ReportHandlerHelper.processContainerReplica(ReportHandlerHelper.java:74)
> scm_1           | at org.apache.hadoop.hdds.scm.container.ContainerReportHandler.processContainerReplicas(ContainerReportHandler.java:159)
> scm_1           | at org.apache.hadoop.hdds.scm.container.ContainerReportHandler.onMessage(ContainerReportHandler.java:110)
> scm_1           | at org.apache.hadoop.hdds.scm.container.ContainerReportHandler.onMessage(ContainerReportHandler.java:51)
> scm_1           | at org.apache.hadoop.hdds.server.events.SingleThreadExecutor.lambda$onMessage$1(SingleThreadExecutor.java:85)
> scm_1           | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> scm_1           | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> {code}
>  
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message