Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-572

If #link is missing from uri format of -cacheArchive then streaming does not throw error.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.22.0
    • contrib/streaming
    • None
    • Reviewed
    • Improved streaming job failure when #link is missing from uri format of -cacheArchive. Earlier it used to fail when launching individual tasks, now it fails during job submission itself.

    Description

      Ran hadoop streaming command as -:
      bin/hadoop jar contrib/streaming/hadoop-*-streaming.jar -input in -output out -mapper "xargs cat" -reducer "bin/cat" -cahceArchive hdfs://h/pathofJarFile
      Streaming submits job to jobtracker and map fails.
      For similar with -cacheFile -:
      bin/hadoop jar contrib/streaming/hadoop-*-streaming.jar -input in -output out -mapper "xargs cat" -reducer "bin/cat" -cahceFile hdfs://h/pathofFile
      followinng error is repoerted back -:
      [
      You need to specify the uris as hdfs://host:port/#linkname,Please specify a different link name for all of your caching URIs
      ]

      Streaming should check about present #link after uri of cacheArchive and should throw proper error .

      Attachments

        1. patch-572.txt
          9 kB
          Amareshwari Sriramadasu
        2. patch-572-1.txt
          10 kB
          Amareshwari Sriramadasu
        3. patch-572-2.txt
          9 kB
          Amareshwari Sriramadasu
        4. patch-572-ydist.txt
          9 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            karams Karam Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: