You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2020/06/17 20:09:38 UTC

[impala] branch master updated: IMPALA-9862: Don't exclude Solr dependencies in frontend build

This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git


The following commit(s) were added to refs/heads/master by this push:
     new fd810e6  IMPALA-9862: Don't exclude Solr dependencies in frontend build
fd810e6 is described below

commit fd810e6f0926e0651c0ae30dd7ae654962701b95
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Tue Jun 16 19:39:19 2020 -0700

    IMPALA-9862: Don't exclude Solr dependencies in frontend build
    
    Ranger can be configured in a variety of ways and some
    have a runtime dependency on Solr. If Solr is excluded,
    then Impala can fail to startup due to ClassNotFoundException
    for org.apache.solr.SolrException.
    
    This removes the exclusion for Solr from fe/pom.xml.
    
    Testing:
     - Tests on a cluster that previously failed with ClassNotFoundException
       now pass.
    
    Change-Id: Ifb74c20a56e5795cba2efbe887d32392af4017f3
    Reviewed-on: http://gerrit.cloudera.org:8080/16089
    Reviewed-by: Joe McDonnell <jo...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 fe/pom.xml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/fe/pom.xml b/fe/pom.xml
index ec40300..787cafa 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -212,10 +212,6 @@ under the License.
           <groupId>org.apache.kafka</groupId>
           <artifactId>kafka_2.11</artifactId>
         </exclusion>
-        <exclusion>
-          <groupId>org.apache.solr</groupId>
-          <artifactId>*</artifactId>
-        </exclusion>
       </exclusions>
     </dependency>
     <!-- this is needed by ranger-plugins-audit -->
@@ -692,8 +688,6 @@ under the License.
                     <exclude>io.netty:*</exclude>
                     <!-- Avoid runtime dependency on rocksdb. -->
                     <exclude>org.rocksdb:*</exclude>
-                    <!-- Avoid runtime dependency on solr. -->
-                    <exclude>org.apache.solr:*</exclude>
                     <!-- Avoid runtime dependency on Jersey server components. -->
                     <exclude>com.sun.jersey:jersey-server</exclude>
                     <exclude>com.sun.jersey:jersey-server</exclude>