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

archive is failing with "Illegal Capacity" error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.18.0
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      I ran the randomwriter example and then tried to archive the directory created by the randomwriter. I seem to be getting an "Illegal Capacity" error.
      The following is the output when run on the cluster with 50 nodes.
      The number reported after the "Illegal capacity" is half the number of maps created by the random writer (here 48)

      jothipn@mymachine ~/hadoop-0.18.0-dev $ bin/hadoop jar hadoop-0.18.0-dev-examples.jar randomwriter -Dtest.randomwriter.maps_per_host=1 input4

      <<FOLLOWED BY>>

      jothipn@mymachine ~/hadoop-0.18.0-dev $ bin/hadoop archive -archiveName foo.har /user/jothipn/input4 /user/jothipn
      08/06/12 08:06:43 WARN fs.FileSystem: "mymachine:54039" is a deprecated filesystem name. Use "hdfs://mymachine:54039/" instead.
      08/06/12 08:06:43 WARN fs.FileSystem: "mymachine:54039" is a deprecated filesystem name. Use "hdfs://mymachine:54039/" instead.
      08/06/12 08:06:43 WARN fs.FileSystem: "mymachine:54039" is a deprecated filesystem name. Use "hdfs://mymachine:54039/" instead.
      Illegal Capacity: -24

      Attachments

        1. hadoop-3545_1.patch
          1.0 kB
          Mahadev Konar

        Activity

          People

            mahadev Mahadev Konar
            jothipn Jothi Padmanabhan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: