Debian Codegraph @

tests/recordings/test_cli/test_chgrp.yaml

raw
1 interactions:
2 - request:
3 body: null
4 headers:
5 Accept: ['*/*']
6 Accept-Encoding: ['gzip, deflate']
7 Connection: [keep-alive]
8 User-Agent: [python/3.5.2 (Windows-10-10.0.15063-SP0) azure.datalake.store.lib/0.0.10
9 Azure-Data-Lake-Store-SDK-For-Python]
10 x-ms-client-request-id: [06ebb9b0-4267-11e7-8876-645106422854]
11 method: GET
12 uri: https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=GETFILESTATUS&api-version=2016-11-01
13 response:
14 body: {string: '{"RemoteException":{"exception":"FileNotFoundException","message":"File/Folder
15 does not exist: /azure_test_dir/foo/bar [bb760010-4f24-4642-9857-4dd01974fc35][2017-05-26T15:59:52.7436186-07:00]","javaClassName":"java.io.FileNotFoundException"}}'}
16 headers:
17 Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
18 Content-Length: ['243']
19 Content-Type: [application/json; charset=utf-8]
20 Date: ['Fri, 26 May 2017 22:59:52 GMT']
21 Expires: ['-1']
22 Pragma: [no-cache]
23 Status: ['0x8309000A']
24 Strict-Transport-Security: [max-age=15724800; includeSubDomains]
25 X-Content-Type-Options: [nosniff]
26 x-ms-request-id: [bb760010-4f24-4642-9857-4dd01974fc35]
27 x-ms-webhdfs-version: [16.12.19.00]
28 status: {code: 404, message: Not Found}
29 - request:
30 body: '123456'
31 headers:
32 Accept: ['*/*']
33 Accept-Encoding: ['gzip, deflate']
34 Connection: [keep-alive]
35 Content-Length: ['6']
36 User-Agent: [python/3.5.2 (Windows-10-10.0.15063-SP0) azure.datalake.store.lib/0.0.10
37 Azure-Data-Lake-Store-SDK-For-Python]
38 x-ms-client-request-id: [072e19e6-4267-11e7-b232-645106422854]
39 method: PUT
40 uri: https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=CREATE&api-version=2016-11-01&write=true&overwrite=true
41 response:
42 body: {string: ''}
43 headers:
44 Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
45 Content-Length: ['0']
46 ContentLength: ['0']
47 Date: ['Fri, 26 May 2017 22:59:52 GMT']
48 Expires: ['-1']
49 Location: ['https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=CREATE&api-version=2016-11-01&write=true&overwrite=true']
50 Pragma: [no-cache]
51 Status: ['0x0']
52 Strict-Transport-Security: [max-age=15724800; includeSubDomains]
53 X-Content-Type-Options: [nosniff]
54 x-ms-request-id: [fd00101f-0817-41c9-bc89-d5a7ba7b0bd7]
55 x-ms-webhdfs-version: [16.12.19.00]
56 status: {code: 201, message: Created}
57 - request:
58 body: null
59 headers:
60 Accept: ['*/*']
61 Accept-Encoding: ['gzip, deflate']
62 Connection: [keep-alive]
63 Content-Length: ['0']
64 User-Agent: [python/3.5.2 (Windows-10-10.0.15063-SP0) azure.datalake.store.lib/0.0.10
65 Azure-Data-Lake-Store-SDK-For-Python]
66 x-ms-client-request-id: [07703594-4267-11e7-b5b3-645106422854]
67 method: PUT
68 uri: https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=SETOWNER&api-version=2016-11-01&group=6b190b7a-0acf-43c8-ab14-965f5aea6243
69 response:
70 body: {string: '{"RemoteException":{"exception":"AccessControlException","message":"Set
71 Owner failed with failed with error 0x83090aa2 (Forbidden. ACL verification
72 failed. Either the resource does not exist or the user is not authorized to
73 perform the requested operation.). [c6e735fa-21c6-48dc-a887-8871b766b091][2017-05-26T15:59:53.4311313-07:00]","javaClassName":"org.apache.hadoop.security.AccessControlException"}}'}
74 headers:
75 Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
76 Content-Length: ['404']
77 Content-Type: [application/json; charset=utf-8]
78 Date: ['Fri, 26 May 2017 22:59:53 GMT']
79 Expires: ['-1']
80 Pragma: [no-cache]
81 Status: ['0x83090AA2']
82 Strict-Transport-Security: [max-age=15724800; includeSubDomains]
83 X-Content-Type-Options: [nosniff]
84 x-ms-request-id: [c6e735fa-21c6-48dc-a887-8871b766b091]
85 x-ms-webhdfs-version: [16.12.19.00]
86 status: {code: 403, message: Forbidden}
87 - request:
88 body: null
89 headers:
90 Accept: ['*/*']
91 Accept-Encoding: ['gzip, deflate']
92 Connection: [keep-alive]
93 User-Agent: [python/3.5.2 (Windows-10-10.0.15063-SP0) azure.datalake.store.lib/0.0.10
94 Azure-Data-Lake-Store-SDK-For-Python]
95 x-ms-client-request-id: [07978d58-4267-11e7-a6ad-645106422854]
96 method: GET
97 uri: https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=GETFILESTATUS&api-version=2016-11-01
98 response:
99 body: {string: '{"FileStatus":{"length":6,"pathSuffix":"","type":"FILE","blockSize":268435456,"accessTime":1495839592997,"modificationTime":1495839593059,"replication":1,"permission":"770","owner":"9a23860e-03b0-4bad-a8b7-e1d081d592bd","group":"2e6c02d2-a364-4530-9137-d17403996cbf","msExpirationTime":0,"aclBit":false}}'}
100 headers:
101 Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
102 Content-Length: ['304']
103 Content-Type: [application/json; charset=utf-8]
104 Date: ['Fri, 26 May 2017 22:59:53 GMT']
105 Expires: ['-1']
106 Pragma: [no-cache]
107 Status: ['0x0']
108 Strict-Transport-Security: [max-age=15724800; includeSubDomains]
109 X-Content-Type-Options: [nosniff]
110 x-ms-request-id: [ffebc747-96fe-4027-9270-3260e8626f5c]
111 x-ms-webhdfs-version: [16.12.19.00]
112 status: {code: 200, message: OK}
113 - request:
114 body: null
115 headers:
116 Accept: ['*/*']
117 Accept-Encoding: ['gzip, deflate']
118 Connection: [keep-alive]
119 Content-Length: ['0']
120 User-Agent: [python/3.5.2 (Windows-10-10.0.15063-SP0) azure.datalake.store.lib/0.0.10
121 Azure-Data-Lake-Store-SDK-For-Python]
122 x-ms-client-request-id: [07ae4cfa-4267-11e7-875b-645106422854]
123 method: DELETE
124 uri: https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=DELETE&api-version=2016-11-01&recursive=False
125 response:
126 body: {string: '{"boolean":true}'}
127 headers:
128 Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
129 Content-Length: ['16']
130 Content-Type: [application/json; charset=utf-8]
131 Date: ['Fri, 26 May 2017 22:59:53 GMT']
132 Expires: ['-1']
133 Pragma: [no-cache]
134 Status: ['0x0']
135 Strict-Transport-Security: [max-age=15724800; includeSubDomains]
136 X-Content-Type-Options: [nosniff]
137 x-ms-request-id: [2b43b461-8c66-499b-9f70-8e9b46ef4a6e]
138 x-ms-webhdfs-version: [16.12.19.00]
139 status: {code: 200, message: OK}
140 version: 1