Skip to content

Commit f2215d9

Browse files
committed
HDFS-6112. NFS Gateway docs are incorrect for allowed hosts configuration. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1579097 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4929445 commit f2215d9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ Release 2.5.0 - UNRELEASED
262262

263263
BUG FIXES
264264

265+
HDFS-6112. NFS Gateway docs are incorrect for allowed hosts configuration.
266+
(atm)
267+
265268
Release 2.4.0 - UNRELEASED
266269

267270
INCOMPATIBLE CHANGES

hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsNfsGateway.apt.vm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ HDFS NFS Gateway
161161
* By default, the export can be mounted by any client. To better control the access,
162162
users can update the following property. The value string contains machine name and
163163
access privilege, separated by whitespace
164-
characters. Machine name format can be single host, wildcards, and IPv4 networks.The
165-
access privilege uses rw or ro to specify readwrite or readonly access of the machines to exports. If the access
164+
characters. The machine name format can be a single host, a Java regular expression, or an IPv4 address. The
165+
access privilege uses rw or ro to specify read/write or read-only access of the machines to exports. If the access
166166
privilege is not provided, the default is read-only. Entries are separated by ";".
167-
For example: "192.168.0.0/22 rw ; host*.example.com ; host1.test.org ro;". Only NFS gateway needs to restart after
167+
For example: "192.168.0.0/22 rw ; host.*\.example\.com ; host1.test.org ro;". Only the NFS gateway needs to restart after
168168
this property is updated.
169169

170170
----

0 commit comments

Comments
 (0)