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

Gridmix unable to run for compressed traces(.gz format).

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.1
    • 0.22.0
    • contrib/gridmix
    • None
    • Reviewed

    Description

      I was trying to run gridmix with compressed trace file.However, it throws a JsonParseException and exit.

      exception details:
      ==================
      org.codehaus.jackson.JsonParseException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n,
      \t) is allowed between tokens
      at [Source: org.apache.hadoop.fs.FSDataInputStream@17ba38f; line: 1, column: 2]
      at org.codehaus.jackson.impl.JsonParserBase._constructError(JsonParserBase.java:651)
      at org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java:635)
      at org.codehaus.jackson.impl.JsonParserBase._throwInvalidSpace(JsonParserBase.java:596)
      at org.codehaus.jackson.impl.Utf8StreamParser._skipWSOrEnd(Utf8StreamParser.java:981)
      at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:77)
      at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:688)
      at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:624)
      at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:275)
      at org.apache.hadoop.tools.rumen.JsonObjectMapperParser.getNext(JsonObjectMapperParser.java:84)
      at org.apache.hadoop.tools.rumen.ZombieJobProducer.getNextJob(ZombieJobProducer.java:117)
      at org.apache.hadoop.tools.rumen.ZombieJobProducer.getNextJob(ZombieJobProducer.java:29)
      at org.apache.hadoop.mapred.gridmix.JobFactory.getNextJobFiltered(JobFactory.java:174)
      at org.apache.hadoop.mapred.gridmix.StressJobFactory$StressReaderThread.run(StressJobFactory.java:166)
      10/09/23 09:43:17 ERROR gridmix.Gridmix: Error in trace
      org.codehaus.jackson.JsonParseException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n,
      \t) is allowed between tokens
      at [Source: org.apache.hadoop.fs.FSDataInputStream@17ba38f; line: 1, column: 2]
      at org.codehaus.jackson.impl.JsonParserBase._constructError(JsonParserBase.java:651)
      at org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java:635)
      at org.codehaus.jackson.impl.JsonParserBase._throwInvalidSpace(JsonParserBase.java:596)
      at org.codehaus.jackson.impl.Utf8StreamParser._skipWSOrEnd(Utf8StreamParser.java:981)
      at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:77)
      at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:688)
      at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:624)
      at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:275)
      at org.apache.hadoop.tools.rumen.JsonObjectMapperParser.getNext(JsonObjectMapperParser.java:84)
      at org.apache.hadoop.tools.rumen.ZombieJobProducer.getNextJob(ZombieJobProducer.java:117)
      at org.apache.hadoop.tools.rumen.ZombieJobProducer.getNextJob(ZombieJobProducer.java:29)
      at org.apache.hadoop.mapred.gridmix.JobFactory.getNextJobFiltered(JobFactory.java:174)
      at org.apache.hadoop.mapred.gridmix.StressJobFactory$StressReaderThread.run(StressJobFactory.java:166)
      10/09/23 09:43:17 INFO gridmix.Gridmix: Exiting...

      Attachments

        1. MAPREDUCE-2095_v2.patch
          6 kB
          Ranjit Mathew
        2. MAPREDUCE-2095_v3.1.patch
          9 kB
          Ravi Gummadi
        3. MAPREDUCE-2095_v3.patch
          7 kB
          Ranjit Mathew
        4. MAPREDUCE-2095.patch
          2 kB
          Ranjit Mathew
        5. wordcount.json.gz
          1 kB
          Ranjit Mathew

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ranjit Ranjit Mathew
            vinaythota Vinay Kumar Thota
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment