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

Anu Engineer updated HDDS-1817:
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.4.1
                   0.5.0
           Status: Resolved  (was: Patch Available)

Thanks for your contribution. I have committed this patch to the trunk and 
ozone-0.4.1 branches.

> GetKey fails with IllegalArgumentException
> ------------------------------------------
>
>                 Key: HDDS-1817
>                 URL: https://issues.apache.org/jira/browse/HDDS-1817
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Client, SCM
>    Affects Versions: 0.4.0
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Major
>              Labels: blockade, pull-request-available
>             Fix For: 0.5.0, 0.4.1
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> During get key call the client is intermittently failing with 
> {{java.lang.IllegalArgumentException}}
> {noformat}
> E       AssertionError: Ozone get Key failed with 
> output=[java.lang.IllegalArgumentException
> E             at 
> com.google.common.base.Preconditions.checkArgument(Preconditions.java:72)
> E             at 
> org.apache.hadoop.hdds.scm.XceiverClientManager.acquireClient(XceiverClientManager.java:150)
> E             at 
> org.apache.hadoop.hdds.scm.XceiverClientManager.acquireClientForReadData(XceiverClientManager.java:143)
> E             at 
> org.apache.hadoop.hdds.scm.storage.BlockInputStream.getChunkInfos(BlockInputStream.java:154)
> E             at 
> org.apache.hadoop.hdds.scm.storage.BlockInputStream.initialize(BlockInputStream.java:118)
> E             at 
> org.apache.hadoop.hdds.scm.storage.BlockInputStream.read(BlockInputStream.java:222)
> E             at 
> org.apache.hadoop.ozone.client.io.KeyInputStream.read(KeyInputStream.java:171)
> E             at 
> org.apache.hadoop.ozone.client.io.OzoneInputStream.read(OzoneInputStream.java:47)
> E             at java.base/java.io.InputStream.read(InputStream.java:205)
> E             at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:94)
> E             at 
> org.apache.hadoop.ozone.web.ozShell.keys.GetKeyHandler.call(GetKeyHandler.java:98)
> E             at 
> org.apache.hadoop.ozone.web.ozShell.keys.GetKeyHandler.call(GetKeyHandler.java:48)
> E             at picocli.CommandLine.execute(CommandLine.java:1173)
> E             at picocli.CommandLine.access$800(CommandLine.java:141)
> E             at picocli.CommandLine$RunLast.handle(CommandLine.java:1367)
> E             at picocli.CommandLine$RunLast.handle(CommandLine.java:1335)
> E             at 
> picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:1243)
> E             at picocli.CommandLine.parseWithHandlers(CommandLine.java:1526)
> E             at picocli.CommandLine.parseWithHandler(CommandLine.java:1465)
> E             at 
> org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:65)
> E             at 
> org.apache.hadoop.ozone.web.ozShell.OzoneShell.execute(OzoneShell.java:60)
> E             at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:56)
> E             at 
> org.apache.hadoop.ozone.web.ozShell.OzoneShell.main(OzoneShell.java:53)]
> {noformat}
> This is happening when the pipeline returned by SCM doesn't have any datanode 
> information.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to