Issue |
E3S Web of Conf.
Volume 465, 2023
8th International Conference on Industrial, Mechanical, Electrical and Chemical Engineering (ICIMECE 2023)
|
|
---|---|---|
Article Number | 02058 | |
Number of page(s) | 11 | |
Section | Symposium on Electrical, Information Technology, and Industrial Engineering | |
DOI | https://doi.org/10.1051/e3sconf/202346502058 | |
Published online | 18 December 2023 |
Distributed Machine Learning using HDFS and Apache Spark for Big Data Challenges
Electrical Engineering Dept. Faculty of Engineering, University of Mataram
* Corresponding author: didikindirman@gmail.com
† Corresponding author: giriwahyuwiriasto@unram.ac.id
‡ Corresponding author: irfan@unram.ac.id
Hadoop and Apache Spark have become popular frameworks for distributed big data processing. This research aims to configure Hadoop and Spark for conducting training and testing on big data using distributed machine learning methods with MLlib, including linear regression and multi-linear regression. Additionally, an external library, LSTM, is used for experimentation. The experiments utilize three desktop devices to represent a series of tests on single and multi-node networks. Three datasets, namely bitcoin (3,613,767 rows), gold-price (5,585 rows), and housing-price (23,613 rows), are employed as case studies. The distributed computation tests are conducted by allocating uniform core processors on all three devices and measuring execution times, as well as RMSE and MAPE values. The results of the single-node tests using MLlib (both linear and multi-linear regression) with variations of core utilization ranging from 2 to 16 cores, show that the overall dataset performs optimally using 12 cores, with an execution time of 532.328 seconds. However, in the LSTM method, core allocation variations do not yield significant results and require longer program execution times. On the other hand, in the multinode (2) tests, optimal performance is achieved using 8 cores, with an execution time of 924.711 seconds, while in the multi-node (3) tests, the ideal configuration is 6 cores with an execution time of 881.495 seconds. In conclusion, without the involvement of HDFS, distributed MLlib programs cannot be processed, and core allocation depends on the number of nodes used and the size of the dataset.
© The Authors, published by EDP Sciences, 2023
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.