[jira] [Updated] (METRON-1598) NoClassDefFoundError when running with Elasticsearch X-Pack
[ https://issues.apache.org/jira/browse/METRON-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Allen updated METRON-1598: --- Fix Version/s: (was: Next + 1) 0.6.0 > NoClassDefFoundError when running with Elasticsearch X-Pack > --- > > Key: METRON-1598 > URL: https://issues.apache.org/jira/browse/METRON-1598 > Project: Metron > Issue Type: Bug >Affects Versions: 0.4.2 >Reporter: Nick Allen >Assignee: Nick Allen >Priority: Major > Fix For: 0.6.0 > > > When running on Elasticsearch with X-Pack enabled, the following exception is > thrown in the Metron REST logs. > {code} > 2018-05-23T07:43:16.000 ERROR > [org.apache.metron.elasticsearch.utils.ElasticsearchUtils] - Failed to > convert search request to JSON java.lang.NoClassDefFoundError: > com/fasterxml/jackson/dataformat/smile/SmileParser at > org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XContentFactory.java:123) > at > org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:62) > at > org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:52) > at > org.apache.metron.elasticsearch.utils.ElasticsearchUtils.toJSON(ElasticsearchUtils.java:277) > at > org.apache.metron.elasticsearch.dao.ElasticsearchRequestSubmitter.submitSearch(ElasticsearchRequestSubmitter.java:58) > at > org.apache.metron.elasticsearch.dao.ElasticsearchDao.search(ElasticsearchDao.java:172) > at > org.apache.metron.elasticsearch.dao.ElasticsearchMetaAlertDao.search(ElasticsearchMetaAlertDao.java:403) > at > org.apache.metron.rest.service.impl.SearchServiceImpl.search(SearchServiceImpl.java:83) > at > org.apache.metron.rest.controller.SearchController.search(SearchController.java:54) > {code} > This does not happen with all queries, just some queries. For example, the > following query completes successfully. > {code} > { > "indices" : [], > "query" : "*", > "size" : 100, > "from" : 0, > "sort" : [ \{ "field" : "timestamp", "sortOrder" : "DESC" } ], > "fields" : null, > "facetFields" : null > } > {code} > On the other hand, this query fails with the exception shown above. > {code} > { > "indices" : [], > "query" : "*", > "size" : 100, > "from" : 0, > "sort" : [ \{ "field" : "timestamp", "sortOrder" : "DESC" } ], > "fields" : null, > "facetFields" : [] > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (METRON-1598) NoClassDefFoundError when running with Elasticsearch X-Pack
[ https://issues.apache.org/jira/browse/METRON-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Allen updated METRON-1598: --- Fix Version/s: Next + 1 > NoClassDefFoundError when running with Elasticsearch X-Pack > --- > > Key: METRON-1598 > URL: https://issues.apache.org/jira/browse/METRON-1598 > Project: Metron > Issue Type: Bug >Affects Versions: 0.4.2 >Reporter: Nick Allen >Assignee: Nick Allen >Priority: Major > Fix For: Next + 1 > > > When running on Elasticsearch with X-Pack enabled, the following exception is > thrown in the Metron REST logs. > {code} > 2018-05-23T07:43:16.000 ERROR > [org.apache.metron.elasticsearch.utils.ElasticsearchUtils] - Failed to > convert search request to JSON java.lang.NoClassDefFoundError: > com/fasterxml/jackson/dataformat/smile/SmileParser at > org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XContentFactory.java:123) > at > org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:62) > at > org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:52) > at > org.apache.metron.elasticsearch.utils.ElasticsearchUtils.toJSON(ElasticsearchUtils.java:277) > at > org.apache.metron.elasticsearch.dao.ElasticsearchRequestSubmitter.submitSearch(ElasticsearchRequestSubmitter.java:58) > at > org.apache.metron.elasticsearch.dao.ElasticsearchDao.search(ElasticsearchDao.java:172) > at > org.apache.metron.elasticsearch.dao.ElasticsearchMetaAlertDao.search(ElasticsearchMetaAlertDao.java:403) > at > org.apache.metron.rest.service.impl.SearchServiceImpl.search(SearchServiceImpl.java:83) > at > org.apache.metron.rest.controller.SearchController.search(SearchController.java:54) > {code} > This does not happen with all queries, just some queries. For example, the > following query completes successfully. > {code} > { > "indices" : [], > "query" : "*", > "size" : 100, > "from" : 0, > "sort" : [ \{ "field" : "timestamp", "sortOrder" : "DESC" } ], > "fields" : null, > "facetFields" : null > } > {code} > On the other hand, this query fails with the exception shown above. > {code} > { > "indices" : [], > "query" : "*", > "size" : 100, > "from" : 0, > "sort" : [ \{ "field" : "timestamp", "sortOrder" : "DESC" } ], > "fields" : null, > "facetFields" : [] > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (METRON-1598) NoClassDefFoundError when running with Elasticsearch X-Pack
[ https://issues.apache.org/jira/browse/METRON-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Allen updated METRON-1598: --- Description: When running on Elasticsearch with X-Pack enabled, the following exception is thrown in the Metron REST logs. {code} 2018-05-23T07:43:16.000 ERROR [org.apache.metron.elasticsearch.utils.ElasticsearchUtils] - Failed to convert search request to JSON java.lang.NoClassDefFoundError: com/fasterxml/jackson/dataformat/smile/SmileParser at org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XContentFactory.java:123) at org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:62) at org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:52) at org.apache.metron.elasticsearch.utils.ElasticsearchUtils.toJSON(ElasticsearchUtils.java:277) at org.apache.metron.elasticsearch.dao.ElasticsearchRequestSubmitter.submitSearch(ElasticsearchRequestSubmitter.java:58) at org.apache.metron.elasticsearch.dao.ElasticsearchDao.search(ElasticsearchDao.java:172) at org.apache.metron.elasticsearch.dao.ElasticsearchMetaAlertDao.search(ElasticsearchMetaAlertDao.java:403) at org.apache.metron.rest.service.impl.SearchServiceImpl.search(SearchServiceImpl.java:83) at org.apache.metron.rest.controller.SearchController.search(SearchController.java:54) {code} This does not happen with all queries, just some queries. For example, the following query completes successfully. {code} { "indices" : [], "query" : "*", "size" : 100, "from" : 0, "sort" : [ \{ "field" : "timestamp", "sortOrder" : "DESC" } ], "fields" : null, "facetFields" : null } {code} On the other hand, this query fails with the exception shown above. {code} { "indices" : [], "query" : "*", "size" : 100, "from" : 0, "sort" : [ \{ "field" : "timestamp", "sortOrder" : "DESC" } ], "fields" : null, "facetFields" : [] } {code} was: When running on Elasticsearch with X-Pack enabled, the following exception is thrown in the Metron REST logs. {code} 2018-05-23T07:43:16.000 ERROR [org.apache.metron.elasticsearch.utils.ElasticsearchUtils] - Failed to convert search request to JSON java.lang.NoClassDefFoundError: com/fasterxml/jackson/dataformat/smile/SmileParser at org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XContentFactory.java:123) at org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:62) at org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:52) at org.apache.metron.elasticsearch.utils.ElasticsearchUtils.toJSON(ElasticsearchUtils.java:277) at org.apache.metron.elasticsearch.dao.ElasticsearchRequestSubmitter.submitSearch(ElasticsearchRequestSubmitter.java:58) at org.apache.metron.elasticsearch.dao.ElasticsearchDao.search(ElasticsearchDao.java:172) at org.apache.metron.elasticsearch.dao.ElasticsearchMetaAlertDao.search(ElasticsearchMetaAlertDao.java:403) at org.apache.metron.rest.service.impl.SearchServiceImpl.search(SearchServiceImpl.java:83) at org.apache.metron.rest.controller.SearchController.search(SearchController.java:54) {code} This does not happen with all queries, just some queries. For example, the following query completes successfully. {code} { "indices" : [], "query" : "*", "size" : 100, "from" : 0, "sort" : [ \{ "field" : "timestamp", "sortOrder" : "DESC" } ], "fields" : null, "facetFields" : null } {code} On the other hand, this query fails with the exception shown above. {code} { "indices" : [], "query" : "*", "size" : 100, "from" : 0, "sort" : [ \{ "field" : "timestamp", "sortOrder" : "DESC" } ], "fields" : null, "facetFields" : [] } {code} > NoClassDefFoundError when running with Elasticsearch X-Pack > --- > > Key: METRON-1598 > URL: https://issues.apache.org/jira/browse/METRON-1598 > Project: Metron > Issue Type: Bug >Affects Versions: 0.4.2 >Reporter: Nick Allen >Assignee: Nick Allen >Priority: Major > > When running on Elasticsearch with X-Pack enabled, the following exception is > thrown in the Metron REST logs. > {code} > 2018-05-23T07:43:16.000 ERROR > [org.apache.metron.elasticsearch.utils.ElasticsearchUtils] - Failed to > convert search request to JSON java.lang.NoClassDefFoundError: > com/fasterxml/jackson/dataformat/smile/SmileParser at > org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XContentFactory.java:123) > at > org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:62) > at > org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:52) > at > org.apache.metron.elasticsearch.utils.ElasticsearchUtils.toJSON(ElasticsearchUtils.java:277) > at > org.ap