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 66A34200B6D for ; Tue, 23 Aug 2016 22:46:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6517E160AC3; Tue, 23 Aug 2016 20:46: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 DAF6D160AAD for ; Tue, 23 Aug 2016 22:46:21 +0200 (CEST) Received: (qmail 441 invoked by uid 500); 23 Aug 2016 20:46:21 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 363 invoked by uid 99); 23 Aug 2016 20:46:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 20:46:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C4D932C0151 for ; Tue, 23 Aug 2016 20:46:20 +0000 (UTC) Date: Tue, 23 Aug 2016 20:46:20 +0000 (UTC) From: "Chris Douglas (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13519) Make Path serializable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 Aug 2016 20:46:22 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433566#comment-15433566 ] Chris Douglas commented on HADOOP-13519: ---------------------------------------- +1 (whitespace looks fine, not sure why Jenkins is complaining). Why a float constant in hex? {noformat} + private static final long serialVersionUID = 0xad00f; {noformat} > Make Path serializable > ---------------------- > > Key: HADOOP-13519 > URL: https://issues.apache.org/jira/browse/HADOOP-13519 > Project: Hadoop Common > Issue Type: Improvement > Components: io > Affects Versions: 2.7.2 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Attachments: HADOOP-13519-branch-2-001.patch, HADOOP-13519-branch-2-002.patch > > > If you could make Hadoop Paths serializable, you can use them in Spark operations without having to convert them to and from URIs. > It's trivial for paths to support this; as well as the OS code we need to add a check that there's no null URI coming in over the wire, and test to validate round tripping -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org