Parcourir la source

Addendum for HADOOP-14146 jdk7 support.

(cherry picked from commit 4c6184b41cfdab589a2fea4fb7665e28d044c681)
Kihwal Lee il y a 8 ans
Parent
commit
fa695817e5

+ 5 - 0
hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosUtil.java

@@ -450,5 +450,10 @@ public class KerberosUtil {
     public String toString() {
       return "[tag=0x"+Integer.toHexString(tag)+" bb="+bb+"]";
     }
+
+    @Override
+    public void remove() {
+      throw new UnsupportedOperationException();
+    }
   }
 }