[
https://issues.apache.org/jira/browse/HDDS-1817?focusedWorklogId=282350&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-282350
]
ASF GitHub Bot logged work on HDDS-1817:
----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Jul/19 23:29
Start Date: 24/Jul/19 23:29
Worklog Time Spent: 10m
Work Description: anuengineer commented on issue #1152: HDDS-1817. GetKey
fails with IllegalArgumentException.
URL: https://github.com/apache/hadoop/pull/1152#issuecomment-514836331
@nandakumar131 Thank you for the contribution. I have committed this patch
to both the trunk and Ozone-0.4.1 branches.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 282350)
Time Spent: 0.5h (was: 20m)
> 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
> Time Spent: 0.5h
> 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: [email protected]
For additional commands, e-mail: [email protected]