Pb lancement hadoop sous ubuntu 11.10
velocity
Messages postés
251
Statut
Membre
-
velocity Messages postés 251 Statut Membre -
velocity Messages postés 251 Statut Membre -
Bonjour,
J'ai installer hadoop sous ubuntu 11.10 avec le jdk java6u25
$ java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) Server VM (build 20.0-b11, mixed mode)
j'ai crée un tunnel ssh et un utilisateur hadoop que j'ai appelée hduser pour la connexion en local.
j'ai créé le système de fichier avec la commande hadoop namenode -format et tout c'est bien passé sans messages d'erreurs.
Après j'ai modifier les fichier de configurations *-sites.xml en suivant le tutorial.
Enfin, j'ai voulu lancer hadoop avec all-start.sh à partir du compte hduser mais il y a une erreur qui m'empêche de le faire et j'ai aucune idée comment corriger le problème . voilà le résultat :
j'espère avoir votre aide .
merci d'avance,
J'ai installer hadoop sous ubuntu 11.10 avec le jdk java6u25
$ java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) Server VM (build 20.0-b11, mixed mode)
j'ai crée un tunnel ssh et un utilisateur hadoop que j'ai appelée hduser pour la connexion en local.
j'ai créé le système de fichier avec la commande hadoop namenode -format et tout c'est bien passé sans messages d'erreurs.
Après j'ai modifier les fichier de configurations *-sites.xml en suivant le tutorial.
Enfin, j'ai voulu lancer hadoop avec all-start.sh à partir du compte hduser mais il y a une erreur qui m'empêche de le faire et j'ai aucune idée comment corriger le problème . voilà le résultat :
~$ /usr/local/hadoop/bin/start-all.sh starting namenode, logging to /usr/local/hadoop/bin/../logs/hadoop-hduser-namenode-ramzi-RV409-RV509-RV709.out localhost: starting datanode, logging to /usr/local/hadoop/bin/../logs/hadoop-hduser-datanode-ramzi-RV409-RV509-RV709.out localhost: starting secondarynamenode, logging to /usr/local/hadoop/bin/../logs/hadoop-hduser-secondarynamenode-ramzi-RV409-RV509-RV709.out localhost: Exception in thread "main" java.lang.IllegalArgumentException localhost: at java.net.URI.create(URI.java:842) localhost: at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:103) localhost: at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:160) localhost: at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:131) localhost: at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:115) localhost: at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:469) localhost: Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: hdfs://localhost:54310 localhost: at java.net.URI$Parser.fail(URI.java:2809) localhost: at java.net.URI$Parser.checkChars(URI.java:2982) starting jobtracker, logging to /usr/local/hadoop/bin/../logs/hadoop-hduser-jobtracker-ramzi-RV409-RV509-RV709.out localhost: starting tasktracker, logging to /usr/local/hadoop/bin/../logs/hadoop-hduser-tasktracker-ramzi-RV409-RV509-RV709.out
j'espère avoir votre aide .
merci d'avance,
A voir également:
- Pb lancement hadoop sous ubuntu 11.10
- Ubuntu 32 bits - Télécharger - Systèmes d'exploitation
- Linux mint ou ubuntu - Guide
- Ubuntu portable - Télécharger - Systèmes d'exploitation
- Ubuntu download - Télécharger - Systèmes d'exploitation
- Ubuntu 24.04 - Accueil - Ubuntu
1 réponse
Fichiers de configuration :
core-site.xml
hdfs-site.xml
mapred-site.xml
core-site.xml
<configuration> <property> <name> hadoop.tmp.dir</name> <value> /app/hadoop/tmp</value> <description> base for other temporary directories</description> </property> <property> <name> fs.default.name</name> <value> hdfs://localhost:54310</value> <description> The name of the default file system. A URI whose scheme and authority determine the FileSystem implementation. The uri's scheme determines the config property (fs.SCHEME.impl) naming the FileSystem implementation class. The uri's authority is used to determine the host, port, etc. for a filesystem.</description> </property> </configuration>
hdfs-site.xml
<configuration> <property> <name> dfs.replication</name> <value> 1</value> <description> Default block replication. The actual number of replications can be specified when the file is created. The default is used if replication is not specified in create time.</description> </property> </configuration>
mapred-site.xml
<configuration> <property> <name> mapred.job.tracker</name> <value> localhost:54311</value> <description> The host and port that the MapReduce job tracker runs at. If "local", then jobs are run in-process as a single map and reduce task.</description> </property> </configuration>
velocity
Messages postés
251
Statut
Membre
6
up please