hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1075) getQueue(String queue) in JobTracker would return NPE for invalid queue name
Date Fri, 04 Dec 2009 11:08:20 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785874#action_12785874
] 

Hemanth Yamijala commented on MAPREDUCE-1075:
---------------------------------------------

In an offline discussion with Vinod, we concluded that there is no provision to marshal exceptions
in Hadoop's RPC right now. Hence, we are deciding in favor of returning null in the queue
APIs.

With this context I looked at the new patch. One minor NIT is that I would suggest we test
the API JobClient.getQueueInfo instead of Cluster.getQueue, as it covers more code path that's
changed. Can you please make this change and run the patch through Hudson so I can commit
once it passes ?

> getQueue(String queue) in JobTracker would return NPE for invalid queue name
> ----------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1075
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1075
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: V.V.Chaitanya Krishna
>            Assignee: V.V.Chaitanya Krishna
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1075-1.patch, MAPREDUCE-1075-2.patch, MAPREDUCE-1075-3.patch,
MAPREDUCE-1075-4.patch, MAPREDUCE-1075-5.patch, MAPREDUCE-1075-6.patch
>
>


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


Mime
View raw message