[jira] [Updated] (HDFS-8151) Always use snapshot path as source when invalid snapshot names are used for diff based distcp

2017-01-05 Thread Junping Du (JIRA)

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

Junping Du updated HDFS-8151:
-
Fix Version/s: 2.8.0

> Always use snapshot path as source when invalid snapshot names are used for 
> diff based distcp
> -
>
> Key: HDFS-8151
> URL: https://issues.apache.org/jira/browse/HDFS-8151
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: distcp
>Affects Versions: 2.7.0
>Reporter: Sushmitha Sreenivasan
>Assignee: Jing Zhao
>Priority: Minor
> Fix For: 2.8.0, 2.7.1, 3.0.0-alpha1
>
> Attachments: HDFS-8151.000.patch
>
>
> This is a bug reported by [~ssreenivasan]:
> HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
> should also happen when
> # invalid snapshot names are provided as distcp parameters thus the diff 
> report computation on the target cluster fails
> # there is modification happening in the target cluster thus 
> {{checkNoChange}} returns false
> In other cases like source and target FS are not DistributedFileSystem, we 
> should throw exceptions.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-8151) Always use snapshot path as source when invalid snapshot names are used for diff based distcp

2015-04-15 Thread Jing Zhao (JIRA)

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

Jing Zhao updated HDFS-8151:

Description: 
This is a bug reported by [~ssreenivasan]:

HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
should also happen when
# invalid snapshot names are provided as distcp parameters thus the diff report 
computation on the target cluster fails
# there is modification happening in the target cluster thus {{checkNoChange}} 
returns false

In other cases like source and target FS are not DistributedFileSystem, we 
should throw exceptions.

  was:
HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
should also happen when
# invalid snapshot names are provided as distcp parameters thus the diff report 
computation on the target cluster fails
# there is modification happening in the target cluster thus {{checkNoChange}} 
returns false

In other cases like source and target FS are not DistributedFileSystem, we 
should throw exceptions.


> Always use snapshot path as source when invalid snapshot names are used for 
> diff based distcp
> -
>
> Key: HDFS-8151
> URL: https://issues.apache.org/jira/browse/HDFS-8151
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: distcp
>Affects Versions: 2.7.0
>Reporter: Jing Zhao
>Assignee: Jing Zhao
>Priority: Minor
> Fix For: 2.7.1
>
> Attachments: HDFS-8151.000.patch
>
>
> This is a bug reported by [~ssreenivasan]:
> HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
> should also happen when
> # invalid snapshot names are provided as distcp parameters thus the diff 
> report computation on the target cluster fails
> # there is modification happening in the target cluster thus 
> {{checkNoChange}} returns false
> In other cases like source and target FS are not DistributedFileSystem, we 
> should throw exceptions.



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


[jira] [Updated] (HDFS-8151) Always use snapshot path as source when invalid snapshot names are used for diff based distcp

2015-04-15 Thread Jing Zhao (JIRA)

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

Jing Zhao updated HDFS-8151:

Reporter: Sushmitha Sreenivasan  (was: Jing Zhao)

> Always use snapshot path as source when invalid snapshot names are used for 
> diff based distcp
> -
>
> Key: HDFS-8151
> URL: https://issues.apache.org/jira/browse/HDFS-8151
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: distcp
>Affects Versions: 2.7.0
>Reporter: Sushmitha Sreenivasan
>Assignee: Jing Zhao
>Priority: Minor
> Fix For: 2.7.1
>
> Attachments: HDFS-8151.000.patch
>
>
> This is a bug reported by [~ssreenivasan]:
> HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
> should also happen when
> # invalid snapshot names are provided as distcp parameters thus the diff 
> report computation on the target cluster fails
> # there is modification happening in the target cluster thus 
> {{checkNoChange}} returns false
> In other cases like source and target FS are not DistributedFileSystem, we 
> should throw exceptions.



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


[jira] [Updated] (HDFS-8151) Always use snapshot path as source when invalid snapshot names are used for diff based distcp

2015-04-15 Thread Jing Zhao (JIRA)

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

Jing Zhao updated HDFS-8151:

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

Thanks for the review, Nicholas! I've committed this.

> Always use snapshot path as source when invalid snapshot names are used for 
> diff based distcp
> -
>
> Key: HDFS-8151
> URL: https://issues.apache.org/jira/browse/HDFS-8151
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: distcp
>Affects Versions: 2.7.0
>Reporter: Jing Zhao
>Assignee: Jing Zhao
>Priority: Minor
> Fix For: 2.7.1
>
> Attachments: HDFS-8151.000.patch
>
>
> HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
> should also happen when
> # invalid snapshot names are provided as distcp parameters thus the diff 
> report computation on the target cluster fails
> # there is modification happening in the target cluster thus 
> {{checkNoChange}} returns false
> In other cases like source and target FS are not DistributedFileSystem, we 
> should throw exceptions.



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


[jira] [Updated] (HDFS-8151) Always use snapshot path as source when invalid snapshot names are used for diff based distcp

2015-04-15 Thread Tsz Wo Nicholas Sze (JIRA)

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

Tsz Wo Nicholas Sze updated HDFS-8151:
--
Hadoop Flags: Reviewed

+1 patch looks good.

> Always use snapshot path as source when invalid snapshot names are used for 
> diff based distcp
> -
>
> Key: HDFS-8151
> URL: https://issues.apache.org/jira/browse/HDFS-8151
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: distcp
>Affects Versions: 2.7.0
>Reporter: Jing Zhao
>Assignee: Jing Zhao
>Priority: Minor
> Attachments: HDFS-8151.000.patch
>
>
> HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
> should also happen when
> # invalid snapshot names are provided as distcp parameters thus the diff 
> report computation on the target cluster fails
> # there is modification happening in the target cluster thus 
> {{checkNoChange}} returns false
> In other cases like source and target FS are not DistributedFileSystem, we 
> should throw exceptions.



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


[jira] [Updated] (HDFS-8151) Always use snapshot path as source when invalid snapshot names are used for diff based distcp

2015-04-15 Thread Jing Zhao (JIRA)

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

Jing Zhao updated HDFS-8151:

Affects Version/s: 2.7.0

> Always use snapshot path as source when invalid snapshot names are used for 
> diff based distcp
> -
>
> Key: HDFS-8151
> URL: https://issues.apache.org/jira/browse/HDFS-8151
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: distcp
>Affects Versions: 2.7.0
>Reporter: Jing Zhao
>Assignee: Jing Zhao
>Priority: Minor
> Attachments: HDFS-8151.000.patch
>
>
> HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
> should also happen when
> # invalid snapshot names are provided as distcp parameters thus the diff 
> report computation on the target cluster fails
> # there is modification happening in the target cluster thus 
> {{checkNoChange}} returns false
> In other cases like source and target FS are not DistributedFileSystem, we 
> should throw exceptions.



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


[jira] [Updated] (HDFS-8151) Always use snapshot path as source when invalid snapshot names are used for diff based distcp

2015-04-15 Thread Jing Zhao (JIRA)

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

Jing Zhao updated HDFS-8151:

Component/s: distcp

> Always use snapshot path as source when invalid snapshot names are used for 
> diff based distcp
> -
>
> Key: HDFS-8151
> URL: https://issues.apache.org/jira/browse/HDFS-8151
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: distcp
>Affects Versions: 2.7.0
>Reporter: Jing Zhao
>Assignee: Jing Zhao
>Priority: Minor
> Attachments: HDFS-8151.000.patch
>
>
> HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
> should also happen when
> # invalid snapshot names are provided as distcp parameters thus the diff 
> report computation on the target cluster fails
> # there is modification happening in the target cluster thus 
> {{checkNoChange}} returns false
> In other cases like source and target FS are not DistributedFileSystem, we 
> should throw exceptions.



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


[jira] [Updated] (HDFS-8151) Always use snapshot path as source when invalid snapshot names are used for diff based distcp

2015-04-15 Thread Jing Zhao (JIRA)

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

Jing Zhao updated HDFS-8151:

Status: Patch Available  (was: Open)

> Always use snapshot path as source when invalid snapshot names are used for 
> diff based distcp
> -
>
> Key: HDFS-8151
> URL: https://issues.apache.org/jira/browse/HDFS-8151
> Project: Hadoop HDFS
>  Issue Type: Bug
>Reporter: Jing Zhao
>Assignee: Jing Zhao
>Priority: Minor
> Attachments: HDFS-8151.000.patch
>
>
> HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
> should also happen when
> # invalid snapshot names are provided as distcp parameters thus the diff 
> report computation on the target cluster fails
> # there is modification happening in the target cluster thus 
> {{checkNoChange}} returns false
> In other cases like source and target FS are not DistributedFileSystem, we 
> should throw exceptions.



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


[jira] [Updated] (HDFS-8151) Always use snapshot path as source when invalid snapshot names are used for diff based distcp

2015-04-15 Thread Jing Zhao (JIRA)

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

Jing Zhao updated HDFS-8151:

Attachment: HDFS-8151.000.patch

Patch to fix.

> Always use snapshot path as source when invalid snapshot names are used for 
> diff based distcp
> -
>
> Key: HDFS-8151
> URL: https://issues.apache.org/jira/browse/HDFS-8151
> Project: Hadoop HDFS
>  Issue Type: Bug
>Reporter: Jing Zhao
>Assignee: Jing Zhao
>Priority: Minor
> Attachments: HDFS-8151.000.patch
>
>
> HDFS-8036 makes the diff-based distcp use snapshot path as the source. This 
> should also happen when
> # invalid snapshot names are provided as distcp parameters thus the diff 
> report computation on the target cluster fails
> # there is modification happening in the target cluster thus 
> {{checkNoChange}} returns false
> In other cases like source and target FS are not DistributedFileSystem, we 
> should throw exceptions.



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