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

cbas crash 'URISyntaxException: Illegal character in path'

    XMLWordPrintable

    Details

    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown
    • Sprint:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          graham.pople Graham Pople created issue -
          graham.pople Graham Pople made changes -
          Field Original Value New Value
          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:
          {code:java}
          private static AnalyticsIndexManager analytics;
          private static final String name = "integration-test dataverse";{code}
          {code:java}
          @Test
          void dropDataverse() {
            analytics.createDataverse(name);
            // assertDataverseExists(name);

            analytics.dropDataverse(name);
            // assertDataverseDoesNotExist(name);
          }
           {code}
          All analytics logs are attached.  Please let me know if there's any additional diagnostics I can provide.
          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:
          {code:java}private static AnalyticsIndexManager analytics;
          private static final String name = "integration-test dataverse";{code}
          {code:java}@Test
          void dropDataverse() {
            analytics.createDataverse(name);
            // assertDataverseExists(name);

            analytics.dropDataverse(name);
            // assertDataverseDoesNotExist(name);
          }
           {code}
          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.  
          graham.pople Graham Pople made changes -
          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:
          {code:java}private static AnalyticsIndexManager analytics;
          private static final String name = "integration-test dataverse";{code}
          {code:java}@Test
          void dropDataverse() {
            analytics.createDataverse(name);
            // assertDataverseExists(name);

            analytics.dropDataverse(name);
            // assertDataverseDoesNotExist(name);
          }
           {code}
          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.  
          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:
          {code:java}private static AnalyticsIndexManager analytics;
          private static final String name = "integration-test dataverse";{code}
          {code:java}@Test
          void dropDataverse() {
            analytics.createDataverse(name);
            // assertDataverseExists(name);

            analytics.dropDataverse(name);
            // assertDataverseDoesNotExist(name);
          }
           {code}
          All analytics logs are attached.  The most pertinent bit looks to be:
          {code:java}
          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: {code}
          Please let me know if there's any additional diagnostics I can provide.  
          murtadha.hubail Murtadha Hubail made changes -
          Affects Version/s 6.6.0 [ 16787 ]
          till Till Westmann made changes -
          Rank Ranked higher
          till Till Westmann made changes -
          Assignee Till Westmann [ till ] Murtadha Hubail [ murtadha.hubail ]
          till Till Westmann made changes -
          Fix Version/s 6.6.1 [ 17002 ]
          till Till Westmann made changes -
          Labels releasenote
          till Till Westmann made changes -
          Labels releasenote releasenote triaged
          michael.blow Michael Blow made changes -
          Assignee Murtadha Hubail [ murtadha.hubail ] Michael Blow [ michael.blow ]
          michael.blow Michael Blow made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          michael.blow Michael Blow made changes -
          Labels releasenote triaged 6.6.0-candidate releasenote triaged
          michael.blow Michael Blow made changes -
          Sprint CX Sprint 209 [ 1167 ]
          graham.pople Graham Pople made changes -
          Labels 6.6.0-candidate releasenote triaged 6.6.0-candidate combination_testing releasenote triaged
          till Till Westmann made changes -
          Sprint CX Sprint 209 [ 1167 ] CX Sprint 209, CX Sprint 210 [ 1167, 1174 ]
          till Till Westmann made changes -
          Sprint CX Sprint 209, CX Sprint 210 [ 1167, 1174 ] CX Sprint 209 [ 1167 ]
          till Till Westmann made changes -
          Rank Ranked higher
          till Till Westmann made changes -
          Rank Ranked higher
          till Till Westmann made changes -
          Sprint CX Sprint 209 [ 1167 ] CX Sprint 209, CX Sprint 212 [ 1167, 1189 ]
          till Till Westmann made changes -
          Rank Ranked lower
          till Till Westmann made changes -
          Link This issue blocks MB-40528 [ MB-40528 ]
          till Till Westmann made changes -
          Labels 6.6.0-candidate combination_testing releasenote triaged approved-for-6.6.1 combination_testing releasenote triaged
          michael.blow Michael Blow made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          umang.agrawal Umang made changes -
          Comment [ Verification Steps -  ]
          ritam.sharma Ritam Sharma made changes -
          Assignee Michael Blow [ michael.blow ] Arunkumar Senthilnathan [ arunkumar ]
          arunkumar Arunkumar Senthilnathan made changes -
          Assignee Arunkumar Senthilnathan [ arunkumar ] Graham Pople [ graham.pople ]
          arunkumar Arunkumar Senthilnathan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                PagerDuty