[
https://issues.apache.org/jira/browse/HBASE-19963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Drob updated HBASE-19963:
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Status: Resolved (was: Patch Available)
Thanks for the patch! pushed to branch-2.0+
FYI [~stack]
> 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
> Fix For: 2.0.0
>
> Attachments: HBASE-19963.master.001.patch,
> HBASE-19963.master.002.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)