Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-40576

cbas crash 'URISyntaxException: Illegal character in path'

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown
    • CX Sprint 209, CX Sprint 212

    Description

      I'm seeing a cbas crash on my Windows 6.6.0-7862 cluster.  And what could be the same crash on our CI tests, against a Linux 6.6.0-7883 cluster.

      One of our tests that reliably creates the crash for me is:

      private static AnalyticsIndexManager analytics;
      private static final String name = "integration-test dataverse";

      @Test
      void dropDataverse() {
        analytics.createDataverse(name);
        // assertDataverseExists(name);
       
        analytics.dropDataverse(name);
        // assertDataverseDoesNotExist(name);
      }
       

      All analytics logs are attached.  The most pertinent bit looks to be:

      2020-07-22T11:52:45.728+01:00 FATA CBAS.lang.CBStatementExecutor [QueryTranslator:90c8bb8c-0a18-40eb-9362-e56fbad3d3b2] Successfully dropped a dataverse but not its buckets and links
      org.apache.hyracks.api.exceptions.HyracksDataException: Conversion = '4'
      	at org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:51) ~[hyracks-api.jar:6.6.0-7862]
      	at com.couchbase.analytics.bootstrap.MetaKvService.delete(MetaKvService.java:166) ~[cbas-server.jar:6.6.0-7862]
      	at com.couchbase.analytics.bootstrap.NsServerHelper.delete(NsServerHelper.java:275) ~[cbas-server.jar:6.6.0-7862]
      	at com.couchbase.analytics.metadata.CBMetadataUtil.dropLinkDetails(CBMetadataUtil.java:442) ~[cbas-connector.jar:6.6.0-7862]
      	at com.couchbase.analytics.lang.CBStatementExecutor.doDropDataverse(CBStatementExecutor.java:221) ~[cbas-connector.jar:6.6.0-7862]
      	at org.apache.asterix.app.translator.QueryTranslator.handleDataverseDropStatement(QueryTranslator.java:1392) ~[asterix-app.jar:6.6.0-7862]
      	at com.couchbase.analytics.lang.CBStatementExecutor.handleDataverseDropStatement(CBStatementExecutor.java:165) ~[cbas-connector.jar:6.6.0-7862]
      	at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:336) ~[asterix-app.jar:6.6.0-7862]
      	at org.apache.asterix.app.message.ExecuteStatementRequestMessage.handle(ExecuteStatementRequestMessage.java:155) ~[asterix-app.jar:6.6.0-7862]
      	at org.apache.asterix.messaging.CCMessageBroker.receivedMessage(CCMessageBroker.java:64) ~[asterix-app.jar:6.6.0-7862]
      	at org.apache.hyracks.control.cc.work.ApplicationMessageWork.lambda$notifyMessageBroker$0(ApplicationMessageWork.java:68) ~[hyracks-control-cc.jar:6.6.0-7862]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
      	at java.lang.Thread.run(Unknown Source) [?:?]
      Caused by: java.net.URISyntaxException: Illegal character in path at index 102: http://%40:11864f6698ffc41f066629d358638cb7@127.0.0.1:8091/_metakv/cbas/metadata/link/integration-test dataverse/Local
      	at java.net.URI$Parser.fail(Unknown Source) ~[?:?]
      	at java.net.URI$Parser.checkChars(Unknown Source) ~[?:?]
      	at java.net.URI$Parser.parseHierarchical(Unknown Source) ~[?:?]
      	at java.net.URI$Parser.parse(Unknown Source) ~[?:?]
      	at java.net.URI.<init>(Unknown Source) ~[?:?]
      	at org.apache.http.client.utils.URIBuilder.<init>(URIBuilder.java:82) ~[httpclient-4.5.11.jar:4.5.11]
      	at com.couchbase.analytics.bootstrap.MetaKvService.delete(MetaKvService.java:146) ~[cbas-server.jar:6.6.0-7862]
      	... 12 more
      2020-07-22T11:52:45.764+01:00 FATA CBAS.util.ExitUtil [pool-2-thread-1] JVM halting with status 8; thread dump at halt:  

      Please let me know if there's any additional diagnostics I can provide.  

      Attachments

        Activity

          People

            graham.pople Graham Pople
            graham.pople Graham Pople
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty