From hdfs-issues-return-215493-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu Apr 5 00:04:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4FF92180677 for ; Thu, 5 Apr 2018 00:04:04 +0200 (CEST) Received: (qmail 46564 invoked by uid 500); 4 Apr 2018 22:04:03 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 46550 invoked by uid 99); 4 Apr 2018 22:04:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2018 22:04:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D56E6C69DA for ; Wed, 4 Apr 2018 22:04:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2Skygj_LSu9x for ; Wed, 4 Apr 2018 22:04:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2B2445FAC8 for ; Wed, 4 Apr 2018 22:04:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 90690E00CA for ; Wed, 4 Apr 2018 22:04:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1FF1A2561B for ; Wed, 4 Apr 2018 22:04:00 +0000 (UTC) Date: Wed, 4 Apr 2018 22:04:00 +0000 (UTC) From: =?utf-8?Q?=C3=8D=C3=B1igo_Goiri_=28JIRA=29?= To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-13045) RBF: Improve error message returned from subcluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-13045?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] =C3=8D=C3=B1igo Goiri updated HDFS-13045: ------------------------------- Attachment: (was: HDFS-13045.003.patch) > RBF: Improve error message returned from subcluster > --------------------------------------------------- > > Key: HDFS-13045 > URL: https://issues.apache.org/jira/browse/HDFS-13045 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Wei Yan > Assignee: Wei Yan > Priority: Minor > Attachments: HDFS-13045.000.patch, HDFS-13045.001.patch, HDFS-130= 45.002.patch > > > Currently, Router directly returns exception response from subcluster to = client, which may not have the=C2=A0correct error message, especially when = the error message containing a path. > One example, we have a mount path "/a/b" mapped to subclusterA's "/c/d". = If=C2=A0user1 does a=C2=A0chown=C2=A0operation on "/a/b",=C2=A0and he doesn= 't have corresponding privilege, currently the error msg looks like "Permis= sion denied. user=3Duser1 is not the owner of inode=3D/c/d", which may conf= use user. Would be better to reverse the path back to original mount path. > =C2=A0 > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org