incorrect application parameter:"dfs.replication" for scaling cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
Medium
|
Andrew Lazarev |
Bug Description
Step 1.
Create cluster:
By Example:
with topology:
{[namenode, jobtracker]x1,
[datanode, tasktracker]x2,
and with configuration:
Step 2.
Check the application parameters:
Go to namenode, upload file in HDFS and write command 'hadoop fsck /<path_to_file> -files -blocks -locations | grep "Default replication factor:"'
expected result:
By Example:
Default replication factor: 2
Step 3.
Scale cluster with changes:
delete [datanode]
delete [tasktracker]
add [other_datanode]
add [other_tasktracker]
resize [datanode, tasktracker], count: 2 -> 3
to topology:
{[namenode, jobtracker]x1,
[secondaryn
[datanode, tasktracker]x3,
[other_
[other_
expected result:
scale cluster
actual result:
13-09-02 19:40:51.966 9172 ERROR savanna.utils.api [-] Request aborted with status code 500 and message 'Internal Server Error'
2013-09-02 19:40:51.966 9172 ERROR savanna.utils.api [-] Traceback (most recent call last):
File "/home/
return func(**kwargs)
File "/home/
return func(*args, **kwargs)
File "/home/
return func(*args, **kwargs)
File "/home/
return u.render(
File "/home/
context.
File "/home/
plugin.
File "/home/
self.
File "/home/
"(replication factor is %s )" % rep_factor)
Exception: Vanilla plugin cannot shrink cluster because it would be not enough nodes for replicas (replication factor is 3 )
127.0.0.1 - - [02/Sep/2013 19:40:51] "PUT /v1.0/4c18f28bf
-------
Step 1.
Create cluster with 4 worker nodes with topology ['tasktracker', 'datanode'] and with configuration: ["cluster_
Step 2.
Scale cluster with changes:
resize ['tasktracker', 'datanode'] 4 -> 3
expected result:
Exception: Vanilla plugin cannot shrink cluster because it would be not enough nodes for replicas (replication factor is 4 )
actual result:
Scale cluster
Changed in savanna: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 0.3a1 |
Changed in savanna: | |
assignee: | nobody → Andrew Lazarev (alazarev) |
Changed in savanna: | |
status: | Triaged → In Progress |
Changed in savanna: | |
status: | Fix Committed → Fix Released |
Changed in savanna: | |
milestone: | 0.3a1 → 0.3 |
Fix proposed to branch: master /review. openstack. org/47191
Review: https:/