Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 51AE0200B8D for ; Fri, 23 Sep 2016 14:12:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 504E0160AC2; Fri, 23 Sep 2016 12:12:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B7316160ACA for ; Fri, 23 Sep 2016 14:12:22 +0200 (CEST) Received: (qmail 4297 invoked by uid 500); 23 Sep 2016 12:12:21 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 3997 invoked by uid 99); 23 Sep 2016 12:12:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2016 12:12:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CC3C92C0B13 for ; Fri, 23 Sep 2016 12:12:20 +0000 (UTC) Date: Fri, 23 Sep 2016 12:12:20 +0000 (UTC) From: "xiboliyalangwolf (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-13647) cannot writeData to HDFS form localfile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 23 Sep 2016 12:12:23 -0000 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: common-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-dev-help@hadoop.apache.org