ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masahiro Tanaka (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21038) Rebalance HDFS button on Hosts page doesn't work
Date Wed, 17 May 2017 04:47:04 GMT

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

Masahiro Tanaka updated AMBARI-21038:
-------------------------------------
    Description: 
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:
{code}
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
{code}

  was:
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
}}}


> 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:
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message