Enhancing the IoT health monitoring systems used in various environments such as smart homes and smart hospitals, imply lively analyzing the patients critical streams (e.g. ECG stream). Conducting these tele-health applications over the traditional cloud violates the deadline constrains of the stream analytics applications, which results not only in performance degradation but also in inaccurate analytics results due to patient's stream loss. Fog computing can take place within the patient's vicinity, and is considered as the best candidate for critically analyzed stream applications. Fog nodes are geo-distributed and poor in resources, thus a scalable and fault tolerant resource management platform for stream analytics in fog computing is a must. Current Stream Processing (SP) resource managers are designed for massive resources nodes, deploying it over the poor resources edge fog nodes greatly decrease the fog infrastructure utilization. Innovative SP resource managers that cope with the fog nature are needed. We propose Fog Assisted Resource Management (FARM) platform based on Apache Hadoop2 resource manager (YARN) for compatible stream/batch analytics. Static FARM (S-FARM) represents two YARN schedulers; per-user and per-module. Results indicate that per-user scheduler overcomes the lack of resources issues of the edge fog nodes, fully utilize the fog infrastructure, and allows the system to expand safely up to its double size. In addition, Differentiated S-FARM scheduler is proposed to support per-user control to the analytic results' accuracy and speed. Stream CardioVascular Disease (S-CVD) application for patient's ECG analytics is simulated in iFogSim to judge the proposed YARN schedulers. The research is pioneer in enhancing the poor resources edge fog nodes utilization, supporting per-user control to live big data analytics IoT applications, and utilizing iFogSim to implement and evaluate the resource manager performance of a stream analytics platform.
Key words: Big data analytics; stream analytics; Apache Hadoop2 (YARN); Edge/Fog computing; resource allocation; per-user control; analytics accuracy; fog infrastructural management; patient monitoring; smart hospital.