[ 
https://issues.apache.org/jira/browse/SPARK-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034372#comment-14034372
 ] 

Grega Kespret commented on SPARK-2170:
--------------------------------------

Added a Pull request that resolves this issue - 
https://github.com/apache/spark/pull/1109

> Fix for global name 'PIPE' is not defined.
> ------------------------------------------
>
>                 Key: SPARK-2170
>                 URL: https://issues.apache.org/jira/browse/SPARK-2170
>             Project: Spark
>          Issue Type: Bug
>          Components: EC2
>         Environment: $ python --version
> Python 2.6.6
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description:    Debian GNU/Linux 6.0.9 (squeeze)
> Release:        6.0.9
> Codename:       squeeze
>            Reporter: Grega Kespret
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When running spark-ec2.py script, it fails with error "NameError: global name 
> 'PIPE' is not defined".
>     Traceback (most recent call last):
>       File "./spark_ec2.py", line 894, in <module>
>         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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to