Error:java.lang.UnsupportedOperationException:Not implemented by the Hftpfilesystem FileSystem Implementationat Org.apache.hadoop.fs.FileSystem.getScheme (filesystem.java:214) at Org.apache.hadoop.fs.FileSystem.loadFileSystems (filesystem.java:2365) at Org.apache.hadoop.fs.FileSystem.getFileSystemClass (filesystem.java:2375) at Org.apache.hadoop.fs.FileSystem.createFileSystem (filesystem.java:2392) at org.apache.hadoop.fs.FileSystem.access $ (filesystem.java:89) at Org.apache.hadoop.fs.filesystem$cache.getinternal (filesystem.java:2431) at Org.apache.hadoop.fs.filesystem$cache.get (filesystem.java:2413) at Org.apache.hadoop.fs.FileSystem.get ( filesystem.java:368) at Org.apache.hadoop.fs.FileSystem.getLocal (filesystem.java:339) at Org.apache.hadoop.fs.localdirallocator$allocatorpercontext.confchanged (localdirallocator.java:270) at Org.apache.hadoop.fs.localdirallocator$allocatorpercontext.getlocalpathtoread (LocalDirAllocator.java:432) at Org.apache.hadoop.fs.LocalDirAllocator.getLocalPathToRead (Localdirallocator.java:164) at Org.apache.hadoop.mapred.YarnChild.configureLocalDirs (yarnchild.java:232) at Org.apache.hadoop.mapred.YarnChild.configureTask (yarnchild.java:290) at Org.apache.hadoop.mapred.YarnChild.main ( yarnchild.java:147)
Cause of the problem: the literal meaning is that some methods of filesystem (Getscheme, etc.) are not implemented, mainly because of the Hadoop-hdfs Jar package conflict (the Hadoop-hdfs jar package that was called did not find the method)
Workaround: Maven pom.xml file, select "Dependency Hierarchy", enter "Hadoop-hdfs", See which jar packages have introduced Hadoop-hdfs-xxx.jar, and see if there are getscheme in these hadoop-hdfs-xxx.jar, and if not, this Hadoop-hdfs-xxx.jar may be the package that caused the conflict, and the comment avoids the jar Package conflicts
PS: Resolve maven Jar package conflict Reference: http://blog.csdn.net/yeweiouyang/article/details/39319355
Error:java.lang.UnsupportedOperationException:Not implemented by the Hftpfilesystem FileSystem Imp