[
https://issues.apache.org/jira/browse/AMBARI-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Lysnichenko resolved AMBARI-3792.
----------------------------------------
Resolution: Fixed
committed to trunk
> Unable to connect to: https://server:8441/agent/v1/heartbeat/agent_hostname
> due to No JSON object could be decoded" when ping_port is not set
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-3792
> URL: https://issues.apache.org/jira/browse/AMBARI-3792
> Project: Ambari
> Issue Type: Bug
> Components: agent, controller
> Affects Versions: 1.4.1
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 1.4.2
>
> Attachments: AMBARI-3792.patch
>
>
> receive error "ERROR ... Controller.py:204 - Unable to connect to:
> https://server:8441/agent/v1/heartbeat/agenthost due to No JSON object could
> be decoded"
> 1. Default the value to the default ping port rather than null for
> all_ping_ports on the server side.
> 2. Even if theere is a None in the json for ports make sure we dont break
> badly
> 3. When we break in manifestgenerator the exception should be caught and be
> in the ambari agent logs and shown in the logs that the generation of
> manifest broke and hte json for which it broke.
--
This message was sent by Atlassian JIRA
(v6.1#6144)