|
23 | 23 | import java.util.ArrayList;
|
24 | 24 | import java.util.HashMap;
|
25 | 25 |
|
26 |
| -import org.apache.commons.lang.NotImplementedException; |
| 26 | +import org.apache.commons.lang3.NotImplementedException; |
27 | 27 | import org.apache.hadoop.mapreduce.v2.api.MRClientProtocol;
|
28 | 28 | import org.apache.hadoop.mapreduce.v2.api.protocolrecords.CancelDelegationTokenRequest;
|
29 | 29 | import org.apache.hadoop.mapreduce.v2.api.protocolrecords.CancelDelegationTokenResponse;
|
@@ -167,7 +167,7 @@ public GetTaskAttemptCompletionEventsResponse getTaskAttemptCompletionEvents(
|
167 | 167 | public GetTaskAttemptReportResponse getTaskAttemptReport(
|
168 | 168 | GetTaskAttemptReportRequest request) throws IOException {
|
169 | 169 | //not invoked by anybody
|
170 |
| - throw new NotImplementedException(); |
| 170 | + throw new NotImplementedException("Code is not implemented"); |
171 | 171 | }
|
172 | 172 |
|
173 | 173 | @Override
|
@@ -222,26 +222,26 @@ public KillTaskAttemptResponse killTaskAttempt(
|
222 | 222 | public GetDelegationTokenResponse getDelegationToken(
|
223 | 223 | GetDelegationTokenRequest request) throws IOException {
|
224 | 224 | /* Should not be invoked by anyone. */
|
225 |
| - throw new NotImplementedException(); |
| 225 | + throw new NotImplementedException("Code is not implemented"); |
226 | 226 | }
|
227 | 227 |
|
228 | 228 | @Override
|
229 | 229 | public RenewDelegationTokenResponse renewDelegationToken(
|
230 | 230 | RenewDelegationTokenRequest request) throws IOException {
|
231 | 231 | /* Should not be invoked by anyone. */
|
232 |
| - throw new NotImplementedException(); |
| 232 | + throw new NotImplementedException("Code is not implemented"); |
233 | 233 | }
|
234 | 234 |
|
235 | 235 | @Override
|
236 | 236 | public CancelDelegationTokenResponse cancelDelegationToken(
|
237 | 237 | CancelDelegationTokenRequest request) throws IOException {
|
238 | 238 | /* Should not be invoked by anyone. */
|
239 |
| - throw new NotImplementedException(); |
| 239 | + throw new NotImplementedException("Code is not implemented"); |
240 | 240 | }
|
241 | 241 |
|
242 | 242 | @Override
|
243 | 243 | public InetSocketAddress getConnectAddress() {
|
244 | 244 | /* Should not be invoked by anyone. Normally used to set token service */
|
245 |
| - throw new NotImplementedException(); |
| 245 | + throw new NotImplementedException("Code is not implemented"); |
246 | 246 | }
|
247 | 247 | }
|
0 commit comments