[ https://issues.apache.org/jira/browse/HBASE-19963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang reassigned HBASE-19963: --------------------------------------- Assignee: Wei-Chiu Chuang > 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 > > 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)