hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiboliyalangwolf (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13647) cannot writeData to HDFS form localfile
Date Fri, 23 Sep 2016 12:12:20 GMT
xiboliyalangwolf created HADOOP-13647:

             Summary: cannot writeData to HDFS form localfile
                 Key: HADOOP-13647
                 URL: https://issues.apache.org/jira/browse/HADOOP-13647
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: xiboliyalangwolf

when i try to use hadoop api to write data to cluster HDFS ,alway throw exception.like that:
Exception in thread "main" java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem:
Provider org.apache.hadoop.hdfs.web.WebHdfsFileSystem could not be instantiated: java.lang.NoClassDefFoundError:
	at java.util.ServiceLoader.fail(ServiceLoader.java:224)
	at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
Caused by: java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper

 FileSystem fs = FileSystem.get(URI.create(file), conf);//this line is wrong?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org

View raw message