This is an automated email from the ASF dual-hosted git repository.
nizhikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new f88c872 IGNITE-12908 Changes approach of checking for the presence of
SqlViewExporterSpi. (#7695)
f88c872 is described below
commit f88c87265f5be809e00ac82ae0a2938c4bec082e
Author: Mikhail Petrov <[email protected]>
AuthorDate: Tue Apr 21 11:20:18 2020 +0300
IGNITE-12908 Changes approach of checking for the presence of
SqlViewExporterSpi. (#7695)
---
modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
index 5ed7256..46445c8 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
@@ -2488,7 +2488,7 @@ public class IgnitionEx {
cfg.setMetricExporterSpi(new NoopMetricExporterSpi());
if (F.isEmpty(cfg.getSystemViewExporterSpi())) {
- if (IgniteUtils.inClassPath(SYSTEM_VIEW_SQL_SPI)) {
+ if (IgniteComponentType.INDEXING.inClassPath()) {
try {
cfg.setSystemViewExporterSpi(new
JmxSystemViewExporterSpi(),
U.newInstance(SYSTEM_VIEW_SQL_SPI));