[ https://issues.apache.org/jira/browse/HDFS-17728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927985#comment-17927985 ]
ASF GitHub Bot commented on HDFS-17728: --------------------------------------- ferhui opened a new pull request, #7399: URL: https://github.com/apache/hadoop/pull/7399 … one <!-- Thanks for sending a pull request! 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute 2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'. --> ### Description of PR https://issues.apache.org/jira/browse/HDFS-17728 Make TestDFSIO can test any name service, not only the default one. ### How was this patch tested? Tested on a real cluster and worked as expected. ### For code changes: - [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')? - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files? > TestDFSIO can use another name service except the default one > ------------------------------------------------------------- > > Key: HDFS-17728 > URL: https://issues.apache.org/jira/browse/HDFS-17728 > Project: Hadoop HDFS > Issue Type: Test > Reporter: Hui Fei > Assignee: Hui Fei > Priority: Minor > > error like this > {code} > Error: java.lang.IllegalArgumentException: Wrong FS: > hdfs://Y01/benchmark/io_data/test_io_122, expected: hdfs://R01 > at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:807) > at > org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:263) > at > org.apache.hadoop.hdfs.DistributedFileSystem$5.doCall(DistributedFileSystem.java:385) > at > org.apache.hadoop.hdfs.DistributedFileSystem$5.doCall(DistributedFileSystem.java:381) > at > org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > at > org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:398) > at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:988) > at > org.apache.hadoop.fs.TestDFSIO$ReadMapper.getIOStream(TestDFSIO.java:541) > at org.apache.hadoop.fs.IOMapperBase.map(IOMapperBase.java:130) > at org.apache.hadoop.fs.IOMapperBase.map(IOMapperBase.java:37) > at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54) > at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:466) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:350) > at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:178) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:2031) > at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:172) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org