You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Masahiro Tanaka (JIRA)" <ji...@apache.org> on 2017/05/17 04:47:04 UTC
[jira] [Created] (AMBARI-21038) Rebalance HDFS button on Hosts page
doesn't work
Masahiro Tanaka created AMBARI-21038:
----------------------------------------
Summary: Rebalance HDFS button on Hosts page doesn't work
Key: AMBARI-21038
URL: https://issues.apache.org/jira/browse/AMBARI-21038
Project: Ambari
Issue Type: Bug
Components: ambari-server, ambari-web
Affects Versions: 2.5.0, 2.4.2
Environment: Ambari 2.4 on CentOS6.8
Ambari 2.5 on CentOS7.2
Reporter: Masahiro Tanaka
When I tried to rebalance HDFS with Ambari, I pushed "Rebalance HDFS" in the pulldown menu on each Hosts page.
I expected it worked same as I pushed "Rebalance HDFS" on Service Page, though it doesn't work.
The error log is as below:
{{{
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 420, in <module>
NameNode().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 282, in rebalancehdfs
name_node_parameters = json.loads( params.name_node_params )
File "/usr/lib/python2.6/site-packages/ambari_simplejson/__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.6/site-packages/ambari_simplejson/decoder.py", line 335, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
}}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)