You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HDFS is a network protocol used by Windows-based computers that allows systems within the same network to share files.
It allows computers connected to the same network or domain to access files from other local computers as easily as if they
were on the computer's local hard drive.
Prerequisite
CES should be enabled and configured.
Atleast 1 node should be designated as hdfs node.
Native hdfs service should be stopped, before usinf this role.
Atleast one dedicated cesip required for hdfs role.
Make sure, JAVA 1.8.0 version(java-<1.8.0>-openjdk-devel) should be installed on all the hdfs host nodes and JAVA_HOME exported.
-1:
This playbook checks whether the package exists, checks for valid checksum, extracts all the rpms and creates a list
‘scale_install_all_rpms’ that contains all the rpms and dependencies required to install hdfs.
Installation via remote package: rpms are on remote machine
This playbook checks whether the package exists, checks for valid checksum, extracts all the rpms and creates a list ‘scale_install_all_rpms’ that contains all the rpms and dependencies required to install hdfs.
This playbook configures the yum repo using the URL mentioned in variable scale_install_hdfs_repository_url and creates a list ‘scale_install_all_rpms’ that contains all the rpms and dependencies required to install hdfs.
The installation method is selected in the playbook ‘install.yml’ . Installation method depends on the variables defined.
If ‘scale_install_hdfs_repository_url’ is defined, then the installation method is repository.
If ‘scale_install_repository_url’ is undefined and ‘scale_install_remotepkg_path’ is defined, then the installation method is remote.
If ‘scale_install_repository_url’ is undefined and ‘scale_install_remotepkg_path’ is undefined and ‘scale_install_localpkg_path’ is defined, then the installation method is local.
Depending on the installation method, appropriate playbook is called for collecting the rpms and rpms are installed on all the nodes on which hdfs is enabled.
Cluster
This role setup all hdfs required configurations.
To enable hdfs protocol, we run command mmces service enable hdfs on all the nodes where hdfs is enabled.
Postcheck
This role verify namenodes and datanodes status.
This role uses command mmces service list to check if hdfs service is up and running.