-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replaces positional read with seek+read to make THDFSFile compatible with libhdfs3 (native HDFS client library) which only implements the latter. * Fixes GetUserInfo call to make it actually return current username instead of root * use hdfsBuilder to create HDFS connection * makes HDFS URLs absolute instead of relative to user directory to match Hadoop conventions. fixes HDFS path handling in various methods to make them actually work. * enables CMake build for THDFSFile * makes sure SysRead() returns as many bytes as requested if possible by calling hdfsRead several tyimes.
- Loading branch information
1 parent
e0b1b4e
commit 45f61ce
Showing
3 changed files
with
80 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters