hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12830) Ozone: TestOzoneRpcClient#testPutKeyRatisThreeNodes fails
Date Fri, 17 Nov 2017 19:44:01 GMT

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

Xiaoyu Yao updated HDFS-12830:
------------------------------
    Labels: test  (was: )

> Ozone: TestOzoneRpcClient#testPutKeyRatisThreeNodes fails
> ---------------------------------------------------------
>
>                 Key: HDFS-12830
>                 URL: https://issues.apache.org/jira/browse/HDFS-12830
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>              Labels: test
>         Attachments: HDFS-12830-HDFS-7240.001.patch
>
>
> The test {{TestOzoneRpcClient#testPutKeyRatisThreeNodes}} always fails in the feature
branch. Stack trace:
> {noformat}
> 2017-11-16 11:44:28,512 [IPC Server handler 7 on 43551] ERROR ratis.RatisManagerImpl
(RatisManagerImpl.java:getPipeline(130))      - Get pipeline call failed. We are not able
to find free nodes or operational pipeline.
> 2017-11-16 11:44:28,513 [IPC Server handler 7 on 43551] WARN  ipc.Server (Server.java:logException(2721))
- IPC Server handler 7 on 43551, call Call#679 Retry#0 org.apache.hadoop.ozone.protocol.ScmBlockLocationProtocol.allocateScmBlock
from 172.17.0.2:42671
> java.lang.NullPointerException
> 	at org.apache.hadoop.scm.container.common.helpers.ContainerInfo.getProtobuf(ContainerInfo.java:132)
> 	at org.apache.hadoop.ozone.scm.container.ContainerMapping.allocateContainer(ContainerMapping.java:221)
> 	at org.apache.hadoop.ozone.scm.block.BlockManagerImpl.preAllocateContainers(BlockManagerImpl.java:190)
> 	at org.apache.hadoop.ozone.scm.block.BlockManagerImpl.allocateBlock(BlockManagerImpl.java:292)
> 	at org.apache.hadoop.ozone.scm.StorageContainerManager.allocateBlock(StorageContainerManager.java:1047)
> 	at org.apache.hadoop.ozone.protocolPB.ScmBlockLocationProtocolServerSideTranslatorPB.allocateScmBlock(ScmBlockLocationProtocolServerSideTranslatorPB.java:107)
> 	at 
> {noformat}
> The warn log {{Get pipeline call failed. We are not able to find free nodes or operational
pipeline.}} is the failed reason. This is broken by the change in HDFS-12756. It missed resetting
datanode num.
> {code}
> -    cluster = new MiniOzoneCluster.Builder(conf).numDataNodes(5)
> +    cluster = new MiniOzoneClassicCluster.Builder(conf)
> {code}



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

---------------------------------------------------------------------
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