Return-Path: X-Original-To: apmail-reef-dev-archive@minotaur.apache.org Delivered-To: apmail-reef-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E531518C77 for ; Tue, 15 Dec 2015 06:40:46 +0000 (UTC) Received: (qmail 80407 invoked by uid 500); 15 Dec 2015 06:40:46 -0000 Delivered-To: apmail-reef-dev-archive@reef.apache.org Received: (qmail 80366 invoked by uid 500); 15 Dec 2015 06:40:46 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 80327 invoked by uid 99); 15 Dec 2015 06:40:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2015 06:40:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A00992C0AFA for ; Tue, 15 Dec 2015 06:40:46 +0000 (UTC) Date: Tue, 15 Dec 2015 06:40:46 +0000 (UTC) From: "Julia (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (REEF-1080) Make local temp file configurable in FileSystemInputPartition MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Julia created REEF-1080: --------------------------- Summary: Make local temp file configurable in FileSystemInputPartition Key: REEF-1080 URL: https://issues.apache.org/jira/browse/REEF-1080 Project: REEF Issue Type: Bug Reporter: Julia Currently in FileSystemInputPartition, when download remote file to a local file before processing the data. The local file is based on Path.GetTempPath() which usually is a folder under C driver. There are multiple issues: When file size is big, c: driver may not have enough space We would like the temp file to be deleted in the end, although we already implemented disposable to delete the temp file, and client should make sure it is called, there is still possibility the file is not cleared if the system suddenly crash. To resolve above issues, we would like to make the temp file folder for FileSystemInputPartition configurable, and default to the current working folder so that in case the system is crashed, the working folder will still be cleared. -- This message was sent by Atlassian JIRA (v6.3.4#6332)