ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangxiaolu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20248) get_not_managed_resources.py issue
Date Wed, 01 Mar 2017 06:33:45 GMT

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

zhangxiaolu updated AMBARI-20248:
---------------------------------
    Description: 
  File "/var/lib/ambari-agent/cache/common-services/IMPALA/2.2.0/package/scripts/params_linux.py",
line 166, in <module>
    immutable_paths = get_not_managed_resources(),
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/get_not_managed_resources.py",
line 36, in get_not_managed_resources
    not_managed_hdfs_path_list = json.loads(config['hostLevelParams']['not_managed_hdfs_path_list'])[:]
  File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
INFO 2017-03-01 15:05:06,690 logger.py:71 - Mount point for directory /hadoop/hdfs/data is
/

> get_not_managed_resources.py issue
> ----------------------------------
>
>                 Key: AMBARI-20248
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20248
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: zhangxiaolu
>             Fix For: trunk
>
>         Attachments: AMBARI-20248.patch, screenshot-1.png
>
>
>   File "/var/lib/ambari-agent/cache/common-services/IMPALA/2.2.0/package/scripts/params_linux.py",
line 166, in <module>
>     immutable_paths = get_not_managed_resources(),
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/get_not_managed_resources.py",
line 36, in get_not_managed_resources
>     not_managed_hdfs_path_list = json.loads(config['hostLevelParams']['not_managed_hdfs_path_list'])[:]
>   File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
>     return _default_decoder.decode(s)
>   File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
>     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
> TypeError: expected string or buffer
> INFO 2017-03-01 15:05:06,690 logger.py:71 - Mount point for directory /hadoop/hdfs/data
is /



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

Mime
View raw message