You can call DescribeFlowNodeInstanceLauncherLog operation to query the log of a launcher that runs on a node instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeFlowNodeInstanceLauncherLog

The operation that you want to perform. Set the value to DescribeFlowNodeInstanceLauncherLog.

NodeInstanceId String Yes FNI-0D2534B3AB67****

The ID of the job instance.

ProjectId String Yes FP-BECB9D35CB12****

The ID of the project. You can call ListFlowProject View the ID of the project.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions.

Start Integer No 200

The start offset of the log.

Lines Integer No 100

The number of log entries to return. The maximum number of log entries to return at a time is 1,000.

Offset Integer No 200

A deprecated parameter.

Length Integer No 100

A deprecated parameter.

Reverse Boolean No true

Specifies whether log entries are sorted in reverse chronological order.

StartTime Long No 1540796236000

The start time of the query.

EndTime Long No 1540796248000

The end time of the queried log.

Response parameters

Parameter Type Example Description
LogEnd Boolean false

Indicates whether the log stream ended.

LogEntrys Array of LogEntry

An array of log entries.

Content String 2018-11-19 17:55:11,792 INFO [RMCommunicator Allocator] org.apache.hadoop.yarn.util.RackResolver: Resolved emr-worker-1.cluster-500160492 to /default-rack

The log entry.

RequestId String 4E216C44-F828-4D59-B398-253DCF86F23C

The ID of the request.


Sample requests

&<common request parameters>

Sample success responses

XML format

        <Content>Fri Nov 16 09:56:00 CST 2018 [LocalJobLauncherAM] INFO Starting emr flow launcher am ...</Content>
        <Content>== System Properties ============</Content>
        <Content> Runtime Environment</Content>

JSON Syntax

        "RequestId": "F4BBBCEF-20B9-4AD2-99EF-E1BA8D72B2C3",
        "LogEnd": false,
        "LogEntrys": {
            "LogEntry": [
                    "Content": "Fri Nov 16 09:56:00 CST 2018 [LocalJobLauncherAM] INFO Starting emr flow launcher am ..."
                    "Content": "== System Properties ============"
                    "Content": " Runtime Environment"