You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@griffin.apache.org by gu...@apache.org on 2019/08/12 15:03:56 UTC

[griffin] branch master updated: [GRIFFIN-275][MEASURE] Post data to ElasticSearch failed

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2c2e49a  [GRIFFIN-275][MEASURE] Post data to ElasticSearch failed
2c2e49a is described below

commit 2c2e49a268b8d525a7f19d04b028e9cb43b000fe
Author: Johnnie <jo...@gmail.com>
AuthorDate: Mon Aug 12 23:03:40 2019 +0800

    [GRIFFIN-275][MEASURE] Post data to ElasticSearch failed
    
    Griffin uses apache httpclient 4.5.2 to post data to Elastic Search.
    There are conflict i
    
    Author: Johnnie <jo...@gmail.com>
    
    Closes #519 from joohnnie/GRIFFIN-275.
---
 measure/pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/measure/pom.xml b/measure/pom.xml
index 39a12c8..b9d93b2 100644
--- a/measure/pom.xml
+++ b/measure/pom.xml
@@ -74,6 +74,16 @@ under the License.
             <artifactId>spark-hive_${scala.binary.version}</artifactId>
             <version>${spark.version}</version>
             <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>commons-httpclient</groupId>
+                    <artifactId>commons-httpclient</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.httpcomponents</groupId>
+                    <artifactId>httpclient</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.apache.spark</groupId>
@@ -169,6 +179,13 @@ under the License.
             <scope>test</scope>
         </dependency>
 
+
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpclient</artifactId>
+            <version>4.5.9</version>
+        </dependency>
+
     </dependencies>
 
     <build>