Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Cheshire-Cat
-
7.0.0-3938
-
Untriaged
-
Centos 64-bit
-
1
-
No
-
CX Sprint 228
Description
Steps to reproduce -
1) Execute "Create dataverse xyz if not exists" multiple times (atleast 10-15 times).
If the issue is not reproduced then continue with below steps-
2) Load travel-sample bucket.
3) Execute "Create dataset if not exists xyz on `travel-sample`;
4) Error is thrown if we try to connect .Local link.
Following errors are seen in the logs -
==> analytics_warn.log <==
|
2020-12-09T01:29:08.235-08:00 WARN CBAS.apache.asterix [Executor-4:ClusterController] ASX1063: Cannot find dataverse with name undefined (in line 1, at column 1) |
org.apache.asterix.common.exceptions.CompilationException: ASX1063: Cannot find dataverse with name undefined (in line 1, at column 1) |
at com.couchbase.analytics.lang.ConnectionStatement.ensureLinkAndBucketsExist(ConnectionStatement.java:102) ~[cbas-connector.jar:7.0.0-3938] |
at com.couchbase.analytics.lang.DisconnectLinkStatement.doHandle(DisconnectLinkStatement.java:63) ~[cbas-connector.jar:7.0.0-3938] |
at com.couchbase.analytics.lang.ConnectionStatement.handle(ConnectionStatement.java:67) ~[cbas-connector.jar:7.0.0-3938] |
at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:455) ~[asterix-app.jar:7.0.0-3938] |
at org.apache.asterix.app.message.ExecuteStatementRequestMessage.handle(ExecuteStatementRequestMessage.java:154) ~[asterix-app.jar:7.0.0-3938] |
at org.apache.asterix.messaging.CCMessageBroker.receivedMessage(CCMessageBroker.java:64) ~[asterix-app.jar:7.0.0-3938] |
at org.apache.hyracks.control.cc.work.ApplicationMessageWork.lambda$notifyMessageBroker$0(ApplicationMessageWork.java:68) ~[hyracks-control-cc.jar:7.0.0-3938] |
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
|
at java.lang.Thread.run(Unknown Source) [?:?]
|
|
==> analytics_debug.log <==
|
2020-12-09T01:29:08.234-08:00 DEBU CBAS.work.WorkQueue [Worker:ClusterController] Executing: ApplicationMessage: nodeID: 7b5bbfc57cd1ae96da169e01119b5003 |
2020-12-09T01:29:08.239-08:00 DEBU CBAS.work.WorkQueue [Worker:7b5bbfc57cd1ae96da169e01119b5003] Executing: ApplicationMessage: nodeId: 7b5bbfc57cd1ae96da169e01119b5003 |
|
==> analytics_access.log <==
|
127.0.0.1 - - [09/Dec/2020:01:29:08 -0800] "POST /query/service HTTP/1.1" 400 388 "http://10.112.205.101:8091/ui/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36" |
|
==> analytics_debug.log <==
|
2020-12-09T01:29:08.240-08:00 DEBU CBAS.server.QueryServiceServlet [HttpExecutor(port:8095)-13] handleException: ASX1063: Cannot find dataverse with name undefined (in line 1, at column 1): <ud>{"host":"10.112.205.101:8091","path":"/query/service","statement":"disconnect link `undefined`.`Local`","pretty":false,"mode":"immediate","clientContextID":null,"format":"CLEAN_JSON","timeout":9223372036854775807,"maxResultReads":1,"planFormat":"JSON","expressionTree":false,"rewrittenExpressionTree":false,"logicalPlan":false,"optimizedLogicalPlan":false,"job":false,"profile":"counts","signature":true,"multiStatement":false,"parseOnly":false,"readOnly":false,"maxWarnings":0,"scanConsistency":null,"scanWait":null}</ud> |
org.apache.asterix.common.exceptions.CompilationException: ASX1063: Cannot find dataverse with name undefined (in line 1, at column 1) |
at com.couchbase.analytics.lang.ConnectionStatement.ensureLinkAndBucketsExist(ConnectionStatement.java:102) ~[cbas-connector.jar:7.0.0-3938] |
at com.couchbase.analytics.lang.DisconnectLinkStatement.doHandle(DisconnectLinkStatement.java:63) ~[cbas-connector.jar:7.0.0-3938] |
at com.couchbase.analytics.lang.ConnectionStatement.handle(ConnectionStatement.java:67) ~[cbas-connector.jar:7.0.0-3938] |
at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:455) ~[asterix-app.jar:7.0.0-3938] |
at org.apache.asterix.app.message.ExecuteStatementRequestMessage.handle(ExecuteStatementRequestMessage.java:154) ~[asterix-app.jar:7.0.0-3938] |
at org.apache.asterix.messaging.CCMessageBroker.receivedMessage(CCMessageBroker.java:64) ~[asterix-app.jar:7.0.0-3938] |
at org.apache.hyracks.control.cc.work.ApplicationMessageWork.lambda$notifyMessageBroker$0(ApplicationMessageWork.java:68) ~[hyracks-control-cc.jar:7.0.0-3938] |
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
|
at java.lang.Thread.run(Unknown Source) [?:?]
|
|
==> analytics_info.log <==
|
2020-12-09T01:29:08.231-08:00 INFO CBAS.server.QueryServiceServlet [HttpExecutor(port:8095)-13] handleRequest: <ud>{"host":"10.112.205.101:8091","path":"/query/service","statement":"disconnect link `undefined`.`Local`","pretty":false,"mode":"immediate","clientContextID":null,"format":"CLEAN_JSON","timeout":9223372036854775807,"maxResultReads":1,"planFormat":"JSON","expressionTree":false,"rewrittenExpressionTree":false,"logicalPlan":false,"optimizedLogicalPlan":false,"job":false,"profile":"counts","signature":true,"multiStatement":true,"parseOnly":false,"readOnly":false,"maxWarnings":0,"scanConsistency":null,"scanWait":null}</ud> |
2020-12-09T01:29:08.234-08:00 INFO CBAS.messaging.CCMessageBroker [Executor-4:ClusterController] Received message: ExecuteStatementRequestMessage(id=388, from=7b5bbfc57cd1ae96da169e01119b5003): <ud>disconnect link `undefined`.`Local`;</ud> |
2020-12-09T01:29:08.235-08:00 WARN CBAS.apache.asterix [Executor-4:ClusterController] ASX1063: Cannot find dataverse with name undefined (in line 1, at column 1) |
org.apache.asterix.common.exceptions.CompilationException: ASX1063: Cannot find dataverse with name undefined (in line 1, at column 1) |
at com.couchbase.analytics.lang.ConnectionStatement.ensureLinkAndBucketsExist(ConnectionStatement.java:102) ~[cbas-connector.jar:7.0.0-3938] |
at com.couchbase.analytics.lang.DisconnectLinkStatement.doHandle(DisconnectLinkStatement.java:63) ~[cbas-connector.jar:7.0.0-3938] |
at com.couchbase.analytics.lang.ConnectionStatement.handle(ConnectionStatement.java:67) ~[cbas-connector.jar:7.0.0-3938] |
at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:455) ~[asterix-app.jar:7.0.0-3938] |
at org.apache.asterix.app.message.ExecuteStatementRequestMessage.handle(ExecuteStatementRequestMessage.java:154) ~[asterix-app.jar:7.0.0-3938] |
at org.apache.asterix.messaging.CCMessageBroker.receivedMessage(CCMessageBroker.java:64) ~[asterix-app.jar:7.0.0-3938] |
at org.apache.hyracks.control.cc.work.ApplicationMessageWork.lambda$notifyMessageBroker$0(ApplicationMessageWork.java:68) ~[hyracks-control-cc.jar:7.0.0-3938] |
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
|
at java.lang.Thread.run(Unknown Source) [?:?]
|