ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-17816) Rebalance HDFS failed with "float division by zero"
Date Wed, 20 Jul 2016 16:34:20 GMT

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

Dmitry Lysnichenko updated AMBARI-17816:
----------------------------------------
    Fix Version/s: 2.4.0

> Rebalance HDFS failed with "float division by zero"
> ---------------------------------------------------
>
>                 Key: AMBARI-17816
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17816
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17816.patch
>
>
> Rebalancing HDFS is failing with stderr :
> {code}
> Traceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py\",
line 414, in <module>\n    NameNode().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 280, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py\",
line 342, in rebalancehdfs\n    logoutput = False,\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\",
line 155, in __init__\n    self.env.run()\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\",
line 160, in run\n    self.run_action(resource, action)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\",
line 124, in run_action\n    provider_action()\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
line 273, in action_run\n    tries=self.resource.tries, try_sleep=self.resource.try_sleep)\n
 File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 71, in
inner\n    result = function(command, **kwargs)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\",
line 93, in checked_call\n    tries=tries, try_sleep=try_sleep)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\",
line 141, in _call_wrapper\n    result = _call(command, **kwargs_copy)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\",
line 265, in _call\n    raise Fail(err_msg)\nresource_management.core.exceptions.Fail: Caused
by on_new_line function failed with exception for input argument '         0             
    0 B                 0 B                0 B':\nTraceback (most recent call last):\n  File
\"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 262, in _call\n
   on_new_line(line, out_fd == proc.stderr)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py\",
line 332, in handle_new_line\n    res['completePercent'] = calculateCompletePercent(parser.initialLine,
pl)\n  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py\",
line 306, in calculateCompletePercent\n    return 1.0 - current.bytesLeftToMove/first.bytesLeftToMove\nZeroDivisionError:
float division by zero
> {code}



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

Mime
View raw message