You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2018/04/11 02:47:00 UTC

[jira] [Updated] (HBASE-19963) TestFSHDFSUtils assumes wrong default port for Hadoop 3.0.1+

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

Wei-Chiu Chuang updated HBASE-19963:
------------------------------------
    Attachment: HBASE-19963.master.001.patch

> TestFSHDFSUtils assumes wrong default port for Hadoop 3.0.1+
> ------------------------------------------------------------
>
>                 Key: HBASE-19963
>                 URL: https://issues.apache.org/jira/browse/HBASE-19963
>             Project: HBase
>          Issue Type: Task
>          Components: test
>            Reporter: Mike Drob
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>         Attachments: HBASE-19963.master.001.patch
>
>
> We try to accommodate HDFS changing ports when testing if it is the same FS in our tests:
> https://github.com/apache/hbase/blob/master/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestFSHDFSUtils.java#L156-L162
> {code}
>     if (isHadoop3) {
>       // Hadoop 3.0.0 alpha1+ change default nn port to 9820. See HDFS-9427
>       testIsSameHdfs(9820);
>     } else {
>       // pre hadoop 3.0.0 defaults to port 8020
>       testIsSameHdfs(8020);
>     }
> {code}
> But in Hadoop 3.0.1, they decided to go back to the old port - see HDFS-12990.
> So our tests will fail against the snapshot and against future releases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)