-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow put from stdin #44
Labels
Comments
Ah, good idea! |
👍 |
junjieqian
pushed a commit
to microsoft/colinmarc-hdfs
that referenced
this issue
Mar 16, 2018
junjieqian
pushed a commit
to microsoft/colinmarc-hdfs
that referenced
this issue
Mar 16, 2018
junjieqian
added a commit
to microsoft/colinmarc-hdfs
that referenced
this issue
Mar 17, 2018
* implement client options, support multiple namenodes with failover * Fix an alignment bug causing us to send very small packets The faulty math in block_write_stream was causing us to always send 512 byte packets. * rename host to namenodeHost * document standby retry behaviour * include detail in namenode error * deprecate WrapNamenodeConnection * replace goto behaviour with for loop * fallback to error from last failure * travis: bump go version to 1.x * Regenerate proto files (this should fix travis issues, hopefully) * travis: touch *.pb.go before running make For some reason, make on travis recently started deciding that the *.pb.go files were older than the *.proto files, ever though they originate from the same `git checkout`. The easiest way to fix this is simply to touch them right before we run make, so that they look newer. * travis: attempt to fix hadoop tarball caching * Fix comment for CopyToRemote Fixes colinmarc#89, colinmarc#90 * Deprecate NewForUser and NewForConnection * Add the ability for 'put -' to read from stdin Fixes colinmarc#44, closes colinmarc#98 * Convert from govendor to dep * Update dependencies * Tweak put tests Add a very basic test, and put everything in the same directory so it gets cleaned up properly. * Improve conf loading and surrounding tests - Fix a bug where configuration wasn't loaded from specified paths - Only search one path at a time, rather than deduping from all - Correctly handle fs.default.name - Improve test coverage and documentation * Fix the merge from upstream * more fixes to merge master * more fixes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be useful to be able to put from stdin.
For example:
The way
cmd/hdfs/put.go
is structured makes this a little tricky, but I think I can refactor this.The text was updated successfully, but these errors were encountered: