java.lang.IllegalArgumentException: Key type must be of class WritableType

crunch-user | Kristoffer Sjögren | 2 years ago
  1. 0

    How to count MemPipeline?

    crunch-user | 2 years ago | Kristoffer Sjögren
    java.lang.IllegalArgumentException: Key type must be of class WritableType
  2. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.
  3. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Key type must be of class WritableType

      at org.apache.crunch.types.writable.Writables.tableOf()
    2. org.apache.crunch
      MemCollection.count
      1. org.apache.crunch.types.writable.Writables.tableOf(Writables.java:351)
      2. org.apache.crunch.types.writable.WritableTypeFamily.tableOf(WritableTypeFamily.java:95)
      3. org.apache.crunch.lib.Aggregate.count(Aggregate.java:65)
      4. org.apache.crunch.lib.Aggregate.count(Aggregate.java:56)
      5. org.apache.crunch.impl.mem.collect.MemCollection.count(MemCollection.java:230)
      5 frames
    3. mapred.functions
      FunctionsTest.testGroupActionCount
      1. mapred.functions.FunctionsTest.testGroupActionCount(FunctionsTest.java:79)
      1 frame