You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org> on 2017/09/01 04:33:02 UTC
[jira] [Commented] (HADOOP-14674) Correct javadoc for
getRandomizedTempPath
[ https://issues.apache.org/jira/browse/HADOOP-14674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150031#comment-16150031 ]
Jitendra Nath Pandey commented on HADOOP-14674:
-----------------------------------------------
Thanks for catching this [~andrew.wang]. I am not entirely sure what happened, most likely I forgot to git push. Sorry about that.
Before committing, I will wait for another jenkins run, since patch is now more than a month old.
> Correct javadoc for getRandomizedTempPath
> -----------------------------------------
>
> Key: HADOOP-14674
> URL: https://issues.apache.org/jira/browse/HADOOP-14674
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Attachments: HADOOP-14674.001.patch
>
>
> getRandomizedTempPath has incorrect javadoc where the javadoc specifies a parameter to the function however the function doesnt expects one.
> {code}
> /**
> * Get a temp path. This may or may not be relative; it depends on what the
> * {@link #SYSPROP_TEST_DATA_DIR} is set to. If unset, it returns a path
> * under the relative path {@link #DEFAULT_TEST_DATA_PATH}
> * @param subpath sub path, with no leading "/" character
> * @return a string to use in paths
> */
> public static String getRandomizedTempPath() {
> return getTempPath(RandomStringUtils.randomAlphanumeric(10));
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org