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
diff --git src/HdfsFile.cpp src/HdfsFile.cpp | |
index f1ffadf..ac5d134 100644 | |
--- src/HdfsFile.cpp | |
+++ src/HdfsFile.cpp | |
@@ -120,12 +120,15 @@ bool HdfsFile::write(const std::string& data) { | |
tSize bytesWritten = hdfsWrite(fileSys, hfile, data.data(), | |
(tSize) data.length()); | |
bool retVal = (bytesWritten == (tSize) data.length()) ? true : false; | |
+ if (retVal) { | |
+ hdfsHFlush(fileSys, hfile); |
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
alias dj="python manage.py" | |
alias djdd="python manage.py dumpdata" | |
alias djld="python manage.py loaddata" | |
alias djm="python manage.py migrate" | |
alias djsh="python manage.py shell" | |
alias djsm="python manage.py schemamigration" | |
alias djs="python manage.py syncdb --noinput" | |
alias djt="python manage.py test" | |
alias djrs="python manage.py runserver" |