[jira] [Updated] (HBASE-3270) When we create the .version file, we should create it in a tmp location and then move it into place

2014-08-01 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-3270:
--

Status: Patch Available  (was: Open)

 When we create the .version file, we should create it in a tmp location and 
 then move it into place
 ---

 Key: HBASE-3270
 URL: https://issues.apache.org/jira/browse/HBASE-3270
 Project: HBase
  Issue Type: Improvement
  Components: master
Reporter: stack
Assignee: Andrew Purtell
Priority: Minor
  Labels: newbie
 Fix For: 0.99.0, 0.98.5, 2.0.0

 Attachments: HBASE-3270.patch


 Todd suggests over in HBASE-3258 that writing hbase.version, we should write 
 it off in a /tmp location and then move it into place after writing it to 
 protect against case where file writer crashes between creation and write.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-3270) When we create the .version file, we should create it in a tmp location and then move it into place

2014-08-01 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-3270:
--

Attachment: HBASE-3270.patch

 When we create the .version file, we should create it in a tmp location and 
 then move it into place
 ---

 Key: HBASE-3270
 URL: https://issues.apache.org/jira/browse/HBASE-3270
 Project: HBase
  Issue Type: Improvement
  Components: master
Reporter: stack
Priority: Minor
  Labels: newbie
 Fix For: 0.99.0, 0.98.5, 2.0.0

 Attachments: HBASE-3270.patch


 Todd suggests over in HBASE-3258 that writing hbase.version, we should write 
 it off in a /tmp location and then move it into place after writing it to 
 protect against case where file writer crashes between creation and write.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-3270) When we create the .version file, we should create it in a tmp location and then move it into place

2014-08-01 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-3270:
--

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

Committed to 0.98+. 

 When we create the .version file, we should create it in a tmp location and 
 then move it into place
 ---

 Key: HBASE-3270
 URL: https://issues.apache.org/jira/browse/HBASE-3270
 Project: HBase
  Issue Type: Improvement
  Components: master
Reporter: stack
Assignee: Andrew Purtell
Priority: Minor
  Labels: newbie
 Fix For: 0.99.0, 0.98.5, 2.0.0

 Attachments: HBASE-3270.patch


 Todd suggests over in HBASE-3258 that writing hbase.version, we should write 
 it off in a /tmp location and then move it into place after writing it to 
 protect against case where file writer crashes between creation and write.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-3270) When we create the .version file, we should create it in a tmp location and then move it into place

2014-07-30 Thread Sean Busbey (JIRA)

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

Sean Busbey updated HBASE-3270:
---

Labels: newbie  (was: )

 When we create the .version file, we should create it in a tmp location and 
 then move it into place
 ---

 Key: HBASE-3270
 URL: https://issues.apache.org/jira/browse/HBASE-3270
 Project: HBase
  Issue Type: Improvement
  Components: master
Reporter: stack
Priority: Minor
  Labels: newbie
 Fix For: 0.99.0, 0.98.5, 2.0.0


 Todd suggests over in HBASE-3258 that writing hbase.version, we should write 
 it off in a /tmp location and then move it into place after writing it to 
 protect against case where file writer crashes between creation and write.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-3270) When we create the .version file, we should create it in a tmp location and then move it into place

2014-07-18 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-3270:
--

Fix Version/s: 2.0.0
   0.98.5
   0.99.0

Still worth doing? I checked FSUtils#setVersion and we still don't do as 
suggested on this issue.

 When we create the .version file, we should create it in a tmp location and 
 then move it into place
 ---

 Key: HBASE-3270
 URL: https://issues.apache.org/jira/browse/HBASE-3270
 Project: HBase
  Issue Type: Improvement
  Components: master
Reporter: stack
Priority: Minor
 Fix For: 0.99.0, 0.98.5, 2.0.0


 Todd suggests over in HBASE-3258 that writing hbase.version, we should write 
 it off in a /tmp location and then move it into place after writing it to 
 protect against case where file writer crashes between creation and write.



--
This message was sent by Atlassian JIRA
(v6.2#6252)