Http get request on kerberos cluster in scala -
i using following code connect livy server running on kerberized cluster using scala.
$scala -cp scalaj-http_2.11-2.3.0.jar -djava.security.auth.login.config=jaas.conf scala>import scalaj.http.http scala> system.setproperty("java.security.krb5.conf", "jaas.conf"); res0: string = null scala> http("http://ipaddress:8998/sessions").asstring throws access denied response server.
is there way in scala connect kerberized cluster http requests.
Comments
Post a Comment