Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07FB4193F5 for ; Mon, 25 Apr 2016 22:02:14 +0000 (UTC) Received: (qmail 27570 invoked by uid 500); 25 Apr 2016 22:02:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 27485 invoked by uid 500); 25 Apr 2016 22:02:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 27209 invoked by uid 99); 25 Apr 2016 22:02:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2016 22:02:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D2A502C1F61 for ; Mon, 25 Apr 2016 22:02:12 +0000 (UTC) Date: Mon, 25 Apr 2016 22:02:12 +0000 (UTC) From: "Thomas Hille (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-10327) Open files in WEBHDFS which are stored in folders by Spark MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Thomas Hille created HDFS-10327: ----------------------------------- Summary: Open files in WEBHDFS which are stored in folders by Spark Key: HDFS-10327 URL: https://issues.apache.org/jira/browse/HDFS-10327 Project: Hadoop HDFS Issue Type: Bug Components: webhdfs Reporter: Thomas Hille When Spark saves a file in HDFS it creates a directory which includes many parts of the file. When you read it with spark programmatically, you can read this directory as it is a normal file. If you try to read this directory-style file in webhdfs, it returns {"exception":"FileNotFoundException","javaClassName":"java.io.FileNotFoundException","message":"Path is not a file: [...] -- This message was sent by Atlassian JIRA (v6.3.4#6332)