@@ -664,4 +664,137 @@ interactions:
664664 x-ms-request-id : [7f61ac06-caa9-46cd-a21e-80e1cbe79a45]
665665 x-ms-webhdfs-version : [16.07.18.01]
666666 status : {code: 200, message: OK}
667+ - request :
668+ body : ' 123456'
669+ headers :
670+ Accept : ['*/*']
671+ Accept-Encoding : ['gzip, deflate']
672+ Connection : [keep-alive]
673+ Content-Length : ['6']
674+ User-Agent : [python/3.5.2 (Windows-10-10.0.14393-SP0) azure.datalake.store.lib/0.0.4
675+ Azure-Data-Lake-Store-SDK-For-Python]
676+ x-ms-client-request-id : [3acf3866-ea4e-11e6-ba8e-645106422854]
677+ method : PUT
678+ uri : https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=CREATE&write=true&overwrite=true
679+ response :
680+ body : {string: ''}
681+ headers :
682+ Cache-Control : ['no-cache, no-cache, no-store, max-age=0']
683+ Content-Length : ['0']
684+ ContentLength : ['0']
685+ Date : ['Fri, 03 Feb 2017 20:20:39 GMT']
686+ Expires : ['-1']
687+ Location : ['https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=CREATE&write=true&overwrite=true']
688+ Pragma : [no-cache]
689+ Status : ['0x0']
690+ Strict-Transport-Security : [max-age=15724800; includeSubDomains]
691+ X-Content-Type-Options : [nosniff]
692+ x-ms-request-id : [9148b9e7-33c8-4910-bc1a-b0b1f842cbae]
693+ x-ms-webhdfs-version : [16.07.18.01]
694+ status : {code: 201, message: Created}
695+ - request :
696+ body : null
697+ headers :
698+ Accept : ['*/*']
699+ Accept-Encoding : ['gzip, deflate']
700+ Connection : [keep-alive]
701+ User-Agent : [python/3.5.2 (Windows-10-10.0.14393-SP0) azure.datalake.store.lib/0.0.4
702+ Azure-Data-Lake-Store-SDK-For-Python]
703+ x-ms-client-request-id : [3b2deb14-ea4e-11e6-82ba-645106422854]
704+ method : GET
705+ uri : https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo?OP=LISTSTATUS
706+ response :
707+ body : {string: '{"FileStatuses":{"FileStatus":[{"length":6,"pathSuffix":"bar","type":"FILE","blockSize":268435456,"accessTime":1486153240013,"modificationTime":1486153240091,"replication":1,"permission":"770","owner":"9a23860e-03b0-4bad-a8b7-e1d081d592bd","group":"2e6c02d2-a364-4530-9137-d17403996cbf"}]}}'}
708+ headers :
709+ Cache-Control : ['no-cache, no-cache, no-store, max-age=0']
710+ Content-Length : ['290']
711+ Content-Type : [application/json; charset=utf-8]
712+ Date : ['Fri, 03 Feb 2017 20:20:39 GMT']
713+ Expires : ['-1']
714+ Pragma : [no-cache]
715+ Status : ['0x0']
716+ Strict-Transport-Security : [max-age=15724800; includeSubDomains]
717+ X-Content-Type-Options : [nosniff]
718+ x-ms-request-id : [6714f3f1-dbee-4f18-a291-532e63624201]
719+ x-ms-webhdfs-version : [16.07.18.01]
720+ status : {code: 200, message: OK}
721+ - request :
722+ body : null
723+ headers :
724+ Accept : ['*/*']
725+ Accept-Encoding : ['gzip, deflate']
726+ Connection : [keep-alive]
727+ User-Agent : [python/3.5.2 (Windows-10-10.0.14393-SP0) azure.datalake.store.lib/0.0.4
728+ Azure-Data-Lake-Store-SDK-For-Python]
729+ x-ms-client-request-id : [3b3fc49c-ea4e-11e6-9ac6-645106422854]
730+ method : GET
731+ uri : https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?read=true&OP=OPEN&length=6&offset=0
732+ response :
733+ body : {string: '123456'}
734+ headers :
735+ Cache-Control : ['no-cache, no-cache, no-store, max-age=0']
736+ Content-Type : [application/octet-stream]
737+ Date : ['Fri, 03 Feb 2017 20:20:39 GMT']
738+ Expires : ['-1']
739+ Pragma : [no-cache]
740+ Status : ['0x0']
741+ Strict-Transport-Security : [max-age=15724800; includeSubDomains]
742+ Transfer-Encoding : [chunked]
743+ X-Content-Type-Options : [nosniff]
744+ x-ms-request-id : [94355725-6a34-4b69-9a6a-139a47e404b3]
745+ x-ms-webhdfs-version : [16.07.18.01]
746+ status : {code: 200, message: OK}
747+ - request :
748+ body : null
749+ headers :
750+ Accept : ['*/*']
751+ Accept-Encoding : ['gzip, deflate']
752+ Connection : [keep-alive]
753+ User-Agent : [python/3.5.2 (Windows-10-10.0.14393-SP0) azure.datalake.store.lib/0.0.4
754+ Azure-Data-Lake-Store-SDK-For-Python]
755+ x-ms-client-request-id : [3b7839cc-ea4e-11e6-98ad-645106422854]
756+ method : GET
757+ uri : https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo?OP=LISTSTATUS
758+ response :
759+ body : {string: '{"FileStatuses":{"FileStatus":[{"length":6,"pathSuffix":"bar","type":"FILE","blockSize":268435456,"accessTime":1486153240013,"modificationTime":1486153240091,"replication":1,"permission":"770","owner":"9a23860e-03b0-4bad-a8b7-e1d081d592bd","group":"2e6c02d2-a364-4530-9137-d17403996cbf"}]}}'}
760+ headers :
761+ Cache-Control : ['no-cache, no-cache, no-store, max-age=0']
762+ Content-Length : ['290']
763+ Content-Type : [application/json; charset=utf-8]
764+ Date : ['Fri, 03 Feb 2017 20:20:39 GMT']
765+ Expires : ['-1']
766+ Pragma : [no-cache]
767+ Status : ['0x0']
768+ Strict-Transport-Security : [max-age=15724800; includeSubDomains]
769+ X-Content-Type-Options : [nosniff]
770+ x-ms-request-id : [5e91eec5-fcda-4670-88ee-22b73a97fcda]
771+ x-ms-webhdfs-version : [16.07.18.01]
772+ status : {code: 200, message: OK}
773+ - request :
774+ body : null
775+ headers :
776+ Accept : ['*/*']
777+ Accept-Encoding : ['gzip, deflate']
778+ Connection : [keep-alive]
779+ Content-Length : ['0']
780+ User-Agent : [python/3.5.2 (Windows-10-10.0.14393-SP0) azure.datalake.store.lib/0.0.4
781+ Azure-Data-Lake-Store-SDK-For-Python]
782+ x-ms-client-request-id : [3b8b2542-ea4e-11e6-b647-645106422854]
783+ method : DELETE
784+ uri : https://fakestore.azuredatalakestore.net/webhdfs/v1/azure_test_dir/foo/bar?OP=DELETE&recursive=False
785+ response :
786+ body : {string: '{"boolean":true}'}
787+ headers :
788+ Cache-Control : ['no-cache, no-cache, no-store, max-age=0']
789+ Content-Length : ['16']
790+ Content-Type : [application/json; charset=utf-8]
791+ Date : ['Fri, 03 Feb 2017 20:20:40 GMT']
792+ Expires : ['-1']
793+ Pragma : [no-cache]
794+ Status : ['0x0']
795+ Strict-Transport-Security : [max-age=15724800; includeSubDomains]
796+ X-Content-Type-Options : [nosniff]
797+ x-ms-request-id : [43c19409-7c02-49da-b4e3-820df01cd77a]
798+ x-ms-webhdfs-version : [16.07.18.01]
799+ status : {code: 200, message: OK}
667800version : 1
0 commit comments