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 D9B6319F1C for ; Tue, 26 Apr 2016 17:16:14 +0000 (UTC) Received: (qmail 44473 invoked by uid 500); 26 Apr 2016 17:16:14 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 44388 invoked by uid 500); 26 Apr 2016 17:16: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 44369 invoked by uid 99); 26 Apr 2016 17:16:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2016 17:16:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0E8022C1F6E for ; Tue, 26 Apr 2016 17:16:13 +0000 (UTC) Date: Tue, 26 Apr 2016 17:16:13 +0000 (UTC) From: "Thomas Hille (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10327) Open files in WEBHDFS which are stored in folders by Spark/Mapreduce MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-10327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15258488#comment-15258488 ] Thomas Hille commented on HDFS-10327: ------------------------------------- Hi guys, It looks like splitting the file in parts is a mapreduce feature rather than spak specific (https://hadoop.apache.org/docs/r1.2.1/mapred_tutorial.html -- look at the output of $bin/hadoop dfs -cat /usr/joe/wordcount/output/part-00000). So its maybe still something for you guys? > Open files in WEBHDFS which are stored in folders by Spark/Mapreduce > -------------------------------------------------------------------- > > Key: HDFS-10327 > URL: https://issues.apache.org/jira/browse/HDFS-10327 > Project: Hadoop HDFS > Issue Type: Improvement > Components: webhdfs > Reporter: Thomas Hille > Labels: features > > 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)