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: org/codehaus/jackson/map/ObjectMapper
        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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to