[jira] [Commented] (HDFS-14053) Provide ability for NN to re-replicate based on topology changes.
[ https://issues.apache.org/jira/browse/HDFS-14053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892840#comment-16892840 ] Wei-Chiu Chuang commented on HDFS-14053: Thanks Ayush. Yes it didn't land in 3.2.0. Updated the fixed version. > Provide ability for NN to re-replicate based on topology changes. > -- > > Key: HDFS-14053 > URL: https://issues.apache.org/jira/browse/HDFS-14053 > Project: Hadoop HDFS > Issue Type: Improvement > Environment: VMWare w/ local storage >Reporter: ellen johansen >Assignee: Hrishikesh Gadre >Priority: Major > Fix For: 3.3.0 > > Attachments: HADOOP-11391-001.patch, HADOOP-11391-002.patch, > HADOOP-11391-003.patch, HADOOP-11391-004.patch, HADOOP-11391-005.patch, > HADOOP-11391-006.patch > > > Enabling HVE/node awareness does not rebalance replicas on data that existed > prior to topology changes. > [root@vmw-d10-001 jenkins]# more /opt/cloudera/topology.data > 10.20.xxx.161 /rack1/nodegroup1 > 10.20.xxx.162 /rack1/nodegroup1 > 10.20.xxx.163 /rack3/nodegroup1 > 10.20.xxx.164 /rack3/nodegroup1 > 172.17.xxx.71 /rack2/nodegroup1 > 172.17.xxx.72 /rack2/nodegroup1 > before HVE: > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 10.20.xxx.163:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 172.17.xxx.72:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 6. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742220_1396 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 10.20.xxx.163:20002] > 7. BP-1184748135-172.17.xxx.71-1418235396548:blk_107374_1398 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 8. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742224_1400 > len=106721297 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 172.17.xxx.72:20002] > - > Before enabling HVE: > Status: HEALTHY > Total size: 1648156454 B (Total open files size: 498 B) > Total dirs: 138 > Total files: 384 > Total symlinks: 0 (Files currently being written: 6) > Total blocks (validated):390 (avg. block size 4226042 B) (Total open > file blocks (not validated): 6) > Minimally replicated blocks: 390 (100.0 %) > Over-replicated blocks: 0 (0.0 %) > Under-replicated blocks: 1 (0.25641027 %) > Mis-replicated blocks: 0 (0.0 %) > Default replication factor: 3 > Average block replication: 2.8564103 > Corrupt blocks: 0 > Missing replicas:5 (0.44682753 %) > Number of data-nodes:5 > Number of racks: 1 > FSCK ended at Wed Dec 10 14:04:35 EST 2014 in 50 milliseconds > The filesystem under path '/' is HEALTHY > -- > after HVE (and NN restart): > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 6. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742220
[jira] [Commented] (HDFS-14053) Provide ability for NN to re-replicate based on topology changes.
[ https://issues.apache.org/jira/browse/HDFS-14053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885907#comment-16885907 ] Ayush Saxena commented on HDFS-14053: - Seems this isn't present in 3.2.0. Its only in trunk. Guess need to change the fix version to 3.3.0. Give a check once!!! > Provide ability for NN to re-replicate based on topology changes. > -- > > Key: HDFS-14053 > URL: https://issues.apache.org/jira/browse/HDFS-14053 > Project: Hadoop HDFS > Issue Type: Improvement > Environment: VMWare w/ local storage >Reporter: ellen johansen >Assignee: Hrishikesh Gadre >Priority: Major > Fix For: 3.2.0 > > Attachments: HADOOP-11391-001.patch, HADOOP-11391-002.patch, > HADOOP-11391-003.patch, HADOOP-11391-004.patch, HADOOP-11391-005.patch, > HADOOP-11391-006.patch > > > Enabling HVE/node awareness does not rebalance replicas on data that existed > prior to topology changes. > [root@vmw-d10-001 jenkins]# more /opt/cloudera/topology.data > 10.20.xxx.161 /rack1/nodegroup1 > 10.20.xxx.162 /rack1/nodegroup1 > 10.20.xxx.163 /rack3/nodegroup1 > 10.20.xxx.164 /rack3/nodegroup1 > 172.17.xxx.71 /rack2/nodegroup1 > 172.17.xxx.72 /rack2/nodegroup1 > before HVE: > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 10.20.xxx.163:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 172.17.xxx.72:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 6. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742220_1396 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 10.20.xxx.163:20002] > 7. BP-1184748135-172.17.xxx.71-1418235396548:blk_107374_1398 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 8. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742224_1400 > len=106721297 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 172.17.xxx.72:20002] > - > Before enabling HVE: > Status: HEALTHY > Total size: 1648156454 B (Total open files size: 498 B) > Total dirs: 138 > Total files: 384 > Total symlinks: 0 (Files currently being written: 6) > Total blocks (validated):390 (avg. block size 4226042 B) (Total open > file blocks (not validated): 6) > Minimally replicated blocks: 390 (100.0 %) > Over-replicated blocks: 0 (0.0 %) > Under-replicated blocks: 1 (0.25641027 %) > Mis-replicated blocks: 0 (0.0 %) > Default replication factor: 3 > Average block replication: 2.8564103 > Corrupt blocks: 0 > Missing replicas:5 (0.44682753 %) > Number of data-nodes:5 > Number of racks: 1 > FSCK ended at Wed Dec 10 14:04:35 EST 2014 in 50 milliseconds > The filesystem under path '/' is HEALTHY > -- > after HVE (and NN restart): > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 6. BP-1184748
[jira] [Commented] (HDFS-14053) Provide ability for NN to re-replicate based on topology changes.
[ https://issues.apache.org/jira/browse/HDFS-14053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677196#comment-16677196 ] Xiao Chen commented on HDFS-14053: -- LGTM, thanks Hrishikesh > Provide ability for NN to re-replicate based on topology changes. > -- > > Key: HDFS-14053 > URL: https://issues.apache.org/jira/browse/HDFS-14053 > Project: Hadoop HDFS > Issue Type: Improvement > Environment: VMWare w/ local storage >Reporter: ellen johansen >Assignee: Hrishikesh Gadre >Priority: Major > Fix For: 3.2.0 > > Attachments: HADOOP-11391-001.patch, HADOOP-11391-002.patch, > HADOOP-11391-003.patch, HADOOP-11391-004.patch, HADOOP-11391-005.patch, > HADOOP-11391-006.patch > > > Enabling HVE/node awareness does not rebalance replicas on data that existed > prior to topology changes. > [root@vmw-d10-001 jenkins]# more /opt/cloudera/topology.data > 10.20.xxx.161 /rack1/nodegroup1 > 10.20.xxx.162 /rack1/nodegroup1 > 10.20.xxx.163 /rack3/nodegroup1 > 10.20.xxx.164 /rack3/nodegroup1 > 172.17.xxx.71 /rack2/nodegroup1 > 172.17.xxx.72 /rack2/nodegroup1 > before HVE: > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 10.20.xxx.163:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 172.17.xxx.72:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 6. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742220_1396 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 10.20.xxx.163:20002] > 7. BP-1184748135-172.17.xxx.71-1418235396548:blk_107374_1398 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 8. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742224_1400 > len=106721297 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 172.17.xxx.72:20002] > - > Before enabling HVE: > Status: HEALTHY > Total size: 1648156454 B (Total open files size: 498 B) > Total dirs: 138 > Total files: 384 > Total symlinks: 0 (Files currently being written: 6) > Total blocks (validated):390 (avg. block size 4226042 B) (Total open > file blocks (not validated): 6) > Minimally replicated blocks: 390 (100.0 %) > Over-replicated blocks: 0 (0.0 %) > Under-replicated blocks: 1 (0.25641027 %) > Mis-replicated blocks: 0 (0.0 %) > Default replication factor: 3 > Average block replication: 2.8564103 > Corrupt blocks: 0 > Missing replicas:5 (0.44682753 %) > Number of data-nodes:5 > Number of racks: 1 > FSCK ended at Wed Dec 10 14:04:35 EST 2014 in 50 milliseconds > The filesystem under path '/' is HEALTHY > -- > after HVE (and NN restart): > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 6. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742220_1396 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.
[jira] [Commented] (HDFS-14053) Provide ability for NN to re-replicate based on topology changes.
[ https://issues.apache.org/jira/browse/HDFS-14053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677181#comment-16677181 ] Hrishikesh Gadre commented on HDFS-14053: - [~xiaochen] thanks for reviewing and committing the patch. I have added a release note. Can you please review? > Provide ability for NN to re-replicate based on topology changes. > -- > > Key: HDFS-14053 > URL: https://issues.apache.org/jira/browse/HDFS-14053 > Project: Hadoop HDFS > Issue Type: Improvement > Environment: VMWare w/ local storage >Reporter: ellen johansen >Assignee: Hrishikesh Gadre >Priority: Major > Fix For: 3.2.0 > > Attachments: HADOOP-11391-001.patch, HADOOP-11391-002.patch, > HADOOP-11391-003.patch, HADOOP-11391-004.patch, HADOOP-11391-005.patch, > HADOOP-11391-006.patch > > > Enabling HVE/node awareness does not rebalance replicas on data that existed > prior to topology changes. > [root@vmw-d10-001 jenkins]# more /opt/cloudera/topology.data > 10.20.xxx.161 /rack1/nodegroup1 > 10.20.xxx.162 /rack1/nodegroup1 > 10.20.xxx.163 /rack3/nodegroup1 > 10.20.xxx.164 /rack3/nodegroup1 > 172.17.xxx.71 /rack2/nodegroup1 > 172.17.xxx.72 /rack2/nodegroup1 > before HVE: > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 10.20.xxx.163:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 172.17.xxx.72:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 6. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742220_1396 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 10.20.xxx.163:20002] > 7. BP-1184748135-172.17.xxx.71-1418235396548:blk_107374_1398 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 8. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742224_1400 > len=106721297 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 172.17.xxx.72:20002] > - > Before enabling HVE: > Status: HEALTHY > Total size: 1648156454 B (Total open files size: 498 B) > Total dirs: 138 > Total files: 384 > Total symlinks: 0 (Files currently being written: 6) > Total blocks (validated):390 (avg. block size 4226042 B) (Total open > file blocks (not validated): 6) > Minimally replicated blocks: 390 (100.0 %) > Over-replicated blocks: 0 (0.0 %) > Under-replicated blocks: 1 (0.25641027 %) > Mis-replicated blocks: 0 (0.0 %) > Default replication factor: 3 > Average block replication: 2.8564103 > Corrupt blocks: 0 > Missing replicas:5 (0.44682753 %) > Number of data-nodes:5 > Number of racks: 1 > FSCK ended at Wed Dec 10 14:04:35 EST 2014 in 50 milliseconds > The filesystem under path '/' is HEALTHY > -- > after HVE (and NN restart): > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 6. BP-118474813
[jira] [Commented] (HDFS-14053) Provide ability for NN to re-replicate based on topology changes.
[ https://issues.apache.org/jira/browse/HDFS-14053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676198#comment-16676198 ] Hudson commented on HDFS-14053: --- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15365 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/15365/]) HDFS-14053. Provide ability for NN to re-replicate based on topology (xiao: rev ffc9c50e074aeca804674c6e1e6b0f1eb629e230) * (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/DFSTestUtil.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlocksWithNotEnoughRacks.java > Provide ability for NN to re-replicate based on topology changes. > -- > > Key: HDFS-14053 > URL: https://issues.apache.org/jira/browse/HDFS-14053 > Project: Hadoop HDFS > Issue Type: Improvement > Environment: VMWare w/ local storage >Reporter: ellen johansen >Assignee: Hrishikesh Gadre >Priority: Major > Fix For: 3.2.0 > > Attachments: HADOOP-11391-001.patch, HADOOP-11391-002.patch, > HADOOP-11391-003.patch, HADOOP-11391-004.patch, HADOOP-11391-005.patch, > HADOOP-11391-006.patch > > > Enabling HVE/node awareness does not rebalance replicas on data that existed > prior to topology changes. > [root@vmw-d10-001 jenkins]# more /opt/cloudera/topology.data > 10.20.xxx.161 /rack1/nodegroup1 > 10.20.xxx.162 /rack1/nodegroup1 > 10.20.xxx.163 /rack3/nodegroup1 > 10.20.xxx.164 /rack3/nodegroup1 > 172.17.xxx.71 /rack2/nodegroup1 > 172.17.xxx.72 /rack2/nodegroup1 > before HVE: > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 10.20.xxx.163:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 172.17.xxx.72:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 6. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742220_1396 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 10.20.xxx.163:20002] > 7. BP-1184748135-172.17.xxx.71-1418235396548:blk_107374_1398 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 8. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742224_1400 > len=106721297 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 172.17.xxx.72:20002] > - > Before enabling HVE: > Status: HEALTHY > Total size: 1648156454 B (Total open files size: 498 B) > Total dirs: 138 > Total files: 384 > Total symlinks: 0 (Files currently being written: 6) > Total blocks (validated):390 (avg. block size 4226042 B) (Total open > file blocks (not validated): 6) > Minimally replicated blocks: 390 (100.0 %) > Over-replicated blocks: 0 (0.0 %) > Under-replicated blocks: 1 (0.25641027 %) > Mis-replicated blocks: 0 (0.0 %) > Default replication factor: 3 > Average block replication: 2.8564103 > Corrupt blocks: 0 > Missing replicas:5 (0.44682753 %) > Number of data-nodes:5 > Number of racks: 1 > FSCK ended at Wed Dec 10 14:04:35 EST 2014 in 50 milliseconds > The filesystem under path '/' is HEALTHY > -- > after HVE (and NN restart): > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:bl
[jira] [Commented] (HDFS-14053) Provide ability for NN to re-replicate based on topology changes.
[ https://issues.apache.org/jira/browse/HDFS-14053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676178#comment-16676178 ] Hadoop QA commented on HDFS-14053: -- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s{color} | {color:blue} Docker mode activated. {color} | | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 6s{color} | {color:red} HDFS-14053 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | HDFS-14053 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12946980/HADOOP-11391-006.patch | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/25444/console | | Powered by | Apache Yetus 0.8.0 http://yetus.apache.org | This message was automatically generated. > Provide ability for NN to re-replicate based on topology changes. > -- > > Key: HDFS-14053 > URL: https://issues.apache.org/jira/browse/HDFS-14053 > Project: Hadoop HDFS > Issue Type: Bug > Environment: VMWare w/ local storage >Reporter: ellen johansen >Assignee: Hrishikesh Gadre >Priority: Major > Attachments: HADOOP-11391-001.patch, HADOOP-11391-002.patch, > HADOOP-11391-003.patch, HADOOP-11391-004.patch, HADOOP-11391-005.patch, > HADOOP-11391-006.patch > > > Enabling HVE/node awareness does not rebalance replicas on data that existed > prior to topology changes. > [root@vmw-d10-001 jenkins]# more /opt/cloudera/topology.data > 10.20.xxx.161 /rack1/nodegroup1 > 10.20.xxx.162 /rack1/nodegroup1 > 10.20.xxx.163 /rack3/nodegroup1 > 10.20.xxx.164 /rack3/nodegroup1 > 172.17.xxx.71 /rack2/nodegroup1 > 172.17.xxx.72 /rack2/nodegroup1 > before HVE: > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 10.20.xxx.163:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 172.17.xxx.72:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 6. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742220_1396 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 10.20.xxx.163:20002] > 7. BP-1184748135-172.17.xxx.71-1418235396548:blk_107374_1398 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 8. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742224_1400 > len=106721297 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 172.17.xxx.72:20002] > - > Before enabling HVE: > Status: HEALTHY > Total size: 1648156454 B (Total open files size: 498 B) > Total dirs: 138 > Total files: 384 > Total symlinks: 0 (Files currently being written: 6) > Total blocks (validated):390 (avg. block size 4226042 B) (Total open > file blocks (not validated): 6) > Minimally replicated blocks: 390 (100.0 %) > Over-replicated blocks: 0 (0.0 %) > Under-replicated blocks: 1 (0.25641027 %) > Mis-replicated blocks: 0 (0.0 %) > Default replication factor: 3 > Average block replication: 2.8564103 > Corrupt blocks: 0 > Missing replicas:5 (0.44682753 %) > Number of data-nodes:5 > Number of racks: 1 > FSCK ended at Wed Dec 10 14:04:35 EST 2014 in 50 milliseconds > The filesystem under path '/' is HEALTHY > -- > after HVE (and NN restart): > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161
[jira] [Commented] (HDFS-14053) Provide ability for NN to re-replicate based on topology changes.
[ https://issues.apache.org/jira/browse/HDFS-14053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676179#comment-16676179 ] Xiao Chen commented on HDFS-14053: -- Failed tests look unrelated. Committed this to trunk. LMK if you want this in other branches. Thanks for the work here [~hgadre], and thanks [~ejohansen] for creating the jira. > Provide ability for NN to re-replicate based on topology changes. > -- > > Key: HDFS-14053 > URL: https://issues.apache.org/jira/browse/HDFS-14053 > Project: Hadoop HDFS > Issue Type: Bug > Environment: VMWare w/ local storage >Reporter: ellen johansen >Assignee: Hrishikesh Gadre >Priority: Major > Attachments: HADOOP-11391-001.patch, HADOOP-11391-002.patch, > HADOOP-11391-003.patch, HADOOP-11391-004.patch, HADOOP-11391-005.patch, > HADOOP-11391-006.patch > > > Enabling HVE/node awareness does not rebalance replicas on data that existed > prior to topology changes. > [root@vmw-d10-001 jenkins]# more /opt/cloudera/topology.data > 10.20.xxx.161 /rack1/nodegroup1 > 10.20.xxx.162 /rack1/nodegroup1 > 10.20.xxx.163 /rack3/nodegroup1 > 10.20.xxx.164 /rack3/nodegroup1 > 172.17.xxx.71 /rack2/nodegroup1 > 172.17.xxx.72 /rack2/nodegroup1 > before HVE: > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 10.20.xxx.163:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.161:20002, > 172.17.xxx.72:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [10.20.xxx.164:20002, 172.17.xxx.72:20002, > 10.20.xxx.163:20002] > 6. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742220_1396 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 10.20.xxx.163:20002] > 7. BP-1184748135-172.17.xxx.71-1418235396548:blk_107374_1398 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 8. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742224_1400 > len=106721297 repl=3 [10.20.xxx.164:20002, 10.20.xxx.162:20002, > 172.17.xxx.72:20002] > - > Before enabling HVE: > Status: HEALTHY > Total size: 1648156454 B (Total open files size: 498 B) > Total dirs: 138 > Total files: 384 > Total symlinks: 0 (Files currently being written: 6) > Total blocks (validated):390 (avg. block size 4226042 B) (Total open > file blocks (not validated): 6) > Minimally replicated blocks: 390 (100.0 %) > Over-replicated blocks: 0 (0.0 %) > Under-replicated blocks: 1 (0.25641027 %) > Mis-replicated blocks: 0 (0.0 %) > Default replication factor: 3 > Average block replication: 2.8564103 > Corrupt blocks: 0 > Missing replicas:5 (0.44682753 %) > Number of data-nodes:5 > Number of racks: 1 > FSCK ended at Wed Dec 10 14:04:35 EST 2014 in 50 milliseconds > The filesystem under path '/' is HEALTHY > -- > after HVE (and NN restart): > /user/impalauser/tpcds/store_sales > /user/impalauser/tpcds/store_sales/store_sales.dat 1180463121 bytes, 9 > block(s): OK > 0. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742xxx_1382 > len=134217728 repl=3 [10.20.xxx.164:20002, 10.20.xxx.163:20002, > 10.20.xxx.161:20002] > 1. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742213_1389 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 2. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742214_1390 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 3. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742215_1391 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] > 4. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742216_1392 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.161:20002] > 5. BP-1184748135-172.17.xxx.71-1418235396548:blk_1073742217_1393 > len=134217728 repl=3 [172.17.xxx.72:20002, 10.20.xxx.164:20002, > 10.20.xxx.163:20002] >