You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2018/06/05 07:10:00 UTC

[jira] [Created] (AMBARI-24034) Even though REST call to start Timeline Server was issued, start command was never sent to ambari-agent

Andrew Onischuk created AMBARI-24034:
----------------------------------------

             Summary: Even though REST call to start Timeline Server was issued, start command was never sent to ambari-agent
                 Key: AMBARI-24034
                 URL: https://issues.apache.org/jira/browse/AMBARI-24034
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.7.0
         Attachments: AMBARI-24034.patch

Timeline server was stopped for which task was created

**console log**
    
    
    
    2018-06-04 04:57:48,337|INFO|MainThread|ambari.py:474 - stopComponent()|Initiating stop of APP_TIMELINE_SERVER at host ctr-e138-1518143905142-343971-02-000003.hwx.site, request url is: https://172.27.65.139:8443/api/v1/clusters/cl1/hosts/ctr-e138-1518143905142-343971-02-000003.hwx.site/host_components/APP_TIMELINE_SERVER
    

**ambari server log**
    
    
    
    2018-06-04 04:57:48,407  INFO [ambari-action-scheduler] AgentCommandsPublisher:120 - AgentCommandsPublisher.sendCommands: sending ExecutionCommand for host ctr-e138-1518143905142-343971-02-000003.hwx.site, role APP_TIMELINE_SERVER, roleCommand STOP, and command ID 60-0, task ID 244
    2018-06-04 04:57:55,493  INFO [agent-report-processor-1] ServiceComponentHostImpl:1062 - Host role transitioned to a new state, serviceComponentName=APP_TIMELINE_SERVER, hostName=ctr-e138-1518143905142-343971-02-000003.hwx.site, oldState=STOPPING, currentState=INSTALLED
    

Timeline server was now asked to start

**console log**
    
    
    
    2018-06-04 04:58:59,466|INFO|MainThread|ambari.py:454 - startComponent()|Initiating start of APP_TIMELINE_SERVER at host ctr-e138-1518143905142-343971-02-000003.hwx.site, request url is: https://172.27.65.139:8443/api/v1/clusters/cl1/hosts/ctr-e138-1518143905142-343971-02-000003.hwx.site/host_components/APP_TIMELINE_SERVER
    2018-06-04 04:58:59,469|INFO|MainThread|connectionpool.py:805 - _new_conn()|Starting new HTTPS connection (1): 172.27.65.139
    

**Ambari server log**
    
    
    
    2018-06-04 04:57:58,487  INFO [agent-report-processor-1] HeartbeatProcessor:581 - State of service component APP_TIMELINE_SERVER of service YARN of cluster 2 has changed from INSTALLED to STARTED at host ctr-e138-1518143905142-343971-02-000003.hwx.site according to STATUS_COMMAND report
    2018-06-04 04:57:58,538  INFO [ambari-client-thread-1301] MetricsCollectorHAManager:59 - Adding collector host : ctr-e138-1518143905142-343971-02-000003.hwx.site to cluster : cl1
    2018-06-04 04:57:58,588  WARN [ambari-client-thread-1826] HostComponentResourceProvider:1014 - Can not determine request operation level. Operation level property should be specified for this request.
    

In the time line server logs, it shows that timeline server was not issued
start command

    
    
    
    action
    2018-06-04 04:57:50,423 INFO  timeline.RollingLevelDBTimelineStore (RollingLevelDBTimelineStore.java:run(404)) - Deletion thread received interrupt, exiting
    2018-06-04 04:57:50,426 INFO  applicationhistoryservice.ApplicationHistoryServer (LogAdapter.java:info(51)) - SHUTDOWN_MSG: 
    /************************************************************
    SHUTDOWN_MSG: Shutting down ApplicationHistoryServer at ctr-e138-1518143905142-343971-02-000003.hwx.site/172.27.78.72
    ************************************************************/
    

NOTE : Live CLUSTER is not available





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)