PrepAway - Latest Free Exam Questions & Answers

Where are Hadoop task log files stored?

For each YARN job, the Hadoop framework generates task log file. Where are Hadoop task log
files stored?

PrepAway - Latest Free Exam Questions & Answers

A.
Cached by the NodeManager managing the job containers, then written to a log directory on
the NameNode

B.
Cached in the YARN container running the task, then copied into HDFS on job completion

C.
In HDFS, in the directory of the user who generates the job

D.
On the local disk of the slave mode running the task

12 Comments on “Where are Hadoop task log files stored?

  1. Rakesh says:

    The question is different in the exam. It says:
    Having log aggregation set to default, where are Hadoop log files stored?

    There is a parameter to set log aggregation to true or false. So, by default is this is enabled the answer will be option B.




    0



    0
  2. raushan says:

    Now the question says — when yarn-log-aggreegation is enabled so the log is finally copied to /user/history/done once th job completes so option B is correct




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *