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