Comment nous pouvons étudier et utiliser le hadoop si nous avons qu’un seul ordinateur? Hadoop nous permet d’installer dans un seul ordinateur…
Tutoriel: Lien 1 (Résent) Lien 2 Lien 3 (Récent) Lien 4 Lien 5
//Lien 2: le site pour installer homebrew: erreur Problème rencontré: SSH login without password Résoudre: Regardez Lien 3 Problème rencontré: Hadoop isn't showing my job in localhost:8088 Résoudre: Lien 0 Problème rencontré: Error: parent directory is world writable but not sticky Please report this bug: https://git.io/brew Résoudre: 1: brew update 2: brew cask search (s'il faut entrer le Password) 3: brew doctor -- Repair Disk Permissions (Lien) Problème rencontré: Incompatible clusterIDs in /dfs/data: namenode clusterID = CID-*; datanode clusterID = CID-* Résoudre: clusterID de Namenode et Datanode doivent être pareils.//code: hdfs namenode -format -clusterId CID-*
Regardez Lien 1 Problème rencontré: WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Résoudre: It is because you are runningon 64bit but Hadoop native library is 32bit. This is not a big issue. Problème rencontré: 1/1 local-dirs are bad: /usr/hadoop/hdfs/tmp/nm-local-dir; 1/1 log-dirs are bad: /usr/hadoop/libexec/logs/userlogs Résoudre: Check the volume of the disque dur Problème rencontré: Cannot create file/user/hduser/res. Name node is in safe mode. Résoudre:hadoop dfsadmin -safemode leave
Pour démarrer le hadoop: /usr/local/Cellar/hadoop/2.X.X/sbin -- start.all.sh Installation avec succès: http://localhost:50070
vi ~/.bash_profile
source ~/.bash_profile