'hadoop'에 해당하는 글 1건

 When I tried to run hadoop hdfs writing program, it returns IOException like follow.

java.io.IOException: No FileSystem for scheme: hdfs

        at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2586)

        at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2593)

        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91)

        at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2632)

        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2614)

        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370)

        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:169)

        at co.kr.pf1999.common.HDFSHandler.<init>(HDFSHandler.java:21)

        at co.kr.pf1999.common.HDFSHandler$Singleton.<clinit>(HDFSHandler.java:14)

        at co.kr.pf1999.common.HDFSHandler.getInstance(HDFSHandler.java:54)

        at co.kr.pf1999.consumer.streamer.Streamer.lambda$0(Streamer.java:34)

        at java.lang.Iterable.forEach(Iterable.java:75)

        at co.kr.pf1999.consumer.streamer.Streamer.run(Streamer.java:32)


 Below 2 lines can solve this error.




WRITTEN BY
pf1999
프로그래밍 도중 삽질하다가 해결한 내용 공유용 블로그

,