hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunil Govind <sunil.gov...@gmail.com>
Subject Re: Host not returned with getApplicationAttempts API
Date Tue, 20 Dec 2016 17:24:07 GMT
Hi Ajay

'host' printed in above response block is from ApplicationAttemptReport.
This is supplied by AM (Application Master) during its registration.
I am not sure which application you are querying for here. I suggest you
can check in AM logs or configs etc.

Thanks
Sunil

On Tue, Dec 20, 2016 at 1:23 AM AJAY GUPTA <ajaygit158@gmail.com> wrote:

> Hi,
>
> I want to print the Host received in applicationAttemptReport of all
> attempts when yarnClient.getApplicationAttempts() API is called. I see that
> the host received is NULL whereas other fields have information. Is this a
> bug or only I am seeing this behaviour?
>
>
> application_attempts {
>
>   application_attempt_id {
>
>     application_id {
>
>       id: 2
>
>       cluster_timestamp: 1481851584221
>
>     }
>
>     attemptId: 1
>
>   }
>
>   host: ""
>
>   rpc_port: 0
>
>   tracking_url: "
> http://localhost:8088/proxy/application_1481851584221_0002/"
>
>   diagnostics: ""
>
>   yarn_application_attempt_state: APP_ATTEMPT_RUNNING
>
>   am_container_id {
>
>     app_attempt_id {
>
>       application_id {
>
>         id: 2
>
>         cluster_timestamp: 1481851584221
>
>       }
>
>       attemptId: 1
>
>     }
>
>     id: 1
>
>   }
>
>   original_tracking_url: "localhost:59636"
>
> }
>

Mime
View raw message