瀏覽代碼

commit 341ca7b8c70d2f6f10027bbe1de80f5818a08611
Author: Devaraj Das <ddas@yahoo-inc.com>
Date: Sun Feb 7 18:19:00 2010 -0800

HADOOP:6419 from https://issues.apache.org/jira/secure/attachment/12435135/6419-bp20-jobsubmitprotocol.patch

+++ b/YAHOO-CHANGES.txt
+ MAPREDUCE-6419. Fixes a bug in the backported patch. (ddas)
+


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077154 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 年之前
父節點
當前提交
c0100c0d8c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/mapred/org/apache/hadoop/mapred/JobSubmissionProtocol.java

+ 3 - 0
src/mapred/org/apache/hadoop/mapred/JobSubmissionProtocol.java

@@ -21,6 +21,8 @@ package org.apache.hadoop.mapred;
 import java.io.IOException;
 
 import org.apache.hadoop.ipc.VersionedProtocol;
+import org.apache.hadoop.mapreduce.JobContext;
+import org.apache.hadoop.security.KerberosInfo;
 import org.apache.hadoop.security.TokenStorage;
 
 /** 
@@ -28,6 +30,7 @@ import org.apache.hadoop.security.TokenStorage;
  * JobClient can use these methods to submit a Job for execution, and learn about
  * the current system status.
  */ 
+@KerberosInfo(JobContext.JOB_JOBTRACKER_ID)
 interface JobSubmissionProtocol extends VersionedProtocol {
   /* 
    *Changing the versionID to 2L since the getTaskCompletionEvents method has