estatic / pydatalake-gen2 Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hello,
Would it be possible to remove the print statements from all the requests?
Hi,
Kudos for writing this API. The current way to access the data lake store gen-2 using blobstore api is not so good.
I am getting this error while reading a file for data lake store.
403: {"error":{"code":"AuthenticationFailed","message":"Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature
Strange part is that I am able to create and rename a file, however reading the files fails. Not sure if the Rest API itself is broken, which I think is one possibility.
Hi!
First thanks for the development of this library. But now I want to create a file inside one folder of my filesystem. I have tried first using create_path which works fine, but then I try append and after that flush with the function update_path. But the file is still empty, what is the correct way to créate a file and add content to it?
Hey,
First of all thanks for creating this client. It saved me a lot of time writing similar one.
I want to report an error.
I am using Python 3.7.2
When calling update_path function I am getting error from Requests:
Value for header {Content-Length: 4} must be of type str or bytes, not <class 'int'>
That's what I do:
client.update_path('wmfs','test/test_file','append','test')
It is easy to figure out that change in lines 464 and 466 is needed so I changed it to:
if action == "flush":
headers["Content-Length"] = str(0)
if action == "append":
headers["Content-Length"] = str(len(data))
However it does not solve the issue. After I fixed it I am getting:
Exception: 400: {"error":{"code":"MissingRequiredQueryParameter","message":"A query parameter that's mandatory for this request is not specified.
I have compared request parameters to the datalake2 docs in order to find any mistakes but I can't find anything.
Have you tried calling update_path
with append parameter? Was it working for you?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.