@@ -43,7 +43,7 @@ public class TokenUtil {
43
43
/**
44
44
* It was removed in HBase-2.0 but added again as spark code relies on this method to obtain
45
45
* delegation token
46
- * @deprecated Since 2.0.0.
46
+ * @deprecated Since 2.0.0 and will be removed in 4.0.0 .
47
47
*/
48
48
@ Deprecated
49
49
public static Token <AuthenticationTokenIdentifier > obtainToken (Configuration conf )
@@ -55,8 +55,8 @@ public static Token<AuthenticationTokenIdentifier> obtainToken(Configuration con
55
55
56
56
/**
57
57
* See {@link ClientTokenUtil#obtainToken(org.apache.hadoop.hbase.client.Connection)}.
58
- * @deprecated External users should not use this method. Please post on the HBase dev mailing
59
- * list if you need this method. Internal HBase code should use
58
+ * @deprecated External users should not use this method, will be removed in 4.0.0. Please post on
59
+ * the HBase dev mailing list if you need this method. Internal HBase code should use
60
60
* {@link ClientTokenUtil} instead.
61
61
*/
62
62
@ Deprecated
@@ -67,8 +67,8 @@ public static Token<AuthenticationTokenIdentifier> obtainToken(Connection conn)
67
67
68
68
/**
69
69
* See {@link ClientTokenUtil#toToken(Token)}.
70
- * @deprecated External users should not use this method. Please post on the HBase dev mailing
71
- * list if you need this method. Internal HBase code should use
70
+ * @deprecated External users should not use this method, will be removed in 4.0.0. Please post on
71
+ * the HBase dev mailing list if you need this method. Internal HBase code should use
72
72
* {@link ClientTokenUtil} instead.
73
73
*/
74
74
@ Deprecated
@@ -78,8 +78,8 @@ public static AuthenticationProtos.Token toToken(Token<AuthenticationTokenIdenti
78
78
79
79
/**
80
80
* See {@link ClientTokenUtil#obtainToken(Connection, User)}.
81
- * @deprecated External users should not use this method. Please post on the HBase dev mailing
82
- * list if you need this method. Internal HBase code should use
81
+ * @deprecated External users should not use this method, will be removed in 4.0.0. Please post on
82
+ * the HBase dev mailing list if you need this method. Internal HBase code should use
83
83
* {@link ClientTokenUtil} instead.
84
84
*/
85
85
@ Deprecated
@@ -99,8 +99,8 @@ public static void obtainAndCacheToken(final Connection conn, User user)
99
99
/**
100
100
* See
101
101
* {@link ClientTokenUtil#toToken(org.apache.hadoop.hbase.shaded.protobuf.generated.AuthenticationProtos.Token)}.
102
- * @deprecated External users should not use this method. Please post on the HBase dev mailing
103
- * list if you need this method. Internal HBase code should use
102
+ * @deprecated External users should not use this method, will be removed in 4.0.0. Please post on
103
+ * the HBase dev mailing list if you need this method. Internal HBase code should use
104
104
* {@link ClientTokenUtil} instead.
105
105
*/
106
106
@ Deprecated
0 commit comments