java.lang.AssertionError: expected:<1> but was:<2>

hadoop-hdfs-dev | Apache Jenkins Server | 1 year 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

    Hadoop-Hdfs-trunk - Build # 2685 - Still Failing

    hadoop-hdfs-dev | 1 year ago | Apache Jenkins Server
    java.lang.AssertionError: expected:<1> but was:<2>
  2. 0

    Hadoop-Hdfs-trunk - Build # 2711 - Still Failing

    hadoop-hdfs-dev | 1 year ago | Apache Jenkins Server
    java.lang.AssertionError: expected:<1> but was:<2>
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. odd 8 times, last 3 weeks ago
  2. Axelo 5 times, last 3 weeks ago
  3. jf-ast 1 times, last 3 weeks ago
  4. Casper 3 times, last 4 weeks ago
  5. rsprangemeijer 1 times, last 2 months ago
10 more registered users
33 unregistered visitors
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.AssertionError

    expected:<1> but was:<2>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:743)
    3. org.junit.Assert.assertEquals(Assert.java:118)
    4. org.junit.Assert.assertEquals(Assert.java:555)
    5. org.junit.Assert.assertEquals(Assert.java:542)
    5 frames
  3. Apache Hadoop HDFS
    TestShortCircuitCache.testDataXceiverCleansUpSlotsOnFailure
    1. org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitCache$17.accept(TestShortCircuitCache.java:633)
    2. org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.visit(ShortCircuitRegistry.java:395)
    3. org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitCache.checkNumberOfSegmentsAndSlots(TestShortCircuitCache.java:628)
    4. org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitCache.testDataXceiverCleansUpSlotsOnFailure(TestShortCircuitCache.java:682)
    4 frames