AnsweredAssumed Answered

MapR 6.0 REST API error

Question asked by boucherj on May 1, 2018
Latest reply on May 3, 2018 by maprcommunity

I'm rying to use the MapR REST API on a VirtualBox sandbox/demo cluster; this works fine on MapR 5.2.2, but not on 6.0:


 curl -k https://maprdemo:8443/rest/volume/list? -d 'username=root&password=mapr'


Response is:

<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><title>Error 403 An Authentication object was not found in the SecurityContext</title></head><body><h2>HTTP ERROR 403</h2><p>Problem accessing /rest/volume/list. Reason:<pre>    An Authentication object was not found in the SecurityContext</pre></p><hr><a href="">Powered by Jetty:// 9.4.z-SNAPSHOT</a><hr/></body></html>


Has anyone seen this before?  Haven't found any reference anywhere about this issue.


Steps to reproduce:

- download and install MapR from Download Sandbox | MapR 

- start up VM

- ensure cluster is up by loging in via MCS, https://maprdemo:8443