|
|
-
Error after upgrading from CDH3 to CDH4Nataraj Rashmi - rnatar 2013-01-23, 22:22
Hi,
I am getting this error when I run the java application that uses HDFS API to transfer files to HDFS remotely. This used to work fine with CDH3 and now we are using CDH4. Exception in thread "main" java.io.IOException: No FileSystem for scheme: hdfs at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2206) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2213) I have this in my client config cml. Please help. <configuration> <property> <name>fs.default.name</name> <value>hdfs://servername:8020</value> </property> </configuration> Thanks. *************************************************************************** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. **************************************************************************** |