[
https://issues.apache.org/jira/browse/HDFS-14777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928265#comment-16928265
]
Surendra Singh Lilhore commented on HDFS-14777:
-----------------------------------------------
Thanks [~ayushtkn],
{quote}The sync only can success when the cache hasn't been refreshed before
the comparison
{quote}
Good point, this is possible. You can handle this in HDFS-14833.
> RBF: Set ReadOnly is failing for mount Table but actually readonly succeed 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
> Fix For: 3.3.0
>
> Attachments: HDFS-14777.001.patch, HDFS-14777.002.patch,
> HDFS-14777.003.patch, HDFS-14777.004.patch
>
>
> # hdfs dfsrouteradmin -update /test hacluster /test -readonly /opt/client #
> hdfs dfsrouteradmin -update /test hacluster /test -readonly update: /test is
> in a read only mount
> pointorg.apache.hadoop.ipc.RemoteException(java.io.IOException): /test is in
> a read only mount point at
> org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:1419)
> at
> org.apache.hadoop.hdfs.server.federation.router.Quota.getQuotaRemoteLocations(Quota.java:217)
> at
> org.apache.hadoop.hdfs.server.federation.router.Quota.setQuota(Quota.java:75)
> at
> org.apache.hadoop.hdfs.server.federation.router.RouterAdminServer.synchronizeQuota(RouterAdminServer.java:288)
> at
> org.apache.hadoop.hdfs.server.federation.router.RouterAdminServer.updateMountTableEntry(RouterAdminServer.java:267)
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]