linleimama 2018-12-03 13:29
浏览 421

搭建Hadoop Yarn on Docker环境,总是报Container image must not be null ?

搭建Hadoop Yarn on Docker环境,一切准备就绪后运行如下 命令

        hadoop jar $HADOOP_PREFIX/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.0.jar \  teragen \     
        -Dmapreduce.map.env="yarn.nodemanager.docker-container-executor.image-name=sequenceiq/hadoop-docker:latest" \ 
        -Dyarn.app.mapreduce.am.env="yarn.nodemanager.docker-container-executor.image-name=sequenceiq/hadoop-docker:latest"\ 
        1000 \  teragen_out_dir

总是报Container image must not be null ???

        求教各位大神(个人感觉是这环境变量没传过去,可又无从下手)

        详细信息如下:
        java.lang.IllegalArgumentException: Container image must not be null at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88) at org.apache.hadoop.yarn.server.nodemanager.DockerContainerExecutor.launchContainer(DockerContainerExecutor.java:189) at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.launchContainer(ContainerLaunch.java:437) at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:288) at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:92) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 前端加access数据库
    • ¥15 ARCGIS 多值提取到点 ERROR 999999
    • ¥15 mysql异常断电, [MY-011971] [InnoDB]
    • ¥15 uni.onBluetoothDeviceFound熄屏不运行
    • ¥35 关于shodan搜索网络摄像头的各种方法详解
    • ¥15 求PHDA糖尿病并发症数据集,有偿
    • ¥15 为什么AVL fire DVI 界面里面的response Editor project 中的Summary result 点不了
    • ¥20 中标麒麟系统V4.0,linux3.10.0的内核,3A4000处理器,如何安装英伟达或AMD的显卡驱动,
    • ¥20 求文心中文心理分析系统(TextMind)
    • ¥15 chipyard环境搭建问题