[ https://issues.apache.org/jira/browse/HDFS-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771230#comment-13771230 ]
Hudson commented on HDFS-5122: ------------------------------ SUCCESS: Integrated in Hadoop-trunk-Commit #4437 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/4437/]) HDFS-5122. Support failover and retry in WebHdfsFileSystem for NN HA. Contributed by Haohui Mai. (jing9: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1524562) * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSUtil.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFSForHA.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/WebHdfsTestUtil.java > Support failover and retry in WebHdfsFileSystem for NN HA > --------------------------------------------------------- > > Key: HDFS-5122 > URL: https://issues.apache.org/jira/browse/HDFS-5122 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha, webhdfs > Affects Versions: 2.1.0-beta > Reporter: Arpit Gupta > Assignee: Haohui Mai > Attachments: HDFS-5122.001.patch, HDFS-5122.002.patch, > HDFS-5122.003.patch, HDFS-5122.004.patch, HDFS-5122.patch > > > Bug reported by [~arpitgupta]: > If the dfs.nameservices is set to arpit, > {code} > hdfs dfs -ls webhdfs://arpit/tmp > {code} > does not work. You have to provide the exact active namenode hostname. On an > HA cluster using dfs client one should not need to provide the active nn > hostname. > To fix this, we try to > 1) let WebHdfsFileSystem support logical NN service name > 2) add failover_and_retry functionality in WebHdfsFileSystem for NN HA -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira