Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
c80bc96
Various bug fixes. (#243)
akharit Oct 4, 2018
b7afbb7
Readinto method (#246)
akharit Oct 15, 2018
0e358c9
Concat should send source files in json (#248)
akharit Oct 15, 2018
d4413c9
Updated version number and history.rst
akharit Oct 15, 2018
6fe38d6
Merge branch 'dev' of https://github.com/Azure/azure-data-lake-store-…
akharit Oct 15, 2018
5a062e4
Merge from master
akharit Oct 15, 2018
cc8f446
Updated version number
akharit Oct 15, 2018
12e375c
Fix
akharit Oct 16, 2018
dc7d053
Merge conflicts
akharit Oct 16, 2018
aff7d1a
Retry for authentication(getting tokens) (#251)
akharit Oct 29, 2018
8f77ce1
Test recordings update (#250)
akharit Oct 30, 2018
2b22d8c
Fix merge
akharit Oct 30, 2018
2641a9a
Updated history.rst and version number
akharit Oct 30, 2018
34e415d
Sync with master
akharit Nov 6, 2018
96c064b
Sync with master
akharit Nov 6, 2018
2628e49
Recursive ACL functions (#247)
akharit Nov 9, 2018
37dca16
Add filesessionid to get_chunk (#258)
akharit Nov 13, 2018
c5fabd9
Updated version and history
akharit Nov 13, 2018
ee498cd
Merge branch 'master' into dev
akharit Nov 13, 2018
d4d9de8
Merge branch 'master' into dev
akharit Nov 14, 2018
fd12abf
Fix for Chunked Decoding exception thrown while reading response.cont…
akharit Nov 15, 2018
eb585b4
Updated history.rst and version
akharit Nov 15, 2018
3e8177e
Fixe for issue #266, #265 and refactoring (#268)
akharit Jan 4, 2019
30eba63
Update version numbers
akharit Jan 8, 2019
7b98c36
Merge from master
akharit Jan 8, 2019
e6e8190
Replace content summary api call with user side processing
akharit Jan 31, 2019
69b16c7
Move token check under retry
akharit Jan 31, 2019
72eef8a
Merge branch 'master' into dev
akharit Jan 31, 2019
99478a0
Bump version number
akharit Jan 31, 2019
45f5342
Raise exception on repeated zero reads
akharit Feb 1, 2019
05e33de
Expose timeout for AdlDownloader and AdlUploader
akharit Feb 1, 2019
1f988f8
Updated History.rst
akharit Feb 1, 2019
c61762f
Update api-version to 2018-09-01
akharit Feb 1, 2019
15f6c51
Updated test recordings
akharit Feb 1, 2019
76ed6e0
Reverted version change back
akharit Feb 1, 2019
637c494
fix test
akharit Feb 1, 2019
1751782
Refactor walk
akharit Feb 1, 2019
ac0c6f8
Address code review
akharit Feb 4, 2019
af3ec17
Remove logger setlevel to Debug
akharit Feb 26, 2019
f688ae0
Updated docstrings (#275)
akharit Feb 26, 2019
f0a732c
Merge branch 'master' into dev
akharit Feb 26, 2019
89dec6a
Merge branch 'dev' of https://github.com/Azure/azure-data-lake-store-…
akharit Feb 26, 2019
b03f44d
Update History and version number
akharit Feb 26, 2019
750235b
Added AzureDLPath to str
akharit Feb 26, 2019
4dad7a3
Fix glob single file bug (#277)
akharit Mar 1, 2019
6fb245a
Update version to 0.0.43
akharit Mar 1, 2019
8fdfac2
Merge from master
akharit Mar 1, 2019
5211d8e
Addressing code review
akharit Mar 2, 2019
1a73c66
Merge branch 'master' into dev
akharit Mar 6, 2019
d56057a
Add continuation token to list status api (#279)
akharit Mar 6, 2019
be8675a
Update README.md for tests (#281)
akharit Mar 18, 2019
843ef50
Merge branch 'master' into dev
akharit Mar 18, 2019
c7c807b
Fix flush and open (#283)
akharit May 10, 2019
6f9a271
Update test recordings
akharit May 10, 2019
eb54fd5
Update version to 0.0.45
akharit May 10, 2019
3e9c382
Merge branch 'dev' of https://github.com/Azure/azure-data-lake-store-…
akharit May 10, 2019
5c91e98
Merge branch 'master' into dev
akharit May 10, 2019
96b6b87
Fixes (#291)
akharit Jun 26, 2019
c5cff16
Merge from master
akharit Jun 26, 2019
5e349a3
Fix docs (#297)
akharit Aug 15, 2019
ebb85d5
Update history and version
akharit Aug 15, 2019
339b176
Merge from master
akharit Aug 15, 2019
dc4716d
Buffer writes to block size (#303)
akharit Oct 19, 2019
a0b6569
merge from master
akharit Oct 19, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ matrix:
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7

install:
# Install dependencies
Expand Down Expand Up @@ -39,5 +40,5 @@ deploy:
distributions: "bdist_wheel sdist" # Parameter order for distributions is important.
on:
tags: true
python: '3.6'
python: '3.7'
repo: Azure/azure-data-lake-store-python
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Release History
===============

0.0.48 (2019-10-18)
+++++++++++++++++++
* Buffer writes to prevent out of memory problems
* Add Python 3.7 in travis configuration

0.0.47 (2019-08-14)
+++++++++++++++++++
* Remove logging of bearer token
Expand Down
37 changes: 37 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ ADLDownloader(adl, '', 'my_temp_dir', 5, 2**24)
```
# API

<<<<<<< HEAD
=======
|
|
|
Expand Down Expand Up @@ -173,6 +175,7 @@ ADLDownloader(adl, '', 'my_temp_dir', 5, 2**24)
|
|

>>>>>>> master
#### class azure.datalake.store.core.AzureDLFileSystem(token=None, per_call_timeout_seconds=60, \*\*kwargs)
Access Azure DataLake Store as if it were a file-system

Expand Down Expand Up @@ -211,6 +214,28 @@ Access Azure DataLake Store as if it were a file-system

### Methods

<<<<<<< HEAD




















=======
|
|
|
Expand Down Expand Up @@ -251,6 +276,7 @@ Access Azure DataLake Store as if it were a file-system
|
|
|
>>>>>>> master
<!-- !! processed by numpydoc !! -->

#### access(self, path, invalidate_cache=True)
Expand Down Expand Up @@ -1235,12 +1261,17 @@ of files or a glob pattern.

### Methods

<<<<<<< HEAD


=======
|
|
|
|
|
|
>>>>>>> master
<!-- !! processed by numpydoc !! -->

#### active(self)
Expand Down Expand Up @@ -1397,12 +1428,18 @@ of files or a glob pattern.

### Methods

<<<<<<< HEAD



=======
|
|
|
|
|
|
>>>>>>> master
<!-- !! processed by numpydoc !! -->

#### active(self)
Expand Down
2 changes: 1 addition & 1 deletion azure/datalake/store/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# license information.
# --------------------------------------------------------------------------

__version__ = "0.0.47"
__version__ = "0.0.48"

from .core import AzureDLFileSystem
from .multithread import ADLDownloader
Expand Down
13 changes: 9 additions & 4 deletions azure/datalake/store/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1213,10 +1213,15 @@ def write(self, data):
if self.closed:
raise ValueError('I/O operation on closed file.')

out = self.buffer.write(ensure_writable(data))
self.loc += out
self.flush(syncFlag='DATA')
return out
# TODO Flush may be simplified
# Buffered writes so a very large buffer is not copied leading to very large memory consumption
bytes_written = 0
for i in range(0, len(data), self.blocksize):
out = self.buffer.write(ensure_writable(data[i:i + self.blocksize]))
self.loc += out
bytes_written += out
self.flush(syncFlag='DATA')
return bytes_written

def flush(self, syncFlag='METADATA', force=False):
"""
Expand Down