Marklogic 我可以将mlDatabasesWithForestsOnOneHost与副本一起使用吗?
Marklogic 我可以将mlDatabasesWithForestsOnOneHost与副本一起使用吗?,marklogic,ml-gradle,Marklogic,Ml Gradle,mlprintfrestplan在尝试将mlDatabasesWithForestsOnOneHost与3节点集群中的副本一起使用时出错 # gradle-prod.properties mlDatabasesWithForestsOnOneHost=myApp-modules,myApp-schemas,myApp-triggers mlDatabaseNamesAndReplicaCounts=myApp-content,1,myApp-modules,1,myApp-schemas,1,m
mlprintfrestplan
在尝试将mlDatabasesWithForestsOnOneHost
与3节点集群中的副本一起使用时出错
# gradle-prod.properties
mlDatabasesWithForestsOnOneHost=myApp-modules,myApp-schemas,myApp-triggers
mlDatabaseNamesAndReplicaCounts=myApp-content,1,myApp-modules,1,myApp-schemas,1,myApp-triggers,1
mlprintfrestplan
命令显示上述配置的错误。我是否需要指定其他内容,以便仅在一台主机上设置数据库,而在另一台主机上设置副本
./gradlew mlPrintForestPlan -Pdatabase=myApp-modules -PenvironmentName=prod
> Task :mlPrintForestPlan FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mlPrintForestPlan'.
> Not enough hosts exists to create 1 replicas for database 'myApp-modules'; possible hosts, which may include the host with the primary forest and thus cannot have a replica: [myHost1]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
1 actionable task: 1 executed
版本:
- MarkLogic:10.0-5.1
- ml梯度:6.3
- JDK:openjdk版本“13.0.2”2020-01-14