摘要: 搭建Spark环境后,调测Spark样例时,出现下面的错误:WARN scheduler.TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that worke 阅读全文
posted @ 2016-09-01 21:51 哼哼哈哈二将 阅读(5719) 评论(1) 推荐(0) 编辑
摘要: 昨天写了一个mapreduce函数一直有错误,找不到错误,今天找了一天终于解决了,原来是hadoop 的job.setOutputKeyClass和job.setOutputValueClas设置输出的问题。 job.setOutputKeyClass和job.setOutputValueClas在 阅读全文
posted @ 2016-09-01 11:03 哼哼哈哈二将 阅读(501) 评论(0) 推荐(0) 编辑