hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12273) releasedocmaker.py fails with stacktrace if --project option is not specified
Date Mon, 27 Jul 2015 18:09:04 GMT

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

Allen Wittenauer commented on HADOOP-12273:
-------------------------------------------

The length code is almost certainly from when the code required just two parameters and then
the third+ were all optional versions.  It should probably just be removed entirely.

> releasedocmaker.py fails with stacktrace if --project option is not specified
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-12273
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12273
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Trivial
>         Attachments: HADOOP-12273.HADOOP-12111.00.patch
>
>
> It should show its usage instead. 
> {code}
> [sekikn@mobile hadoop]$ dev-support/releasedocmaker.py --version 3.0.0
> Traceback (most recent call last):
>   File "dev-support/releasedocmaker.py", line 580, in <module>
>     main()
>   File "dev-support/releasedocmaker.py", line 424, in main
>     title=projects[0]
> TypeError: 'NoneType' object has no attribute '__getitem__'
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message