Member since
06-06-2016
5
Posts
0
Kudos Received
0
Solutions
06-09-2016
03:38 AM
Thanks @Constantin Stanca Command works well.. However error still remains. HTTP/1.1 200 OK
Date: Thu, 09 Jun 2016 03:35:48 GMT
Server: gunicorn/19.1.1
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
Connection: close
... View more
06-07-2016
12:29 AM
Thanks Stanca, but tried changing the path but still get the same error. "Like....." HTTP/1.1 404 Not Found
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=14DC40BFED4EC4D2010A87FFA6DAEBDE; Path=/; HttpOnly
X-Frame-Options: DENY
Content-Length: 0
Date: Tue, 07 Jun 2016 00:27:40 GMT
[it1@sandbox root]$
... View more
06-06-2016
01:58 PM
It works perfectly after turning off maintenance mode in atlas and restarting the service. Thanks once again.
... View more
06-06-2016
01:41 PM
Below is the command used : [it1@sandbox root]$ curl -i --header "Accept:application/json" -H "Content-Type:application/j
son" --user admin:admin -X POST http://127.0.0.1:6080/service/public/api/policy -d '{ "policy
Name":"hadoopdev-testing-policy2","resourceName":"/demo/data/test","description":"Testing pol
icy for /demo/data/test","repositoryName":"sandbox_hdfs","repositoryType":"HDFS","permList":[
{"userList":["mkgt1"],"permList":["Read"]},{"groupList":["IT"],"permList":["Read"]}],"isEnabl
ed":true,"isRecursive":true,"isAuditEnabled":true,"version":"0.1.0","replacePerm":false}'
... View more
Labels:
- Labels:
-
HDFS
06-06-2016
10:01 AM
Really helpful, i had same error, Turned off maintainence mode for atlas and restarted the service. Error disappears.
... View more