[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-07 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267543#comment-14267543
 ] 

Hudson commented on HDFS-7564:
--

FAILURE: Integrated in Hadoop-Yarn-trunk #800 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/800/])
HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. 
Contributed by Yongjun Zhang (brandonli: rev 
788ee35e2bf0f3d445e03e6ea9bd02c40c8fdfe3)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestShellBasedIdMapping.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedIdMapping.java


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Fix For: 2.7.0

 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-07 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267661#comment-14267661
 ] 

Hudson commented on HDFS-7564:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #1998 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1998/])
HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. 
Contributed by Yongjun Zhang (brandonli: rev 
788ee35e2bf0f3d445e03e6ea9bd02c40c8fdfe3)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestShellBasedIdMapping.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedIdMapping.java


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Fix For: 2.7.0

 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-07 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267537#comment-14267537
 ] 

Hudson commented on HDFS-7564:
--

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #66 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/66/])
HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. 
Contributed by Yongjun Zhang (brandonli: rev 
788ee35e2bf0f3d445e03e6ea9bd02c40c8fdfe3)
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedIdMapping.java
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestShellBasedIdMapping.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Fix For: 2.7.0

 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-07 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267709#comment-14267709
 ] 

Hudson commented on HDFS-7564:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #67 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/67/])
HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. 
Contributed by Yongjun Zhang (brandonli: rev 
788ee35e2bf0f3d445e03e6ea9bd02c40c8fdfe3)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedIdMapping.java
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestShellBasedIdMapping.java


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Fix For: 2.7.0

 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-07 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267745#comment-14267745
 ] 

Hudson commented on HDFS-7564:
--

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2017 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2017/])
HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. 
Contributed by Yongjun Zhang (brandonli: rev 
788ee35e2bf0f3d445e03e6ea9bd02c40c8fdfe3)
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestShellBasedIdMapping.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedIdMapping.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Fix For: 2.7.0

 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-07 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267681#comment-14267681
 ] 

Hudson commented on HDFS-7564:
--

SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #63 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/63/])
HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. 
Contributed by Yongjun Zhang (brandonli: rev 
788ee35e2bf0f3d445e03e6ea9bd02c40c8fdfe3)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestShellBasedIdMapping.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedIdMapping.java


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Fix For: 2.7.0

 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-06 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14265858#comment-14265858
 ] 

Hadoop QA commented on HDFS-7564:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12690277/HDFS-7564.003.patch
  against trunk revision 4cd66f7.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-common-project/hadoop-common.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/9146//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9146//console

This message is automatically generated.

 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-06 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267058#comment-14267058
 ] 

Hudson commented on HDFS-7564:
--

FAILURE: Integrated in Hadoop-trunk-Commit #6820 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/6820/])
HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. 
Contributed by Yongjun Zhang (brandonli: rev 
788ee35e2bf0f3d445e03e6ea9bd02c40c8fdfe3)
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedIdMapping.java
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestShellBasedIdMapping.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Fix For: 2.7.0

 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-06 Thread Brandon Li (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267042#comment-14267042
 ] 

Brandon Li commented on HDFS-7564:
--

+1. I will commit the patch soon.

 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-06 Thread Brandon Li (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267052#comment-14267052
 ] 

Brandon Li commented on HDFS-7564:
--

I'll committed the patch. Thank you, [~yzhangal], for the contribution!


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-06 Thread Yongjun Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267198#comment-14267198
 ] 

Yongjun Zhang commented on HDFS-7564:
-

Many thanks Brandon!


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Fix For: 2.7.0

 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-05 Thread Yongjun Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14265806#comment-14265806
 ] 

Yongjun Zhang commented on HDFS-7564:
-

Hi [~brandonli],

Thanks much for the review again, I uploaded rev 003 to address your comments. 
I used the initial value null to avoid redundant initialization when the file 
exists.


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch, 
 HDFS-7564.003.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-05 Thread Brandon Li (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14264984#comment-14264984
 ] 

Brandon Li commented on HDFS-7564:
--

The new patch looks good. The metho initStaticMapping() seems redundant and can 
be replaced by updateStaticMapping(). Initializing statMapping might make the 
refactoring easier.
Also, please fix one of the findbugs warnings. 

 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-02 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14263446#comment-14263446
 ] 

Hadoop QA commented on HDFS-7564:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12689913/HDFS-7564.002.patch
  against trunk revision 947578c.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:red}-1 findbugs{color}.  The patch appears to introduce 3 new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-common-project/hadoop-common.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/9138//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HDFS-Build/9138//artifact/patchprocess/newPatchFindbugsWarningshadoop-common.html
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9138//console

This message is automatically generated.

 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-02 Thread Brandon Li (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14263164#comment-14263164
 ] 

Brandon Li commented on HDFS-7564:
--

Thanks [~yzhangal]. The patch looks good in general. 
It needs to be rebased after HDFS-7573 was committed. 
{quote}The patch reload the nfs.map file if the last modification time of this 
file is newer than last upload.{quote}
This can be a problem especially when the system time is modified.
{quote}
// Use Time.now() to be consistent with File#lastModified()
lastUpdateTimeStaticMap = Time.now();
{quote}
Why not get the file modification time directly? Next time we can just compare 
if it has been changed, and reload the file if the new timestamp is 
different(newer or older). 


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Attachments: HDFS-7564.001.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2015-01-02 Thread Yongjun Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14263434#comment-14263434
 ] 

Yongjun Zhang commented on HDFS-7564:
-

Hi [~brandonli],

Thanks a lot for your review, that's a very good suggestion! I just uploaded a 
new rev (002) to address it.



 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Attachments: HDFS-7564.001.patch, HDFS-7564.002.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2014-12-31 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14262477#comment-14262477
 ] 

Hadoop QA commented on HDFS-7564:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12689718/HDFS-7564.001.patch
  against trunk revision e7257ac.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:red}-1 findbugs{color}.  The patch appears to introduce 3 new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-common-project/hadoop-common.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/9136//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HDFS-Build/9136//artifact/patchprocess/newPatchFindbugsWarningshadoop-common.html
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9136//console

This message is automatically generated.

 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor
 Attachments: HDFS-7564.001.patch


 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2014-12-22 Thread Yongjun Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14255901#comment-14255901
 ] 

Yongjun Zhang commented on HDFS-7564:
-

HI Hari,

Thanks for reporting the issue. Would you please provide some more details 
about how the hang/fail relates to the loading of the map file? What's the 
symptom? is there any specific entry in the map file that's causing trouble? 
and some logs to would indicate that if there is any? Thanks.



 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor

 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that this is currently only loaded upon restart of the NFS gateway 
 would cause active clients to hang or fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2014-12-22 Thread Hari Sekhon (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14255911#comment-14255911
 ] 

Hari Sekhon commented on HDFS-7564:
---

It's not causing any hang... what I'm saying is that currently the UID/GID 
mapping file seems to only be loaded at NFS gateway startup... whereas it would 
be good to put a poll on the file and re-read + re-process it on changes say 
once every minute or on a SIGHUP or something.

At the moment haivng to restart the NFS gateway to pick up changes would result 
in the NFS mount points on clients hanging.

 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor

 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that this is currently only loaded upon restart of the NFS gateway 
 would cause active clients to hang or fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-7564) NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map

2014-12-22 Thread Yongjun Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14255929#comment-14255929
 ] 

Yongjun Zhang commented on HDFS-7564:
-

Thanks for the clarification Hari. 


 NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map
 

 Key: HDFS-7564
 URL: https://issues.apache.org/jira/browse/HDFS-7564
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: nfs
Affects Versions: 2.6.0
 Environment: HDP 2.2
Reporter: Hari Sekhon
Assignee: Yongjun Zhang
Priority: Minor

 Add dynamic reload of the NFS gateway UID/GID mappings file /etc/nfs.map 
 (default for static.id.mapping.file).
 It seems that the mappings file is currently only read upon restart of the 
 NFS gateway which would cause any active clients NFS mount points to hang or 
 fail.
 Regards,
 Hari Sekhon
 http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)