Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 20 by
renw...@google.com: hashjoin dies w/ tcmalloc errors when
stdin is 0 bytes
http://code.google.com/p/crush-tools/issues/detail?id=20
What steps will reproduce the problem?
[(xfp-custom/goog) google3]$ echo -e "1,X\n2,Y" > /tmp/x
[(xfp-custom/goog) google3]$ cat /dev/null | hashjoin -f /tmp/x -k 1 -l 1
-j 2
hashjoin: xmalloc failed to allocate -1 bytes: Cannot allocate memory
What is the expected output? What do you see instead?
A nicer error message that stdin (or the joined file) is 0 bytes.
What version of the product are you using? On what operating system?
(xfp-custom/goog) google3]$ hashjoin -V
0.1
Please provide any additional information below.