| 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: [08d3953a-4267-11e7-babf-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 [085ac3ef-3417-4e47-8e84-67d3e0aeb5fd][2017-05-26T15:59:55.9379717-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:55 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: [085ac3ef-3417-4e47-8e84-67d3e0aeb5fd] |
| 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: [091696e2-4267-11e7-9ecb-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:55 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: [a93c3ccf-e87f-4b33-9d7e-d03503c5bd6f] |
| 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: [094fc83e-4267-11e7-8dee-645106422854] |
| 67 |
method: PUT |
| 68 |
uri: https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=SETOWNER&api-version=2016-11-01&owner=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.). [9a7bf672-ac26-453d-b4f6-62bb973b1f6c][2017-05-26T15:59:56.5785612-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:55 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: [9a7bf672-ac26-453d-b4f6-62bb973b1f6c] |
| 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: [0978368a-4267-11e7-aa4c-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":1495839596111,"modificationTime":1495839596153,"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:56 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: [0b089fdc-6461-4906-a330-f2a9e6b8b878] |
| 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: [099f5f76-4267-11e7-bfb5-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:56 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: [0971f742-aadc-4d20-a48b-81b477e5ce94] |
| 138 |
x-ms-webhdfs-version: [16.12.19.00] |
| 139 |
status: {code: 200, message: OK} |
| 140 |
version: 1 |