From hdfs-issues-return-281278-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Sat Aug 31 10:26:05 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A978C18063F for ; Sat, 31 Aug 2019 12:26:04 +0200 (CEST) Received: (qmail 57120 invoked by uid 500); 31 Aug 2019 10:26:02 -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 56997 invoked by uid 99); 31 Aug 2019 10:26:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2019 10:26:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1933DE30E4 for ; Sat, 31 Aug 2019 10:26:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 17604780AE6 for ; Sat, 31 Aug 2019 10:26:00 +0000 (UTC) Date: Sat, 31 Aug 2019 10:26:00 +0000 (UTC) From: "Ranith Sardar (Jira)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-14777) RBF: Set ReadOnly is failing for mount Table but actually readonly succed to set 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-14777?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1692= 0087#comment-16920087 ]=20 Ranith Sardar commented on HDFS-14777: -------------------------------------- Thanks, [~elgoiri]=C2=A0for reviewing.=C2=A0 In my current patch, used a function to check quota updated or not (RouterA= dminServer#isQuotaUpdated). Also, fix toString().=C2=A0 > RBF: Set ReadOnly is failing for mount Table but actually readonly succed= to set > -------------------------------------------------------------------------= ------- > > Key: HDFS-14777 > URL: https://issues.apache.org/jira/browse/HDFS-14777 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Ranith Sardar > Assignee: Ranith Sardar > Priority: Major > Attachments: HDFS-14777.001.patch, HDFS-14777.002.patch, HDFS-147= 77.003.patch > > > # hdfs dfsrouteradmin -update /test hacluster /test -readonly=C2=A0/opt/c= lient # hdfs dfsrouteradmin -update /test hacluster /test -readonly=C2=A0up= date: /test is in a read only mount pointorg.apache.hadoop.ipc.RemoteExcept= ion(java.io.IOException): /test is in a read only mount point at org.apache= .hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(R= outerRpcServer.java:1419) at org.apache.hadoop.hdfs.server.federation.route= r.Quota.getQuotaRemoteLocations(Quota.java:217) at org.apache.hadoop.hdfs.s= erver.federation.router.Quota.setQuota(Quota.java:75) at org.apache.hadoop.= hdfs.server.federation.router.RouterAdminServer.synchronizeQuota(RouterAdmi= nServer.java:288) at org.apache.hadoop.hdfs.server.federation.router.Router= AdminServer.updateMountTableEntry(RouterAdminServer.java:267) -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org