You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: (No such file or directory)
at com.metamx.tranquility.security.SSLContextMaker$.createSSLContextOption(SSLContextMaker.scala:48)
at com.metamx.tranquility.druid.DruidBeams$BuilderConfig$$anon$5$$anonfun$34.apply(DruidBeams.scala:1028)
at com.metamx.tranquility.druid.DruidBeams$BuilderConfig$$anon$5$$anonfun$34.apply(DruidBeams.scala:1025)
at scala.Option.getOrElse(Option.scala:121)
at com.metamx.tranquility.druid.DruidBeams$BuilderConfig$$anon$5.<init>(DruidBeams.scala:1025)
at com.metamx.tranquility.druid.DruidBeams$BuilderConfig.buildAll(DruidBeams.scala:971)
at com.metamx.tranquility.druid.DruidBeams$Builder.buildBeam(DruidBeams.scala:841)
at com.metamx.tranquility.druid.DruidBeams$Builder.buildTranquilizer(DruidBeams.scala:935)
at com.tranquility.test.Main.main(Main.java:37)
Caused by: java.io.FileNotFoundException: (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
at com.metamx.tranquility.security.SSLContextMaker$.createSSLContextOption(SSLContextMaker.scala:33)
... 8 more
I am using
io.druid:tranquility-core_2.11:0.8.3
as the dependency to connect to druid and write data to itThe properties in my config file look like this -
When trying to write to Druid I get this error
When debugging I found that
https://github.com/druid-io/tranquility/blob/master/core/src/main/scala/com/metamx/tranquility/security/SSLContextMaker.scala#L33 is getting an empty string for
tlsTrustStorePath
. Also note that the other properties liketrustStorePassword
are getting populated properly.Is there an issue in the code or is my configuration incorrect? Any help will be highly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: