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 8C077200B12 for ; Sun, 12 Jun 2016 10:08:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8ADE3160A5C; Sun, 12 Jun 2016 08:08:22 +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 0D203160A06 for ; Sun, 12 Jun 2016 10:08:21 +0200 (CEST) Received: (qmail 85591 invoked by uid 500); 12 Jun 2016 08:08:21 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 85578 invoked by uid 99); 12 Jun 2016 08:08:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2016 08:08:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 192532C0451 for ; Sun, 12 Jun 2016 08:08:21 +0000 (UTC) Date: Sun, 12 Jun 2016 08:08:20 +0000 (UTC) From: "Sean Owen (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-15899) file scheme should be used correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 12 Jun 2016 08:08:22 -0000 [ https://issues.apache.org/jira/browse/SPARK-15899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Owen updated SPARK-15899: ------------------------------ Priority: Minor (was: Major) I think the code is actually using the form {{file:/path}} which I agree isn't quite right though usually is understood. It's OK to add the two extra slashes, yes. I don't think this needs a utility method. > file scheme should be used correctly > ------------------------------------ > > Key: SPARK-15899 > URL: https://issues.apache.org/jira/browse/SPARK-15899 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Reporter: Kazuaki Ishizaki > Priority: Minor > > [A RFC|https://www.ietf.org/rfc/rfc1738.txt] defines file scheme as {{file://host/}} or {{file:///}}. [Wikipedia|https://en.wikipedia.org/wiki/File_URI_scheme] > [Some code stuffs|https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala#L58] use different prefix such as {{file:}}. > It would be good to prepare a utility method to correctly add {{file://host}} or {{file://} prefix. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org