[
https://issues.apache.org/jira/browse/GRIFFIN-275?focusedWorklogId=293189&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-293189
]
ASF GitHub Bot logged work on GRIFFIN-275:
------------------------------------------
Author: ASF GitHub Bot
Created on: 12/Aug/19 15:03
Start Date: 12/Aug/19 15:03
Worklog Time Spent: 10m
Work Description: asfgit commented on pull request #519: [GRIFFIN-275]
[Measure] Post data to ElasticSearch failed
URL: https://github.com/apache/griffin/pull/519
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 293189)
Time Spent: 0.5h (was: 20m)
> [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: 0.5h
> 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)