Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8664

hadoop streaming job need the full path to commands even when they are in the path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1-win
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      run a hadoop streaming job as
      bin/hadoop jar path_to_streaming_jar -input path_on_hdfs -mapper cat -output path_on_hdfs -reducer cat
      will fail saying program cat not found. cat is in the path and works from cmd prompt.
      If i give the full path to cmd.exe the exception is not seen

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bikassaha Bikas Saha
                Reporter:
                bikassaha Bikas Saha
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: