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 "Masatake Iwasaki (JIRA)" <ji...@apache.org> on 2014/11/08 01:39:33 UTC

[jira] [Commented] (HADOOP-11284) Fix variable name mismatch in hadoop-functions.sh

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

Masatake Iwasaki commented on HADOOP-11284:
-------------------------------------------

I tested the patch on my local. PID file is properly created and deleted for both of non-secure and secure datanode.

> Fix variable name mismatch in hadoop-functions.sh
> -------------------------------------------------
>
>                 Key: HADOOP-11284
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11284
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>         Attachments: HADOOP-11284.1.patch
>
>
> Some functions use variables not given as argument but defined in outside of function. The variables are used as name of pid file. Though hadoop-functions.sh works by chance now, it should be fixed to avoid future bug.



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