You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Nigel Daley (JIRA)" <ji...@apache.org> on 2007/05/14 23:56:16 UTC

[jira] Created: (HADOOP-1355) Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)

Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)
-------------------------------------------------------------------------

                 Key: HADOOP-1355
                 URL: https://issues.apache.org/jira/browse/HADOOP-1355
             Project: Hadoop
          Issue Type: Bug
          Components: mapred
    Affects Versions: 0.12.3
            Reporter: Nigel Daley
            Priority: Blocker
             Fix For: 0.13.0


TaskLogAppender.java line 49

this.layout is checked for null on line 43, then it is dereferenced on line 49

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1355) Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated HADOOP-1355:
----------------------------------

    Assignee: Arun C Murthy
    Priority: Minor  (was: Blocker)

It's a an obscure case which should never occur i.e. when there is no 'layout' configured for the Task logger... attaching a simple patch.

> Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-1355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1355
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: HADOOP-1355_1_20070515.patch
>
>
> TaskLogAppender.java line 49
> this.layout is checked for null on line 43, then it is dereferenced on line 49

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1355) Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated HADOOP-1355:
----------------------------------

    Fix Version/s:     (was: 0.13.0)
                   0.14.0
           Status: Patch Available  (was: Open)

> Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-1355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1355
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1355_1_20070515.patch
>
>
> TaskLogAppender.java line 49
> this.layout is checked for null on line 43, then it is dereferenced on line 49

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1355) Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-1355:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I've just committed this.  Thanks Arun!

> Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-1355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1355
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1355_1_20070515.patch
>
>
> TaskLogAppender.java line 49
> this.layout is checked for null on line 43, then it is dereferenced on line 49

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-1355) Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495922 ] 

Hadoop QA commented on HADOOP-1355:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12357366/HADOOP-1355_1_20070515.patch applied and successfully tested against trunk revision r537939.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/140/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/140/console

> Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-1355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1355
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1355_1_20070515.patch
>
>
> TaskLogAppender.java line 49
> this.layout is checked for null on line 43, then it is dereferenced on line 49

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1355) Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated HADOOP-1355:
----------------------------------

    Attachment: HADOOP-1355_1_20070515.patch

This could be pushed to 0.14.0 me thinks...

> Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-1355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1355
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: HADOOP-1355_1_20070515.patch
>
>
> TaskLogAppender.java line 49
> this.layout is checked for null on line 43, then it is dereferenced on line 49

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-1355) Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496532 ] 

Hadoop QA commented on HADOOP-1355:
-----------------------------------

Integrated in Hadoop-Nightly #91 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/91/)

> Possible null pointer dereference in TaskLogAppender.append(LoggingEvent)
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-1355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1355
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1355_1_20070515.patch
>
>
> TaskLogAppender.java line 49
> this.layout is checked for null on line 43, then it is dereferenced on line 49

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.