You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/09 01:56:00 UTC

[jira] [Work logged] (BEAM-14004) [CosmosDB] com.mongodb.MongoCommandException: Command failed with error 115: Command is not supported

     [ https://issues.apache.org/jira/browse/BEAM-14004?focusedWorklogId=738483&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-738483 ]

ASF GitHub Bot logged work on BEAM-14004:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Mar/22 01:55
            Start Date: 09/Mar/22 01:55
    Worklog Time Spent: 10m 
      Work Description: codecov[bot] edited a comment on pull request #16972:
URL: https://github.com/apache/beam/pull/16972#issuecomment-1054704686


   # [Codecov](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#16972](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (ec2de2b) into [release-2.36.0](https://codecov.io/gh/apache/beam/commit/3819f2ad7ef3366fdce13fba090a3e6ed874261f?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (3819f2a) will **increase** coverage by `37.28%`.
   > The diff coverage is `100.00%`.
   
   > :exclamation: Current head ec2de2b differs from pull request most recent head 0cdfdfb. Consider uploading reports for the commit 0cdfdfb to get more accurate results
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/beam/pull/16972/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@                 Coverage Diff                 @@
   ##           release-2.36.0   #16972       +/-   ##
   ===================================================
   + Coverage           46.32%   83.60%   +37.28%     
   ===================================================
     Files                 201      452      +251     
     Lines               19734    62072    +42338     
   ===================================================
   + Hits                 9141    51895    +42754     
   - Misses               9612    10177      +565     
   + Partials              981        0      -981     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [sdks/python/apache\_beam/version.py](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdmVyc2lvbi5weQ==) | `100.00% <100.00%> (ø)` | |
   | [sdks/go/pkg/beam/core/runtime/exec/data.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL3J1bnRpbWUvZXhlYy9kYXRhLmdv) | | |
   | [sdks/go/pkg/beam/pardo.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9wYXJkby5nbw==) | | |
   | [...beam/core/runtime/harness/statecache/statecache.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL3J1bnRpbWUvaGFybmVzcy9zdGF0ZWNhY2hlL3N0YXRlY2FjaGUuZ28=) | | |
   | [sdks/go/pkg/beam/core/graph/node.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL2dyYXBoL25vZGUuZ28=) | | |
   | [sdks/go/pkg/beam/core/runtime/graphx/tree.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL3J1bnRpbWUvZ3JhcGh4L3RyZWUuZ28=) | | |
   | [sdks/go/pkg/beam/runners/direct/direct.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9ydW5uZXJzL2RpcmVjdC9kaXJlY3QuZ28=) | | |
   | [sdks/go/pkg/beam/core/runtime/xlangx/registry.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL3J1bnRpbWUveGxhbmd4L3JlZ2lzdHJ5Lmdv) | | |
   | [sdks/go/pkg/beam/core/funcx/sideinput.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL2Z1bmN4L3NpZGVpbnB1dC5nbw==) | | |
   | [sdks/go/pkg/beam/core/util/protox/protox.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL3V0aWwvcHJvdG94L3Byb3RveC5nbw==) | | |
   | ... and [644 more](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [3819f2a...0cdfdfb](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 738483)
    Time Spent: 3h 10m  (was: 3h)

> [CosmosDB] com.mongodb.MongoCommandException: Command failed with error 115: Command is not supported
> -----------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-14004
>                 URL: https://issues.apache.org/jira/browse/BEAM-14004
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-mongodb
>    Affects Versions: 2.36.0
>            Reporter: Hector Miuler Malpica Gallegos
>            Priority: P2
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> You can't read cosmosdb collections using mongodb api because mongodb api doesn't support the  *{{splitVector}}* command.
>  
>  
> {code:java}
> Sending command '{"splitVector": "test01.payment", "keyPattern": {"_id": 1}, "force": false, "maxChunkSize": 1}' with request id 22 to database test01 on connection [connectionId{localValue:6, serverValue:792577514}] to server cdb-test.documents.azure.com:10255{code}
>  
> {code:java}
> com.mongodb.MongoCommandException: Command failed with error 115: 'Command is not supported.  ConnectionId fb598622-cc64-439a-affe-188c280c8e52  ActivityId: fde0dba1-0000-0000-0000-000000000000' on server cdb-test.documents.azure.com:10255. The full response is{"_t": "OKMongoResponse", "ok": 0,     "code": 115, "errmsg": "Command is not supported.  ConnectionId fb598622-cc64-439a-affe-188c280c8e52  ActivityId: fde0dba1-0000-0000-0000-000000000000", "$err": "Command is not supported.  ConnectionId fb598622-cc64-439a-affe-188c280c8e52  ActivityId: fde0dba1-0000-0000-0000-000000000000"}        at com.mongodb.internal.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:175)
>         at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:303)
>         at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:259)
>         at com.mongodb.internal.connection.UsageTrackingInternalConnection.sendAndReceive(UsageTrackingInternalConnection.java:99)
>         at com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.sendAndReceive(DefaultConnectionPool.java:450)
>         at com.mongodb.internal.connection.CommandProtocolImpl.execute(CommandProtocolImpl.java:72)
>         at com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:226)
>         at com.mongodb.internal.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:269)
>         at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:131)
>         at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:123)
>         at com.mongodb.operation.CommandOperationHelper.executeCommand(CommandOperationHelper.java:343)
>         at com.mongodb.operation.CommandOperationHelper.executeCommand(CommandOperationHelper.java:334)
>         at com.mongodb.operation.CommandOperationHelper.executeCommandWithConnection(CommandOperationHelper.java:220)
>         at com.mongodb.operation.CommandOperationHelper$5.call(CommandOperationHelper.java:206)
>         at com.mongodb.operation.OperationHelper.withReadConnectionSource(OperationHelper.java:463)
>         at com.mongodb.operation.CommandOperationHelper.executeCommand(CommandOperationHelper.java:203)
>         at com.mongodb.operation.CommandOperationHelper.executeCommand(CommandOperationHelper.java:198)
>         at com.mongodb.operation.CommandReadOperation.execute(CommandReadOperation.java:59)
>         at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:194)
>         at com.mongodb.client.internal.MongoDatabaseImpl.executeCommand(MongoDatabaseImpl.java:194)
>         at com.mongodb.client.internal.MongoDatabaseImpl.runCommand(MongoDatabaseImpl.java:163)
>         at com.mongodb.client.internal.MongoDatabaseImpl.runCommand(MongoDatabaseImpl.java:158)
>         at com.mongodb.client.internal.MongoDatabaseImpl.runCommand(MongoDatabaseImpl.java:148)
>         at org.apache.beam.sdk.io.mongodb.MongoDbIO$BoundedMongoDbSource.split(MongoDbIO.java:492)
>         at org.apache.beam.runners.direct.BoundedReadEvaluatorFactory$InputProvider.getInitialInputs(BoundedReadEvaluatorFactory.java:216)
>         at org.apache.beam.runners.direct.ReadEvaluatorFactory$InputProvider.getInitialInputs(ReadEvaluatorFactory.java:88)
>         at org.apache.beam.runners.direct.RootProviderRegistry.getInitialInputs(RootProviderRegistry.java:80)
>         at org.apache.beam.runners.direct.ExecutorServiceParallelExecutor.start(ExecutorServiceParallelExecutor.java:160)
>         at org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:213)
>         at org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:67)
>         at org.apache.beam.sdk.Pipeline.run(Pipeline.java:323)
>         at org.apache.beam.sdk.Pipeline.run(Pipeline.java:309)
>         ...{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)