[
https://issues.apache.org/jira/browse/AMBARI-15387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yusaku Sako updated AMBARI-15387:
---------------------------------
Fix Version/s: (was: trunk)
> Pxf service status is currently red
> -----------------------------------
>
> Key: AMBARI-15387
> URL: https://issues.apache.org/jira/browse/AMBARI-15387
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.2.2
> Reporter: Andrew Onischuk
> Assignee: Goutam Tadi
> Fix For: 2.2.2
>
> Attachments: AMBARI-15387-branch-2_2.patch, AMBARI-15387-trunk.patch,
> AMBARI-15387.patch
>
>
> {noformat}
> [root@c6401 ~]# /usr/bin/python
> /var/lib/ambari-agent/cache/common-services/PXF/3.0.0/package/scripts/pxf.py
> STATUS /var/lib/ambari-agent/data/status_command.json
> /var/lib/ambari-agent/cache/common-services/PXF/3.0.0/package
> /var/lib/ambari-agent/data/structured-out-status.json DEBUG
> /var/lib/ambari-agent/tmp
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/common-services/PXF/3.0.0/package/scripts/pxf.py",
> line 136, in <module>
> Pxf().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 219, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/common-services/PXF/3.0.0/package/scripts/pxf.py",
> line 67, in status
> self.__execute_service_command("status")
> File
> "/var/lib/ambari-agent/cache/common-services/PXF/3.0.0/package/scripts/pxf.py",
> line 77, in __execute_service_command
> import params
> File
> "/var/lib/ambari-agent/cache/common-services/PXF/3.0.0/package/scripts/params.py",
> line 88, 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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)