Error in starting hadoop Job Tracker

前端 未结 2 555
暗喜
暗喜 2021-02-08 19:20

I tried to run a simple program in hadoop using Windows-Cygwin.

I am able to start the namenode .

The jobtracker start however fails with exception :

<         


        
2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-08 19:58

    The problem is the following lines should on into mapred-site.xml and NOT hdfs-site.xml,

     
    mapred.job.tracker 
    localhost:9101 
    
    

    By the way why are you trying to run Hadoop in Windows? For development? You don't have a linux machine or reluctant to install one?

    One more thing, you usually put this property in core-site.xml not hdfs-site.xml,

    
    fs.default.name
    hdfs://localhost:9100
    
    

提交回复
热议问题