Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10823

TestReloadingX509TrustManager is flaky

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.8.0, 3.0.0-alpha1
    • None

    Description

      Pasting the log

      Error Message

      expected:<2> but was:<1>
      Stacktrace

      junit.framework.AssertionFailedError: expected:<2> but was:<1>
      at junit.framework.Assert.fail(Assert.java:50)
      at junit.framework.Assert.failNotEquals(Assert.java:287)
      at junit.framework.Assert.assertEquals(Assert.java:67)
      at junit.framework.Assert.assertEquals(Assert.java:199)
      at junit.framework.Assert.assertEquals(Assert.java:205)
      at org.apache.hadoop.security.ssl.TestReloadingX509TrustManager.testReload(TestReloadingX509TrustManager.java:112)
      Standard Output

      2014-07-06 06:12:21,170 WARN ssl.ReloadingX509TrustManager (ReloadingX509TrustManager.java:run(197)) - Could not load truststore (keep using existing one) : java.io.EOFException
      java.io.EOFException
      at java.io.DataInputStream.readInt(DataInputStream.java:375)
      at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:628)
      at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
      at java.security.KeyStore.load(KeyStore.java:1185)
      at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.loadTrustManager(ReloadingX509TrustManager.java:166)
      at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.run(ReloadingX509TrustManager.java:195)
      at java.lang.Thread.run(Thread.java:662)

      Attachments

        1. HADOOP-10823.001.patch
          3 kB
          Mingliang Liu
        2. HADOOP-10823.002.patch
          5 kB
          Mingliang Liu
        3. HADOOP-10823.003.patch
          6 kB
          Mingliang Liu
        4. HADOOP-10823.004.patch
          7 kB
          Mingliang Liu
        5. HADOOP-10823.005.patch
          7 kB
          Mingliang Liu
        6. HADOOP-10823.patch
          2 kB
          Ratandeep Ratti

        Issue Links

        Activity

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

          People

            liuml07 Mingliang Liu Assign to me
            rdsr Ratandeep Ratti
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment