Error:java.lang.UnsupportedOperationException:Not implemented by the Hftpfilesystem FileSystem Imp

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.