erikfrey / bashreduce Goto Github PK
View Code? Open in Web Editor NEWmapreduce in bash
License: MIT License
mapreduce in bash
License: MIT License
In README, it is said that we can use bashreduce as a poorman's dfs by doing
br -r "cat > /tmp/myfile" < input
I think I can see a file 'input' will be distributed among the hosts with the file name /tmp/myfile
.
But how can we read the file?
br -r "cat /tmp/myfile"
would give us a broken file since those distributed chunks do not have information about in what order the original file was written.
Or it is assumed that input
is a file whose lines have numbers in order?
Any luck with the redhat system? I tried removing the -q0 from nc and that took me a little further.
However, there seem to be other problems with the ssh'ing.
I don't get how I should define the hosts in my configuration file.
I have access to the following hosts:
I have tried to run bashreduce with the following command line:
$: br -m "gioby@localhost gdallolio@server1" -r 'head' < bigfile.txt
but it asks me the password to connect to localhost.
Could you improve the documentation on how to specifiy hosts, with different usernames?
(I'm working on this one โ if I find something I'll send a pull request. Consider this as much a development log as a feature request!)
Apple's version of nc
doesn't support -q
, though -w
seems to do something similar. Even with the change, it results in the rather mystifying behavior of reading the input and producing no output, and I have no idea why.
(This is of course after installing pv
from Homebrew; one could easily alias pv=cat
if one was so inclined!)
on first run pv was not found
sudo apt-get install pv
Hi there,
I just started reading the README and was wondering about the first table (comparsing sort to br). What is the difference between the second and third row? It looks the same to me.
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.