[jira] [Updated] (HDFS-5962) Mtime and atime are not persisted for symbolic links

2014-02-20 Thread Kihwal Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kihwal Lee updated HDFS-5962:
-

   Resolution: Fixed
Fix Version/s: 2.4.0
   3.0.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

I've committed this to trunk, branch-2 and branch-2.4. Thanks for working on 
the fix, Akira.

 Mtime and atime are not persisted for symbolic links
 

 Key: HDFS-5962
 URL: https://issues.apache.org/jira/browse/HDFS-5962
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: Kihwal Lee
Assignee: Akira AJISAKA
Priority: Critical
 Fix For: 3.0.0, 2.4.0

 Attachments: HDFS-5692.patch, HDFS-5962.2.patch, HDFS-5962.3.patch, 
 HDFS-5962.4.patch, HDFS-5962.5.patch


 In {{FSImageSerialization}}, the mtime and atime of symbolic links are 
 hardcoded to be 0 when saving to fsimage, even though they are recorded in 
 memory and shown in the listing until restarting namenode.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HDFS-5962) Mtime and atime are not persisted for symbolic links

2014-02-19 Thread Kihwal Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kihwal Lee updated HDFS-5962:
-

Summary: Mtime and atime are not persisted for symbolic links  (was: Mtime 
is not persisted for symbolic links)

 Mtime and atime are not persisted for symbolic links
 

 Key: HDFS-5962
 URL: https://issues.apache.org/jira/browse/HDFS-5962
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: Kihwal Lee
Assignee: Akira AJISAKA
Priority: Critical
 Attachments: HDFS-5692.patch, HDFS-5962.2.patch


 In {{FSImageSerialization}}, the mtime symbolic links is hardcoded to be 0 
 when saving to fsimage, even though it is recorded in memory and shown in the 
 listing until restarting namenode.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HDFS-5962) Mtime and atime are not persisted for symbolic links

2014-02-19 Thread Kihwal Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kihwal Lee updated HDFS-5962:
-

Description: In {{FSImageSerialization}}, the mtime and atime of symbolic 
links are hardcoded to be 0 when saving to fsimage, even though they are 
recorded in memory and shown in the listing until restarting namenode.  (was: 
In {{FSImageSerialization}}, the mtime symbolic links is hardcoded to be 0 when 
saving to fsimage, even though it is recorded in memory and shown in the 
listing until restarting namenode.)

 Mtime and atime are not persisted for symbolic links
 

 Key: HDFS-5962
 URL: https://issues.apache.org/jira/browse/HDFS-5962
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: Kihwal Lee
Assignee: Akira AJISAKA
Priority: Critical
 Attachments: HDFS-5692.patch, HDFS-5962.2.patch


 In {{FSImageSerialization}}, the mtime and atime of symbolic links are 
 hardcoded to be 0 when saving to fsimage, even though they are recorded in 
 memory and shown in the listing until restarting namenode.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HDFS-5962) Mtime and atime are not persisted for symbolic links

2014-02-19 Thread Akira AJISAKA (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira AJISAKA updated HDFS-5962:


Attachment: HDFS-5962.3.patch

Thanks [~kihwal], added a test-case for loading atime and mtime.

 Mtime and atime are not persisted for symbolic links
 

 Key: HDFS-5962
 URL: https://issues.apache.org/jira/browse/HDFS-5962
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: Kihwal Lee
Assignee: Akira AJISAKA
Priority: Critical
 Attachments: HDFS-5692.patch, HDFS-5962.2.patch, HDFS-5962.3.patch


 In {{FSImageSerialization}}, the mtime and atime of symbolic links are 
 hardcoded to be 0 when saving to fsimage, even though they are recorded in 
 memory and shown in the listing until restarting namenode.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HDFS-5962) Mtime and atime are not persisted for symbolic links

2014-02-19 Thread Akira AJISAKA (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira AJISAKA updated HDFS-5962:


Attachment: HDFS-5962.4.patch

Rebased the patch for the latest trunk.

 Mtime and atime are not persisted for symbolic links
 

 Key: HDFS-5962
 URL: https://issues.apache.org/jira/browse/HDFS-5962
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: Kihwal Lee
Assignee: Akira AJISAKA
Priority: Critical
 Attachments: HDFS-5692.patch, HDFS-5962.2.patch, HDFS-5962.3.patch, 
 HDFS-5962.4.patch


 In {{FSImageSerialization}}, the mtime and atime of symbolic links are 
 hardcoded to be 0 when saving to fsimage, even though they are recorded in 
 memory and shown in the listing until restarting namenode.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HDFS-5962) Mtime and atime are not persisted for symbolic links

2014-02-19 Thread Akira AJISAKA (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira AJISAKA updated HDFS-5962:


Attachment: HDFS-5962.5.patch

Fixed LsrPBImage.java to output the mtime of symlinks.

 Mtime and atime are not persisted for symbolic links
 

 Key: HDFS-5962
 URL: https://issues.apache.org/jira/browse/HDFS-5962
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: Kihwal Lee
Assignee: Akira AJISAKA
Priority: Critical
 Attachments: HDFS-5692.patch, HDFS-5962.2.patch, HDFS-5962.3.patch, 
 HDFS-5962.4.patch, HDFS-5962.5.patch


 In {{FSImageSerialization}}, the mtime and atime of symbolic links are 
 hardcoded to be 0 when saving to fsimage, even though they are recorded in 
 memory and shown in the listing until restarting namenode.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)