Sxilderik
4 questions
1
votes
1
answer
1.2k
views
Can not connect to ZooKeeper/Hive from host to Sandbox Hortonworks HDP VM
I downloaded HDP-Sandbox (in an Oracle VirtualBox VM) a while ago, never used it much, and I’m now trying to access data from the outside world using Hive HDBC.
I use hive-jdbc 1.2.2 from apache, which I got from mvnrepository, with all the dependencies in the classpath, or hortonworks JDBC got fr...
0
votes
0
answer
0
views
Invalid lambda deserialization with Infinispan Cache and computeIfAbsent
I’m toying with an basic infinispan cluster and I came across a puzzling error.
I’m basically implementing a shared map, holding just one Integer
Here is the code of my CounterService
package sandbox.infinispan.test.service;
import javax.enterprise.context.ApplicationScoped;
import javax.inject....
2
votes
2
answer
335
views
Maven - correct version of a plugin found in an alternate repository instead of Maven central: how to force it?
I’m trying to get org.jfrog.buildinfo:artifactory-maven-plugin:2.6.1 which can be found in https://jcenter.bintray.com.
But since there is a 2.2.1 version of the same artifact in Maven Central, resolve always fails
« Failure to find org.jfrog.buildinfo:artifactory-maven-plugin:jar:2.6.1 in https:...
2
votes
0
answer
105
views
Apache math3 erfInv fails on very small values, while Excel NORM.S.INV does it right…
I have to compute in Java the same result as Excel NORM.S.INV.
(actually using LOI.NORMALE.STANDARD.INVERSE in French, that's NORM.S.INV in English)
I use org.apache.commons.math3.special.Erf.erfInv this way:
return Math.sqrt(2) * Erf.erfInv(2 * p - 1);
But when p is small enough (around 1e-17), erf...