java.lang.IllegalStateException: named 'null' cannot be serialized

crunch-user | Benjamin Mears | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    In memory PCollection for use in MRPipeline

    crunch-user | 2 years ago | Benjamin Mears
    java.lang.IllegalStateException: named 'null' cannot be serialized

    Root Cause Analysis

    1. java.lang.IllegalStateException

      named 'null' cannot be serialized

      at org.apache.crunch.impl.mem.collect.MemCollection.verifySerializable()
    2. org.apache.crunch
      MemCollection.parallelDo
      1. org.apache.crunch.impl.mem.collect.MemCollection.verifySerializable(MemCollection.java:110)
      2. org.apache.crunch.impl.mem.collect.MemCollection.parallelDo(MemCollection.java:129)
      2 frames