hadoop@cluster04:~/bin/hadoop/migration/hbase$ bin/hbase migrate check 08/04/17 15:37:33 INFO util.Migrate: Verifying that file system is available... 08/04/17 15:37:33 INFO util.Migrate: Verifying that HBase is not running... 08/04/17 15:37:33 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 1 time(s). 08/04/17 15:37:34 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 2 time(s). 08/04/17 15:37:35 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 3 time(s). 08/04/17 15:37:36 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 4 time(s). 08/04/17 15:37:37 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 5 time(s). 08/04/17 15:37:38 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 6 time(s). 08/04/17 15:37:39 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 7 time(s). 08/04/17 15:37:40 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 8 time(s). 08/04/17 15:37:41 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 9 time(s). 08/04/17 15:37:42 INFO ipc.Client: Retrying connect to server: cluster04.lab.mtl/192.168.1.84:64000. Already tried 10 time(s). 08/04/17 15:37:43 FATAL util.Migrate: Upgrade check failed java.lang.IllegalArgumentException: Wrong FS: hdfs://cluster04.lab.mtl:9400/hbase/amsterdam_migration, expected: file:/// at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:240) at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:174) at org.apache.hadoop.fs.FilterFileSystem.makeQualified(FilterFileSystem.java:72) at org.apache.hadoop.hbase.util.MetaUtils.initialize(MetaUtils.java:85) at org.apache.hadoop.hbase.util.Migrate.run(Migrate.java:151) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.hadoop.hbase.util.Migrate.main(Migrate.java:482) source code of FileSystem.checkPath(): /** Check that a Path belongs to this FileSystem. */ protected void checkPath(Path path) { URI uri = path.toUri(); if (uri.getScheme() == null) // fs is relative return; String thisAuthority = this.getUri().getAuthority(); String thatAuthority = uri.getAuthority(); if (!(this.getUri().getScheme().equals(uri.getScheme()) && (thisAuthority == thatAuthority || (thisAuthority != null && thisAuthority.equals(thatAuthority))))){ throw new IllegalArgumentException("Wrong FS: "+path+ ", expected: "+this.getUri()); } }