cheelio commented on PR #1029:
URL: https://github.com/apache/bigtop/pull/1029#issuecomment-1272387215

   I just tested Knox basic service integration:
   
   ```
   #start container with knox and livy service:
   (cd provisioner/docker && ./docker-hadoop.sh --destroy && ./docker-hadoop.sh 
--enable-local-repo --create 1 -C config_centos-7.yaml --stack knox,livy)
   
   #start integrated (test) LDAP server on container:
   (cd provisioner/docker; ./docker-hadoop.sh --exec 1 
/usr/lib/knox/bin/ldap.sh start)
   
   #Get IP of container:
   export DOCKER_IP=$(cd provisioner/docker; ./docker-hadoop.sh --exec 1 
hostname -I)
   
   #Test Knox API Request:
   curl -ku admin:admin-password -XGET 
https://${DOCKER_IP}:8443/gateway/admin/api/v1/topologies/sandbox
   
   #Test Livy with knox:
   curl -ku admin:admin-password -XGET 
https://${DOCKER_IP}:8443/gateway/sandbox/livy/sessions
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to