Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Script are expecting to have hadoop in wrong dir #8

@fulmicoton

Description

@fulmicoton

Launching the tutorial map reduce task fails with the following error.

MapReduce command: /home/hadoop/hadoop/bin/hadoop        jar /home/hadoop/hadoop/contrib/streaming/hadoop-streaming-*.jar            -D mapred.map.tasks=3            -D mapred.reduce.tasks=0            -D mapred.job.name="hdfs_to_gcs"            -input hdfs_to_gcs/inputs -output hdfs_to_gcs/outputs            -mapper /home/hadoop/mapreduce/hdfs_to_gcs_mapper.sh            -reducer cat             -file /home/hadoop/mapreduce/hdfs_to_gcs_mapper.sh            
/tmp/mapreduce__at__master.sh: line 81: /home/hadoop/hadoop/bin/hadoop: No such file or directory
/tmp/mapreduce__at__master.sh: line 84: /home/hadoop/hadoop/bin/hadoop: No such file or directory
/tmp/mapreduce__at__master.sh: line 105: /home/hadoop/hadoop/bin/hadoop: No such file or directory

Logging on the instance the hadoop directory is indeed not in /home/hadoop/hadoop
but in /home/hadoop/hadoop-1.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions