apache/spark — pull request #1109 by gregakespret (2014-06-17 21:02:31+00:00)
Title: Fix for global name 'PIPE' is not defined

Before this fix, when running ./spark-ec2 script:

```
Traceback (most recent call last):
File "./spark_ec2.py", line 894, in
main()
File "./spark_ec2.py", line 886, in main
real_main()
File "./spark_ec2.py", line 770, in real_main
setup_cluster(conn, master_nodes, slave_nodes, opts, True)
File "./spark_ec2.py", line 475, in setup_cluster
dot_ssh_tar = ssh_read(master, opts, ['tar', 'c', '.ssh'])
File "./spark_ec2.py", line 709, in ssh_read
ssh_command(opts) + ['%s@%s' % (opts.user, host), stringify_command(command)])
File "./spark_ec2.py", line 696, in _check_output
process = subprocess.Popen(stdout=PIPE, *popenargs, **kwargs)
NameError: global name 'PIPE' is not defined
```