I want to see last log present in SAW Node. Can anyone please share command which I can run on SAW nodes or Path of logs file.
Need your assistance on this.
For the SAW logs, there exists plenty depending on which mapr service, as well as the rsa logs itself.
However, most common logs are:
SAW Log file
MapR Logs (Warden, mfs, etc)
And of course the /var/log/messages
For a complete list of logs:
Also, you can refer to the 3 node scenario, logs for each service image below.
Can you please highlight the path in which specifically event source's logs are present? Also, Is there any PDF explaining all these things?
There is no way you can know where the latest log file, or any log file is exactly saved on the hadoop file system.
Files in SAW/HDFS are saved in files called Avro files, these files are flat files to be easily compressed, with all data mixed together. you can not known that logs for a certain event source are stored in this Avro file.
The avro files for raw logs are stored in the path /rsasoc/v1/logs/data in the HDFS, this can be listed using the "hadoop fs -ls" command. or from the NFS mount point on WHC.
To wrap up, you can not determine which avro files contain which data, also one avro file contains different and variant types of data. you can only interact with Avro files using Hive, Pig or Reporting Engine to generate reports.
I hope this has helped you better understand.
Retrieving data ...