java.lang.NoSuchMethodError: java.lang.Long.hashCode(J)I

GitHub | ashvina | 7 months 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

    Error while submitting topology: instancePlan.hashCode method not found

    GitHub | 7 months ago | ashvina
    java.lang.NoSuchMethodError: java.lang.Long.hashCode(J)I

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.lang.Long.hashCode(J)I

      at com.twitter.heron.spi.packing.Resource.hashCode()
    2. com.twitter.heron
      PackingPlan$InstancePlan.hashCode
      1. com.twitter.heron.spi.packing.Resource.hashCode(Resource.java:57)
      2. com.twitter.heron.spi.packing.PackingPlan$InstancePlan.hashCode(PackingPlan.java:209)
      2 frames
    3. Java RT
      HashSet.<init>
      1. java.util.HashMap.hash(HashMap.java:362)
      2. java.util.HashMap.put(HashMap.java:492)
      3. java.util.HashSet.add(HashSet.java:217)
      4. java.util.AbstractCollection.addAll(AbstractCollection.java:342)
      5. java.util.HashSet.<init>(HashSet.java:117)
      5 frames
    4. com.twitter.heron
      SubmitterMain.main
      1. com.twitter.heron.packing.roundrobin.RoundRobinPacking.pack(RoundRobinPacking.java:146)
      2. com.twitter.heron.spi.utils.LauncherUtils.createPackingPlan(LauncherUtils.java:62)
      3. com.twitter.heron.scheduler.LaunchRunner.call(LaunchRunner.java:123)
      4. com.twitter.heron.scheduler.SubmitterMain.callLauncherRunner(SubmitterMain.java:459)
      5. com.twitter.heron.scheduler.SubmitterMain.submitTopology(SubmitterMain.java:413)
      6. com.twitter.heron.scheduler.SubmitterMain.main(SubmitterMain.java:322)
      6 frames