HDP:
sudo -u
hdfs hadoop fs -ls /app-logs/hdfs/logs
(7 days)
CDH5:
sudo -u
hdfs hadoop fs -ls /tmp/logs/hdfs/logs/
(7 days)
EMR (AWS):
sudo -u
hdfs hadoop fs -ls /var/logs/hdfs/logs/
(? days)
Default value for "yarn. log-aggregation. retain-seconds" is 7 days.
If log aggregation is not enabled, the logs are in local file system. For example, MapR put logs into following places:
/opt/mapr/hadoop/hadoop-2.7.0/logs/userlogs/
Default value for "yarn.
If log aggregation is not enabled, the logs are in local file system. For example, MapR put logs into following places:
/opt/mapr/hadoop/hadoop-2.7.0/logs/userlogs/