1
0
Преглед на файлове

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
Aaron Myers преди 11 години
родител
ревизия
ed02d0c0ce
променени са 2 файла, в които са добавени 6 реда и са изтрити 3 реда
  1. 3 0
      hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
  2. 3 3
      hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsNfsGateway.apt.vm

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -262,6 +262,9 @@ Release 2.5.0 - UNRELEASED
 
   BUG FIXES 
 
+    HDFS-6112. NFS Gateway docs are incorrect for allowed hosts configuration.
+    (atm)
+
 Release 2.4.0 - UNRELEASED
 
   INCOMPATIBLE CHANGES

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

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