You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/03/26 12:15:00 UTC

[jira] [Resolved] (SPARK-27277) Recover from setting fix version failure in merge script

     [ https://issues.apache.org/jira/browse/SPARK-27277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-27277.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 24213
[https://github.com/apache/spark/pull/24213]

> Recover from setting fix version failure in merge script
> --------------------------------------------------------
>
>                 Key: SPARK-27277
>                 URL: https://issues.apache.org/jira/browse/SPARK-27277
>             Project: Spark
>          Issue Type: Improvement
>          Components: Project Infra
>    Affects Versions: 3.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> I happened to meet this cases few times before:
> {code}
> Enter comma-separated fix version(s) [3.0.0]: 3.0,0
> Restoring head pointer to master
> git checkout master
> Already on 'master'
> git branch
> Traceback (most recent call last):
>   File "./dev/merge_spark_pr_jira.py", line 537, in <module>
>     main()
>   File "./dev/merge_spark_pr_jira.py", line 523, in main
>     resolve_jira_issues(title, merged_refs, jira_comment)
>   File "./dev/merge_spark_pr_jira.py", line 359, in resolve_jira_issues
>     resolve_jira_issue(merge_branches, comment, jira_id)
>   File "./dev/merge_spark_pr_jira.py", line 302, in resolve_jira_issue
>     jira_fix_versions = map(lambda v: get_version_json(v), fix_versions)
>   File "./dev/merge_spark_pr_jira.py", line 302, in <lambda>
>     jira_fix_versions = map(lambda v: get_version_json(v), fix_versions)
>   File "./dev/merge_spark_pr_jira.py", line 300, in get_version_json
>     return filter(lambda v: v.name == version_str, versions)[0].raw
> IndexError: list index out of range
> {code}
> I typed the fix version wrongly and it ended the loop in the merge script. Not a big deal but it bugged me few times.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org