[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-11-06 Thread Sahil Takiar (JIRA)

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

Sahil Takiar updated HIVE-17953:

   Resolution: Fixed
Fix Version/s: 3.0.0
   Status: Resolved  (was: Patch Available)

Pushed to master.

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
>Priority: Trivial
> Fix For: 3.0.0
>
> Attachments: HIVE-17953.03.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-11-03 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Status: Patch Available  (was: Open)

Resumbitting the same patch - previous one didn't trigger the build job.

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
> Attachments: HIVE-17953.03.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-11-03 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Attachment: HIVE-17953.03.patch

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
> Attachments: HIVE-17953.03.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-11-03 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Attachment: (was: HIVE-17953.02.patch)

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-11-03 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Status: Open  (was: Patch Available)

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-11-01 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Status: Patch Available  (was: Open)

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
> Attachments: HIVE-17953.02.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-11-01 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Status: Open  (was: Patch Available)

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
> Attachments: HIVE-17953.02.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-11-01 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Attachment: HIVE-17953.02.patch

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
> Attachments: HIVE-17953.02.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-11-01 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Attachment: (was: HIVE-17953.01.patch)

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
> Attachments: HIVE-17953.02.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-10-31 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Attachment: HIVE-17953.01.patch

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
> Attachments: HIVE-17953.01.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HIVE-17953) Metrics should move to destination atomically

2017-10-31 Thread Alexander Kolbasov (JIRA)

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

Alexander Kolbasov updated HIVE-17953:
--
Status: Patch Available  (was: Open)

> Metrics should move to destination atomically
> -
>
> Key: HIVE-17953
> URL: https://issues.apache.org/jira/browse/HIVE-17953
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Alexander Kolbasov
>Assignee: Alexander Kolbasov
> Attachments: HIVE-17953.01.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the 
> assumption that{{Files.move()}} is atomic operation. It turns out that by 
> default it isn't, unless {{ATOMIC_MOVE}} option is specified. Otherwise the 
> destination file is unlinked and then the source file is copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)