You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "agoodboy (Jira)" <ji...@apache.org> on 2019/09/04 13:16:00 UTC

[jira] [Commented] (YARN-9776) yarn logs throws an error "Not a valid BCFile"

    [ https://issues.apache.org/jira/browse/YARN-9776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922472#comment-16922472 ] 

agoodboy commented on YARN-9776:
--------------------------------

[~Prabhu Joseph]  I dont't think that we should close the issue. 

> yarn logs throws an error "Not a valid BCFile"
> ----------------------------------------------
>
>                 Key: YARN-9776
>                 URL: https://issues.apache.org/jira/browse/YARN-9776
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: log-aggregation
>    Affects Versions: 3.1.0
>         Environment: HDP 3.1.0.78
>  
>            Reporter: agoodboy
>            Priority: Major
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Env: hdp 3.1.0.0-78
> Command: yarn logs -applicationId xxx, throws an error "Not a valid BCFile.", and then exit.
> After open debug log using "export YARN_ROOT_LOGGER="DEBUG,console", and rerun command. It shows that "fileName=/data1/app-logs/hadoop/logs/application_1566555356033_0032/meta" is not a valid BCFile. And after I remove the file from hdfs, and rerun command, it success. 
> So, how to generate this meta file? 
> I guess that is because this in yarn-site.xml:
> <property>
>  <name>yarn.timeline-service.generic-application-history.save-non-am-container-meta-info</name>
>  <value>true</value>
>  </property>
> I set this value to true because I want to see all container logs in timeline web page, orelse I can just see the am container log.
> So, it seems that yarn logs can't properly handle this suituation.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org