[jira] [Updated] (HDFS-9625) set replication for empty file failed when set storage policy
[ https://issues.apache.org/jira/browse/HDFS-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-9625: Fix Version/s: 2.8.0 > set replication for empty file failed when set storage policy > -- > > Key: HDFS-9625 > URL: https://issues.apache.org/jira/browse/HDFS-9625 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode >Affects Versions: 2.7.1 >Reporter: DENG FEI >Assignee: DENG FEI > Fix For: 2.8.0, 2.7.3 > > Attachments: HDFS-9625.003.patch, HDFS-9625.004.patch, > patch.HDFS-9625.002, patch_HDFS-9625.20160107 > > > When setReplication, the FSDirectory#updateCount need calculate the > related storageTypes quota,but will check the file consume the ds quota is > positive. > Actually,it's may set replication after create file,like > JobSplitWriter#createSplitFiles. > It's also can reproduce on command shell: > 1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT > 2. hdfs dfs -touchz /tmp/test > 3. hdfs dfs -setrep 5 /tmp/test -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9625) set replication for empty file failed when set storage policy
[ https://issues.apache.org/jira/browse/HDFS-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinayakumar B updated HDFS-9625: Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 2.7.3 Status: Resolved (was: Patch Available) Thanks for the contribution [~Deng FEI]. Committed to trunk, branch-2, branch-2.8 and branch-2.7 > set replication for empty file failed when set storage policy > -- > > Key: HDFS-9625 > URL: https://issues.apache.org/jira/browse/HDFS-9625 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode >Affects Versions: 2.7.1 >Reporter: DENG FEI >Assignee: DENG FEI > Fix For: 2.7.3 > > Attachments: HDFS-9625.003.patch, HDFS-9625.004.patch, > patch.HDFS-9625.002, patch_HDFS-9625.20160107 > > > When setReplication, the FSDirectory#updateCount need calculate the > related storageTypes quota,but will check the file consume the ds quota is > positive. > Actually,it's may set replication after create file,like > JobSplitWriter#createSplitFiles. > It's also can reproduce on command shell: > 1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT > 2. hdfs dfs -touchz /tmp/test > 3. hdfs dfs -setrep 5 /tmp/test -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9625) set replication for empty file failed when set storage policy
[ https://issues.apache.org/jira/browse/HDFS-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] DENG FEI updated HDFS-9625: --- Attachment: HDFS-9625.004.patch > set replication for empty file failed when set storage policy > -- > > Key: HDFS-9625 > URL: https://issues.apache.org/jira/browse/HDFS-9625 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode >Affects Versions: 2.7.1 >Reporter: DENG FEI >Assignee: DENG FEI > Attachments: HDFS-9625.003.patch, HDFS-9625.004.patch, > patch.HDFS-9625.002, patch_HDFS-9625.20160107 > > > When setReplication, the FSDirectory#updateCount need calculate the > related storageTypes quota,but will check the file consume the ds quota is > positive. > Actually,it's may set replication after create file,like > JobSplitWriter#createSplitFiles. > It's also can reproduce on command shell: > 1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT > 2. hdfs dfs -touchz /tmp/test > 3. hdfs dfs -setrep 5 /tmp/test -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9625) set replication for empty file failed when set storage policy
[ https://issues.apache.org/jira/browse/HDFS-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] DENG FEI updated HDFS-9625: --- Attachment: HDFS-9625.003.patch > set replication for empty file failed when set storage policy > -- > > Key: HDFS-9625 > URL: https://issues.apache.org/jira/browse/HDFS-9625 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode >Affects Versions: 2.7.1 >Reporter: DENG FEI >Assignee: DENG FEI > Attachments: HDFS-9625.003.patch, patch.HDFS-9625.002, > patch_HDFS-9625.20160107 > > > When setReplication, the FSDirectory#updateCount need calculate the > related storageTypes quota,but will check the file consume the ds quota is > positive. > Actually,it's may set replication after create file,like > JobSplitWriter#createSplitFiles. > It's also can reproduce on command shell: > 1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT > 2. hdfs dfs -touchz /tmp/test > 3. hdfs dfs -setrep 5 /tmp/test -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9625) set replication for empty file failed when set storage policy
[ https://issues.apache.org/jira/browse/HDFS-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] DENG FEI updated HDFS-9625: --- Attachment: patch.HDFS-9625.002 > set replication for empty file failed when set storage policy > -- > > Key: HDFS-9625 > URL: https://issues.apache.org/jira/browse/HDFS-9625 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode >Affects Versions: 2.7.1 >Reporter: DENG FEI >Assignee: DENG FEI > Attachments: patch.HDFS-9625.002, patch_HDFS-9625.20160107 > > > When setReplication, the FSDirectory#updateCount need calculate the > related storageTypes quota,but will check the file consume the ds quota is > positive. > Actually,it's may set replication after create file,like > JobSplitWriter#createSplitFiles. > It's also can reproduce on command shell: > 1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT > 2. hdfs dfs -touchz /tmp/test > 3. hdfs dfs -setrep 5 /tmp/test -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9625) set replication for empty file failed when set storage policy
[ https://issues.apache.org/jira/browse/HDFS-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-9625: Status: Patch Available (was: Open) > set replication for empty file failed when set storage policy > -- > > Key: HDFS-9625 > URL: https://issues.apache.org/jira/browse/HDFS-9625 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode >Affects Versions: 2.7.1 >Reporter: DENG FEI >Assignee: DENG FEI > Attachments: patch_HDFS-9625.20160107 > > > When setReplication, the FSDirectory#updateCount need calculate the > related storageTypes quota,but will check the file consume the ds quota is > positive. > Actually,it's may set replication after create file,like > JobSplitWriter#createSplitFiles. > It's also can reproduce on command shell: > 1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT > 2. hdfs dfs -touchz /tmp/test > 3. hdfs dfs -setrep 5 /tmp/test -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9625) set replication for empty file failed when set storage policy
[ https://issues.apache.org/jira/browse/HDFS-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] danie deng updated HDFS-9625: - Component/s: namenode > set replication for empty file failed when set storage policy > -- > > Key: HDFS-9625 > URL: https://issues.apache.org/jira/browse/HDFS-9625 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode >Affects Versions: 2.7.1 >Reporter: danie deng >Assignee: danie deng > Attachments: patch_HDFS-9625.20160107 > > > When setReplication, the FSDirectory#updateCount need calculate the > lelated storageTypes quota,but will check the file consume the ds quota is > positive. > Actually,it's may set replication after create file,like > JobSplitWriter#createSplitFiles. > It's also can reproduce on command shell: > 1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT > 2. hdfs dfs -touchz /tmp/test > 3. hdfs dfs -setrep 5 /tmp/test -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9625) set replication for empty file failed when set storage policy
[ https://issues.apache.org/jira/browse/HDFS-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] danie deng updated HDFS-9625: - Description: When setReplication, the FSDirectory#updateCount need calculate the lelated storageTypes quota,but will check the file consume the ds quota is positive. Actually,it's may set replication after create file,like JobSplitWriter#createSplitFiles. It's also can reproduce on command shell: 1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT 2. hdfs dfs -touchz /tmp/test 3. hdfs dfs -setrep 5 /tmp/test was: When setReplication, the FSDirectory#updateCount need calculate the lelated storageTypes quota,but will check the file consume the ds quota is positive. Actually,it's may set replication after create file,like JobSplitWriter#createSplitFiles. It's also can reproduce on command shell. > set replication for empty file failed when set storage policy > -- > > Key: HDFS-9625 > URL: https://issues.apache.org/jira/browse/HDFS-9625 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: danie deng > Attachments: patch_HDFS-9625.20160107 > > > When setReplication, the FSDirectory#updateCount need calculate the > lelated storageTypes quota,but will check the file consume the ds quota is > positive. > Actually,it's may set replication after create file,like > JobSplitWriter#createSplitFiles. > It's also can reproduce on command shell: > 1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT > 2. hdfs dfs -touchz /tmp/test > 3. hdfs dfs -setrep 5 /tmp/test -- This message was sent by Atlassian JIRA (v6.3.4#6332)