griffin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (GRIFFIN-275) [Measure] Post data to ElasticSearch failed
Date Thu, 08 Aug 2019 01:39:00 GMT

     [ https://issues.apache.org/jira/browse/GRIFFIN-275?focusedWorklogId=290923&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-290923
]

ASF GitHub Bot logged work on GRIFFIN-275:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Aug/19 01:38
            Start Date: 08/Aug/19 01:38
    Worklog Time Spent: 10m 
      Work Description: joohnnie commented on pull request #519: [GRIFFIN-275] [Measure] Post
data to ElasticSearch failed
URL: https://github.com/apache/griffin/pull/519
 
 
   Griffin uses apache httpclient 4.5.2 to post data to Elastic Search. 
   There are conflict i
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 290923)
            Time Spent: 10m
    Remaining Estimate: 0h

> [Measure] Post data to ElasticSearch failed
> -------------------------------------------
>
>                 Key: GRIFFIN-275
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-275
>             Project: Griffin
>          Issue Type: Bug
>            Reporter: Johnnie
>            Priority: Major
>         Attachments: image-2019-08-07-18-03-34-672.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Griffin uses apache httpclient 4.5.2 to post data to Elastic Search. 
> Had the following exception 
>  
> java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts
>  at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:966)
>  at org.apache.griffin.measure.utils.HttpUtil$.doHttpRequest(HttpUtil.scala:48)
>  at org.apache.griffin.measure.sink.ElasticSearchSink$$anonfun$org$apache$griffin$measure$sink$ElasticSearchSink$$func$1$1.apply$mcZ$sp(ElasticSearchSink.scala:69)
>  at org.apache.griffin.measure.sink.ElasticSearchSink$$anonfun$org$apache$griffin$measure$sink$ElasticSearchSink$$func$1$1.apply(ElasticSearchSink.scala:69)
>  at org.apache.griffin.measure.sink.ElasticSearchSink$$anonfun$org$apache$griffin$measure$sink$ElasticSearchSink$$func$1$1.apply(ElasticSearchSink.scala:69)
>  at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
>  at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
>  at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)
>  at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
>  at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
>  at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
>  at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> Caused by: java.lang.ClassNotFoundException: org.apache.http.ssl.SSLContexts
>  at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>  ... 12 more
>  
> The root cause is spark-hive has 3 httpclient versions and the scope of spark-hive is
provided.
>  
> !image-2019-08-07-18-03-34-672.png!



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message