[jira] [Updated] (HDFS-5519) COMMIT handler should update the commit status after sync

2013-11-18 Thread Brandon Li (JIRA)

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

Brandon Li updated HDFS-5519:
-

Fix Version/s: 2.2.1

 COMMIT handler should update the commit status after sync
 -

 Key: HDFS-5519
 URL: https://issues.apache.org/jira/browse/HDFS-5519
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: nfs
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor
 Fix For: 2.2.1

 Attachments: HDFS-5519.001.patch, HDFS-5519.patch


 The problem was found during test with Windows NFS client.
 After hsync, OpenFileCtx#checkCommit() should update COMMIT_DO_SYNC to 
 COMMIT_FINISHED. Otherwise, the caller could throw run time exception since 
 COMMIT_DO_SYNC is not expected.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HDFS-5519) COMMIT handler should update the commit status after sync

2013-11-18 Thread Brandon Li (JIRA)

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

Brandon Li updated HDFS-5519:
-

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

 COMMIT handler should update the commit status after sync
 -

 Key: HDFS-5519
 URL: https://issues.apache.org/jira/browse/HDFS-5519
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: nfs
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor
 Fix For: 2.2.1

 Attachments: HDFS-5519.001.patch, HDFS-5519.patch


 The problem was found during test with Windows NFS client.
 After hsync, OpenFileCtx#checkCommit() should update COMMIT_DO_SYNC to 
 COMMIT_FINISHED. Otherwise, the caller could throw run time exception since 
 COMMIT_DO_SYNC is not expected.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HDFS-5519) COMMIT handler should update the commit status after sync

2013-11-15 Thread Brandon Li (JIRA)

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

Brandon Li updated HDFS-5519:
-

Status: Patch Available  (was: Open)

 COMMIT handler should update the commit status after sync
 -

 Key: HDFS-5519
 URL: https://issues.apache.org/jira/browse/HDFS-5519
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: nfs
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor
 Attachments: HDFS-5519.patch


 The problem was found during test with Windows NFS client.
 After hsync, OpenFileCtx#checkCommit() should update COMMIT_DO_SYNC to 
 COMMIT_FINISHED. Otherwise, the caller could throw run time exception since 
 COMMIT_DO_SYNC is not expected.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HDFS-5519) COMMIT handler should update the commit status after sync

2013-11-15 Thread Brandon Li (JIRA)

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

Brandon Li updated HDFS-5519:
-

Attachment: HDFS-5519.patch

 COMMIT handler should update the commit status after sync
 -

 Key: HDFS-5519
 URL: https://issues.apache.org/jira/browse/HDFS-5519
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: nfs
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor
 Attachments: HDFS-5519.patch


 The problem was found during test with Windows NFS client.
 After hsync, OpenFileCtx#checkCommit() should update COMMIT_DO_SYNC to 
 COMMIT_FINISHED. Otherwise, the caller could throw run time exception since 
 COMMIT_DO_SYNC is not expected.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HDFS-5519) COMMIT handler should update the commit status after sync

2013-11-15 Thread Brandon Li (JIRA)

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

Brandon Li updated HDFS-5519:
-

Attachment: HDFS-5519.001.patch

Updated the patch with new unit tests.

 COMMIT handler should update the commit status after sync
 -

 Key: HDFS-5519
 URL: https://issues.apache.org/jira/browse/HDFS-5519
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: nfs
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor
 Attachments: HDFS-5519.001.patch, HDFS-5519.patch


 The problem was found during test with Windows NFS client.
 After hsync, OpenFileCtx#checkCommit() should update COMMIT_DO_SYNC to 
 COMMIT_FINISHED. Otherwise, the caller could throw run time exception since 
 COMMIT_DO_SYNC is not expected.



--
This message was sent by Atlassian JIRA
(v6.1#6144)