Hadoop streaming grep does not work Hadoop streaming grep does not work hadoop hadoop

Hadoop streaming grep does not work


I haven't tried this myself, but grep exits with a non-zero exit code if it didn't find something. If a map doesn't contain the string you grep for, you get a non-zero exit code and hadoop will error. Maybe something like "/bin/grep || true" works.