Uploaded image for project: 'DistributedLog'
  1. DistributedLog
  2. DL-150

TestZKLogMetadataForWriter.testCreateLogMetadata is flaky

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • tests
    • None

    Description

      Error Message
      
      Failed to create log /messaging/distributedlog/testCreateLogMetadata/<default> : NONODE
      
      Stacktrace
      
      com.twitter.distributedlog.exceptions.ZKException: Failed to create log /messaging/distributedlog/testCreateLogMetadata/<default> : NONODE
      	at com.twitter.distributedlog.impl.metadata.ZKLogMetadataForWriter$3.processResult(ZKLogMetadataForWriter.java:277)
      	at org.apache.bookkeeper.zookeeper.ZooKeeperClient$3$1.processResult(ZooKeeperClient.java:566)
      	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:687)
      	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:528)
      
      

      The problem is the namespace uri is not created before tests.

      Attachments

        Issue Links

          Activity

            People

              hustlmsp Sijie Guo
              hustlmsp Sijie Guo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: