[ https://issues.apache.org/jira/browse/HDDS-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16887168#comment-16887168 ]
Nanda kumar commented on HDDS-1817: ----------------------------------- This issues is seen in blockade test ({{blockade/test_blockade_client_failure.py::test_client_failure_isolate_two_datanodes}}) Steps to reproduce: 1. Build Ozone: {{mvn clean install package -Phdds -Psrc -Pdocker -Pdist -Dtar -DskipTests}} 2. {{cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/tests}} 3. python2 -m pytest -s blockade/test_blockade_client_failure.py::test_client_failure_isolate_two_datanodes Note: The test-case doesn't fail always, try it couple of times. > 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 > Priority: Major > Labels: blockade > > 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