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 "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2009/09/07 21:28:58 UTC

[jira] Created: (HADOOP-6243) NPE in handling deprecated configuration keys.

NPE in handling deprecated configuration keys.
----------------------------------------------

                 Key: HADOOP-6243
                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
             Project: Hadoop Common
          Issue Type: Bug
          Components: conf
    Affects Versions: 0.21.0
            Reporter: Konstantin Shvachko
             Fix For: 0.21.0


I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
This code was introduced in HADOOP-6105.

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


[jira] Updated: (HADOOP-6243) NPE in handling deprecated configuration keys.

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

Sreekanth Ramakrishnan updated HADOOP-6243:
-------------------------------------------

    Status: Patch Available  (was: Open)

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Updated: (HADOOP-6243) NPE in handling deprecated configuration keys.

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

Sreekanth Ramakrishnan updated HADOOP-6243:
-------------------------------------------

    Attachment: HADOOP-6243-1.patch

The patch fixes the {{NullPointerException}} which was thrown when {{Configuration.get()}} method is invoked.

The {{Configuration.processDeprecation()}} used to load the classes which were present as part of {{hadoop.conf.extra.classes}} key.

If one of those classes have a static block which does an {{Configuration.addResource()}}, the property map maintained by the Configuration is set to null causing the {{NullPointerException}}

After, offline discussion with Hemanth and Chaitanya with regards to correct fix, a new JIRA would be opened in order to discuss how best to expose the usage of HADOOP-6105 to consumers, and this JIRA would provide a short term fix in which consumers are expected to change the {{static}} block in {{Configuration}} class for using HADOOP-6105

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752458#action_12752458 ] 

Hemanth Yamijala commented on HADOOP-6243:
------------------------------------------

I committed the hadoop common jars to mapreduce project after verifying that jobs are running fine where they previously did not.

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Reopened: (HADOOP-6243) NPE in handling deprecated configuration keys.

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

Hemanth Yamijala reopened HADOOP-6243:
--------------------------------------


Leaving this open until I commit the jars to the affected projects.

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Assigned: (HADOOP-6243) NPE in handling deprecated configuration keys.

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

Hemanth Yamijala reassigned HADOOP-6243:
----------------------------------------

    Assignee: V.V.Chaitanya Krishna

Chaitanya, Can you please take a look ? Please note Konstantin's helpful clues about difference in environment.

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>             Fix For: 0.21.0
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752430#action_12752430 ] 

Hemanth Yamijala commented on HADOOP-6243:
------------------------------------------

This seems fine to me. +1.

bq. After, offline discussion with Hemanth and Chaitanya with regards to correct fix, a new JIRA would be opened in order to discuss how best to expose the usage of HADOOP-6105 to consumers

Opened HADOOP-6245 for tracking this.

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752642#action_12752642 ] 

Konstantin Shvachko commented on HADOOP-6243:
---------------------------------------------

Worked for me, thanks.

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: Sreekanth Ramakrishnan
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Updated: (HADOOP-6243) NPE in handling deprecated configuration keys.

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

Hemanth Yamijala updated HADOOP-6243:
-------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I committed this to trunk. Thanks, Sreekanth !

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753558#action_12753558 ] 

Hudson commented on HADOOP-6243:
--------------------------------

Integrated in Hdfs-Patch-h5.grid.sp2.yahoo.net #21 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/21/])
    

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: Sreekanth Ramakrishnan
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752443#action_12752443 ] 

Hudson commented on HADOOP-6243:
--------------------------------

Integrated in Hadoop-Common-trunk #89 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/89/])
    . Fix a NullPointerException in processing deprecated keys. Contributed by Sreekanth Ramakrishnan.


> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752586#action_12752586 ] 

Hemanth Yamijala commented on HADOOP-6243:
------------------------------------------

I ran HDFS tests with the jars got from http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/19/ and http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/23/ and they passed on my machine. Going to commit the jars to HDFS based on this.

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752447#action_12752447 ] 

Hudson commented on HADOOP-6243:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #19 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/19/])
    . Fix a NullPointerException in processing deprecated keys. Contributed by Sreekanth Ramakrishnan.


> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Updated: (HADOOP-6243) NPE in handling deprecated configuration keys.

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

Hemanth Yamijala updated HADOOP-6243:
-------------------------------------

    Assignee: Sreekanth Ramakrishnan  (was: V.V.Chaitanya Krishna)

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: Sreekanth Ramakrishnan
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752477#action_12752477 ] 

Hudson commented on HADOOP-6243:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #23 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/23/])
    . Fixes a NullPointerException in handling deprecated keys. Contributed by Sreekanth Ramakrishnan.


> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

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

Hadoop QA commented on HADOOP-6243:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12418892/HADOOP-6243-1.patch
  against trunk revision 812317.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/24/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/24/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/24/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/24/console

This message is automatically generated.

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752610#action_12752610 ] 

Hudson commented on HADOOP-6243:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #20 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/20/])
    . Updating Common and Mapreduce jars fixing an NPE in handling deprecated keys. Contributed by Sreekanth Ramakrishnan.


> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: Sreekanth Ramakrishnan
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Resolved: (HADOOP-6243) NPE in handling deprecated configuration keys.

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

Hemanth Yamijala resolved HADOOP-6243.
--------------------------------------

    Resolution: Fixed

I committed common and mapreduce jars to HDFS thus completing the fix. Thanks, Sreekanth !

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Commented: (HADOOP-6243) NPE in handling deprecated configuration keys.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752939#action_12752939 ] 

Hudson commented on HADOOP-6243:
--------------------------------

Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #5 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/5/])
    . Updating Common and Mapreduce jars fixing an NPE in handling deprecated keys. Contributed by Sreekanth Ramakrishnan.


> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: Sreekanth Ramakrishnan
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6243-1.patch
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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


[jira] Updated: (HADOOP-6243) NPE in handling deprecated configuration keys.

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

Hemanth Yamijala updated HADOOP-6243:
-------------------------------------

    Priority: Blocker  (was: Major)

I am marking this a blocker, because it is breaking builds. It was not my intent that the common jar containing HADOOP-6105 is committed to the M/R and HDFS projects. We were still running tests with Hudson jars. However, it appears that commit of HADOOP-6133 inadvertently included this fix as well.

> NPE in handling deprecated configuration keys.
> ----------------------------------------------
>
>                 Key: HADOOP-6243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6243
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>
> I run TestFileCreation in Eclipse and get a NullPointerException. Debugging shows that {{Configuration.populateDeprecationMapping()}} sets {{Configuration.properties}} to null.
> This code was introduced in HADOOP-6105.

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