Falcon MQ log files location

  • 0

Falcon MQ log files location

Sometime we see that falcon use 90-100% of / space like showing in following example.

[user1@server localhost]$ du -sh /hadoop/falcon/hadoop/falcon/embeddedmq/data/localhost/KahaDB

67M     /hadoop/falcon/hadoop/falcon/embeddedmq/data/localhost/KahaDB

[users1@server localhost]$ du -sh /hadoop/falcon/embeddedmq/data/localhost/KahaDB/

849M   /hadoop/falcon/embeddedmq/data/localhost/KahaDB/

This is because we have installed falcon in embedded mode and we have set falcon.embeddedmq.data to that location. Falcon server starts embedded active mq whenever we start falcon. But Ideally it should not fill this dir as once any feed or process instate immediately it will get clean.

To fix this issue we need to change dir with the help of following steps.

1. Stop Falcon Service from Ambari.

2. Copy /hadoop/falcon to new patition /lowes/ and correct the ownership. cp -r /hadoop/falcon /lowes/; chown -R falcon:hadoop /lowes/falcon/*

3. Change the following falcon configuration to point to new location.

   a. Falcon data directory(/hadoop/falcon to /lowes/falcon) and Falcon store URI under Falcon Server

   b. *.config.store.uri, *.falcon.graph.serialize.path and *.falcon.graph.storage.directory under Falcon startup.properties

  c. falcon.embeddedmq.data under Advanced falcon-env

4. Start Falcon service from Ambari.

I hope this will help you to serve your purpose.