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
I'm doing a POC to see how Rokku Proxy works. I've installed Docker, aws cli and sbt, and the containers are running before I try to start the proxy:
Name Command State Ports
kafka start-kafka.sh Up 0.0.0.0:9092->9092/tcp
rokku_atlas_1 sh -c /entrypoint.sh Up 0.0.0.0:21000->21000/tcp
rokku_ceph_1 /entrypoint.sh demo Up 0.0.0.0:5000->5000/tcp, 0.0.0.0:8010->8010/tcp
rokku_keycloak_1 /opt/jboss/docker-entrypoi ... Up 0.0.0.0:8080->8080/tcp
rokku_mariadb_1 docker-entrypoint.sh mysqld Up 0.0.0.0:3307->3306/tcp
rokku_postgres-server_1 docker-entrypoint.sh postgres Up 5432/tcp
rokku_ranger-admin_1 sh -c /tmp/entrypoint.sh Up 0.0.0.0:6080->6080/tcp
rokku_rokku-sts_1 /opt/docker/bin/rokku-sts Up 0.0.0.0:12345->12345/tcp
rokku_zookeeper_1 /bin/sh -c /usr/sbin/sshd ... Up 0.0.0.0:2181->2181/tcp, 22/tcp, 2888/tcp, 3888/tcp
Also, I have created the /etc/rokku/ranger-s3-security.xml file from the sample file provided without any modifications since I'm running the project with the provided containers.
Below is the error seen while running sbt run:
[info] {"timestamp":"2019-05-22T17:48:26.586Z","level":"INFO","thread":"main","logger":"com.ing.wbaa.rokku.proxy.Server$$anon$1","message":"kerberos credentials are not provided","context":"default","application_name":"rokku-proxy"}
[info] {"timestamp":"2019-05-22T17:48:26.733Z","level":"ERROR","thread":"main","logger":"org.apache.ranger.authorization.hadoop.config.RangerConfiguration","message":"addResourceIfReadable(ranger-s3-audit.xml): couldn't find resource file location","context":"default","application_name":"rokku-proxy"}
[info] {"timestamp":"2019-05-22T17:48:26.735Z","level":"ERROR","thread":"main","logger":"org.apache.ranger.authorization.hadoop.config.RangerConfiguration","message":"addResourceIfReadable(ranger-s3-security.xml): couldn't find resource file location","context":"default","application_name":"rokku-proxy"}
[error] Exception in thread "main" com.ing.wbaa.rokku.proxy.provider.AuthorizationProviderRanger$RangerException: Ranger serviceType or appId not found (serviceType=s3, appId=testservice)
[error] at com.ing.wbaa.rokku.proxy.provider.AuthorizationProviderRanger.liftedTree1$1(AuthorizationProviderRanger.scala:37)
[error] at com.ing.wbaa.rokku.proxy.provider.AuthorizationProviderRanger.com$ing$wbaa$rokku$proxy$provider$AuthorizationProviderRanger$$rangerPlugin(AuthorizationProviderRanger.scala:27)
[error] at com.ing.wbaa.rokku.proxy.provider.AuthorizationProviderRanger.com$ing$wbaa$rokku$proxy$provider$AuthorizationProviderRanger$$rangerPlugin$(AuthorizationProviderRanger.scala:26)
[error] at com.ing.wbaa.rokku.proxy.Server$$anon$1.com$ing$wbaa$rokku$proxy$provider$AuthorizationProviderRanger$$rangerPlugin$lzycompute(Server.scala:24)
[error] at com.ing.wbaa.rokku.proxy.Server$$anon$1.com$ing$wbaa$rokku$proxy$provider$AuthorizationProviderRanger$$rangerPlugin(Server.scala:24)
[error] at com.ing.wbaa.rokku.proxy.provider.AuthorizationProviderRanger.rangerPluginForceInit(AuthorizationProviderRanger.scala:48)
[error] at com.ing.wbaa.rokku.proxy.provider.AuthorizationProviderRanger.rangerPluginForceInit$(AuthorizationProviderRanger.scala:48)
[error] at com.ing.wbaa.rokku.proxy.Server$$anon$1.rangerPluginForceInit(Server.scala:24)
[error] at com.ing.wbaa.rokku.proxy.Server$$anon$1.<init>(Server.scala:39)
[error] at com.ing.wbaa.rokku.proxy.Server$.delayedEndpoint$com$ing$wbaa$rokku$proxy$Server$1(Server.scala:24)
[error] at com.ing.wbaa.rokku.proxy.Server$delayedInit$body.apply(Server.scala:22)
[error] at scala.Function0.apply$mcV$sp(Function0.scala:39)
[error] at scala.Function0.apply$mcV$sp$(Function0.scala:39)
[error] at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
[error] at scala.App.$anonfun$main$1$adapted(App.scala:80)
[error] at scala.collection.immutable.List.foreach(List.scala:392)
[error] at scala.App.main(App.scala:80)
[error] at scala.App.main$(App.scala:78)
[error] at com.ing.wbaa.rokku.proxy.Server$.main(Server.scala:22)
[error] at com.ing.wbaa.rokku.proxy.Server.main(Server.scala)
[error] Caused by: java.lang.NullPointerException
[error] at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
[error] at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
[error] at org.apache.ranger.plugin.service.RangerBasePlugin.init(RangerBasePlugin.java:216)
[error] at com.ing.wbaa.rokku.proxy.provider.AuthorizationProviderRanger.liftedTree1$1(AuthorizationProviderRanger.scala:29)
[error] ... 19 more
Can someone point out what's missing here?
The text was updated successfully, but these errors were encountered:
Hey,
This error means that ranger-s3-security.xml is not found on class path. The path you provided /etc/rokku is fine when you run rokku as container.
In your case copy this file to src/main/resources and this should fix error
I'm doing a POC to see how Rokku Proxy works. I've installed Docker, aws cli and sbt, and the containers are running before I try to start the proxy:
Environment
Also, I have created the /etc/rokku/ranger-s3-security.xml file from the sample file provided without any modifications since I'm running the project with the provided containers.
Below is the error seen while running
sbt run
:Can someone point out what's missing here?
The text was updated successfully, but these errors were encountered: