Error during the integration CDH test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
Medium
|
Sergey Reshetnyak |
Bug Description
During the integration CDH test some error occurs:
FAIL: tests.gating.
tags: worker-0
-------
stderr: {{{
INFO [paramiko.
INFO [paramiko.
INFO [paramiko.
INFO [paramiko.
}}}
stdout: {{{
!*!*!*!
Failure while cluster creation: invalid literal for int() with base 10: ''
!*!*!*!
}}}
Traceback (most recent call last):
File "/home/
self.
File "sahara/
ITestCase.
File "sahara/
six.
File "sahara/
fct(*args, **kwargs)
File "/home/
self.
File "sahara/
active_
ValueError: invalid literal for int() with base 10: ''
=======
FAIL: process-returncode
tags: worker-0
-------
Binary content:
traceback (test/plain; charset="utf8")
Ran 2 tests in 966.400s
FAILED (id=0, failures=2)
error: testr failed (1)
ERROR: InvocationError: '/home/
_______
ERROR: integration: commands failed
So, the reason is wrong check for active data nodes:
(https:/
'sudo -u %s bash -lc "hadoop dfsadmin -report" | '
As a result we have empty parameter.
Output for command `hadoop dfsadmin -report` doesn't contains words `Datanodes available`. Output contains next:
Configured Capacity: 59051573248 (55.00 GB)
Present Capacity: 59051622400 (55.00 GB)
DFS Remaining: 58878752735 (54.84 GB)
DFS Used: 172869665 (164.86 MB)
DFS Used%: 0.29%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0
-------
Live datanodes (3):
Name: 10.50.0.134:50010 (sahara-
Hostname: sahara-
Rack: /default
Decommission Status : Normal
Configured Capacity: 29525786624 (27.50 GB)
DFS Used: 98038809 (93.50 MB)
Non DFS Used: 0 (0 B)
DFS Remaining: 29427747815 (27.41 GB)
DFS Used%: 0.33%
DFS Remaining%: 99.67%
Configured Cache Capacity: 4294967296 (4 GB)
Cache Used: 0 (0 B)
Cache Remaining: 4294967296 (4 GB)
Cache Used%: 0.00%
Cache Remaining%: 100.00%
Last contact: Mon Aug 04 16:18:08 MSK 2014
-------
So, i suggest to use another check, something like:
'sudo -u %s bash -lc "hadoop dfsadmin -report" | '
Changed in sahara: | |
status: | New → Confirmed |
Changed in sahara: | |
assignee: | nobody → Sergey Reshetnyak (sreshetniak) |
tags: | added: cdh |
Changed in sahara: | |
milestone: | none → juno-3 |
importance: | Undecided → Medium |
Changed in sahara: | |
status: | Fix Committed → Fix Released |
Changed in sahara: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/112534
Review: https:/