![]() ![]() If no local version is found, restart server/agentġ. The top is the parcels directory of the agent node, and the bottom is the parcels directory of the local server (if roles are reused)ĭistribution pacel,sha,manifest To all nodes Modify sha1 to remove sha mv *sha1 sha Install parcel ![]() # Port that the CM server is listening on.ĭistribute /etc/hosts, java, cm to all nodesĭownload parcel and corresponding sha1 file Server: mkdir -p /opt/cloudera/parcel-repoĪll nodes: mkdir -p /opt/cloudera/parcels Configure node: $CM_MANAGER/etc/cloudera-scm-agent/config.ini home/cm/cm-5.16.1/share/cmf/schema/scm_prepare_database.sh mysql scm root mysql amon root mysql rman root mysql hue root mysql metastore root mysql sentry root mysql nav root mysql navms root mysql oozie root mysql nms root mysql nas root package folder creation Initialize each role database-master execution (mysql is on this machine, if not, you need to use mysql -h mysqlhostname) Useradd -system -home=/home/cm/cm-5.16.1/run/cloudera-scm-server -no-create-home -shell=/bin/false -comment "cloudera scm user" cloudera-scm mysql Create a database and user for role storage metadataĬreate database scm default character set 'utf8' default collate utf8_general_ci Unzip to $CM_HOME=/home/cm Create cm management user-all nodes Installed in /usr/java/ NTP clock synchronizationĬopy mysql-connector*.jar to $CM_HOME/share/cmf/lib Install cm Vi /etc/nf #Add vm.swappiness=10Įcho vm.swappiness=10 > /etc/nfĮcho 10 >/proc/sys/vm/swappiness Disable huge pagesĮcho never > /sys/kernel/mm/transparent_hugepage/defragĮcho never > /sys/kernel/mm/transparent_hugepage/enabled Turn off the firewall, selinux It comes with a web management system to facilitate the deployment of roles and monitor the status of roles, called Cloudera manager, hereinafter referred to as cm.Ĭonfigure /etc/hosts.ssh for mutual trust It has made some optimizations on the version compatibility of various components of the hadoop ecosystem and is suitable for use in a production environment, hereinafter referred to as cdh. ![]() Cloudera hadoop is a relatively active and stable version of many hadoop open source releases. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |