-
JAVA_HOME not set
bjr,
Ca fait presque deux jours que j'ai le même problème et j'ai épuisé toutes les ressources que j'avais ...
je suis sur cygwin pour pouvoir faire une simulation de Map/Reduce en utilisant hadoop0.20.2 et eclipse, tout marche bien jusqu'au moment ou j'essaye de démarrer le cluster.
Voila les commances que je lance:
1 -J'ouvre cygwin
2 - cd hadoop-0.20.2
3- bin/start-dfs.sh
4- Voilà le résultat, j'essaye tjr de changer le path JAVA_HOME tjr rien
$ bin/start-dfs.sh
starting namenode, logging to /home/Salma/hadoop-0.20.2/bin/../logs/hadoop-Salma-namenode-PC_de_Salma.out
cygwin warning:
MS-DOS style path detected: C:\cygwin\home\Salma\hadoop-0.20.2\/build/native
Preferred POSIX equivalent is: /home/Salma/hadoop-0.20.2/build/native
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/usin...sing-pathnames
/home/Salma/hadoop-0.20.2/bin/../bin/hadoop: line 258: C:\Program : commande introuvable
localhost: "tty" option detected in CYGWIN environment variable.
localhost: CYGWIN=tty is no longer supported. Please remove it from your
localhost: CYGWIN environment variable and use a terminal emulator like mintty,
localhost: xterm, or rxvt.
localhost: starting datanode, logging to /home/Salma/hadoop-0.20.2/bin/../logs/hadoop-Salma-datanode-PC_de_Salma.out
localhost: Error: JAVA_HOME is not set.
localhost: starting secondarynamenode, logging to /home/Salma/hadoop-0.20.2/bin/../logs/hadoop-Salma-secondarynamenode-PC_de_Salma.out
localhost: Error: JAVA_HOME is not set.
==> Qu'est ce que je peux faire ??