我写了一个 Map-reduce 程序。在尝试运行它时,它显示如下运行时异常
java.lang.RuntimeException: Not a host:port pair:
at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:136)
at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:123)
at org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:1807)
at org.apache.hadoop.mapred.JobClient.init(JobClient.java:423)
at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:410)
at org.apache.hadoop.mapreduce.Job.<init>(Job.java:50)
at org.apache.hadoop.mapreduce.Job.<init>(Job.java:54)
at com.homedepot.mm.rd.transactionmatching.hadoop.utils.TMHelper.driverConfig(TMHelper.java:83)
at com.homedepot.mm.rd.transactionmatching.hadoop.driver.TMDuplicateRemoverDriver.run(TMDuplicateRemoverDriver.java:73)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at com.homedepot.mm.rd.transactionmatching.hadoop.driver.TMDuplicateRemoverDriver.main(TMDuplicateRemoverDriver.java:111)
我找不到原因。谁能帮帮我!