Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/1109#issuecomment-46383668
  
    Actually the merge script failed for this pull request. @pwendell any idea?
    ```
    > ./merge_spark_pr.py 
    Which pull request would you like to merge? (e.g. 34): 1109
    
    === Pull Request #1109 ===
    title       SPARK-2170: Fix for global name 'PIPE' is not defined
    source      gregakespret/spark-ec2-subprocess-script
    target      master
    url https://api.github.com/repos/apache/spark/pulls/1109
    
    Proceed with merging pull request #1109? (y/n): y
    From github.com:apache/spark
     * [new ref]         refs/pull/1109/head -> PR_TOOL_MERGE_PR_1109
    From https://git-wip-us.apache.org/repos/asf/spark
     * [new branch]      master     -> PR_TOOL_MERGE_PR_1109_MASTER
    Switched to branch 'PR_TOOL_MERGE_PR_1109_MASTER'
    Automatic merge went well; stopped before committing as requested
    Traceback (most recent call last):
      File "./merge_spark_pr.py", line 316, in <module>
        merge_hash = merge_pr(pr_num, target_ref)
      File "./merge_spark_pr.py", line 152, in merge_pr
        run_cmd(['git', 'commit', '--author="%s"' % primary_author] + 
merge_message_flags)
      File "./merge_spark_pr.py", line 78, in run_cmd
        return subprocess.check_output(cmd)
      File "/Users/rxin/anaconda/lib/python2.7/subprocess.py", line 573, in 
check_output
        raise CalledProcessError(retcode, cmd, output=output)
    subprocess.CalledProcessError: Command '['git', 'commit', '--author="Grega 
Kespret <gr...@celtra.com>"', '-m', u"SPARK-2170: Fix for global name 'PIPE' is 
not defined", '-m', 
u'https://issues.apache.org/jira/browse/SPARK-2170\r\n\r\nBefore this fix, when 
running ./spark-ec2 script:\r\n\r\n```\r\n    Traceback (most recent call 
last):\r\n      File "./spark_ec2.py", line 894, in <module>\r\n        
main()\r\n      File "./spark_ec2.py", line 886, in main\r\n        
real_main()\r\n      File "./spark_ec2.py", line 770, in real_main\r\n        
setup_cluster(conn, master_nodes, slave_nodes, opts, True)\r\n      File 
"./spark_ec2.py", line 475, in setup_cluster\r\n        dot_ssh_tar = 
ssh_read(master, opts, [\'tar\', \'c\', \'.ssh\'])\r\n      File 
"./spark_ec2.py", line 709, in ssh_read\r\n        ssh_command(opts) + 
[\'%s@%s\' % (opts.user, host), stringify_command(command)])\r\n      File 
"./spark_ec2.py", line 696, in _check_output\r\n        process = 
subprocess.Popen(stdout=PIP
 E, *popenargs, **kwargs)\r\n    NameError: global name \'PIPE\' is not 
defined\r\n```', '-m', 'Author: Grega Kespret <gr...@celtra.com>', '-m', 
u'Closes #1109 from gregakespret/spark-ec2-subprocess-script and squashes the 
following commits:', '-m', "4168dc6 [Grega Kespret] Fix for global name 'PIPE' 
is not defined"]' returned non-zero exit status 1
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to