parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parallel issue


From: Ole Tange
Subject: Re: parallel issue
Date: Wed, 9 Mar 2011 17:03:03 +0100

On Tue, Mar 8, 2011 at 10:04 PM, Li Hong <cefs99@gmail.com> wrote:

> [root@tapp03 tmp]#  cat SRD_exp_sid_20110208(the 280k user id list) | time
> parallel --eta  -j+0 -I @@  " grep -m 1 '\&subscriber_id=@@\&'
> log.2011Jan.clean(processed apache web log file)" >SRD_output_2011Jan
> ....
> Use of uninitialized value in hash element at /usr/local/bin/parallel line
> 3287, <STDIN> line 273595.
:
> This should not
> happen. Contact <parallel@gnu.org>. at /usr/local/bin/parallel line 3384.

When you get this you have clearly found a bug and that should be
fixed, so it would be good if you can give me access to input that
causes this behaviour.

That said you might want to try:

cat SRD_exp_sid_20110208(the 280k user id list) | time
parallel --eta  -j+0 -I @@  " grep -m 1 '\&subscriber_id='@@'\&'
log.2011Jan.clean(processed apache web log file)" >SRD_output_2011Jan

Notice how the @@ is outside the '. GNU Parallel always quotes the
argument so it can be interpreted by BASH. By putting it into ' then
GNU Parallel may quote the argument too much (e.g. " -> \")


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]