@@ -274,47 +274,47 @@ public class ClientNamenodeProtocolTranslatorPB implements
274
274
ProtocolMetaInterface , ClientProtocol , Closeable , ProtocolTranslator {
275
275
final private ClientNamenodeProtocolPB rpcProxy ;
276
276
277
- static final GetServerDefaultsRequestProto VOID_GET_SERVER_DEFAULT_REQUEST =
277
+ protected static final GetServerDefaultsRequestProto VOID_GET_SERVER_DEFAULT_REQUEST =
278
278
GetServerDefaultsRequestProto .newBuilder ().build ();
279
279
280
- private final static GetFsStatusRequestProto VOID_GET_FSSTATUS_REQUEST =
280
+ protected final static GetFsStatusRequestProto VOID_GET_FSSTATUS_REQUEST =
281
281
GetFsStatusRequestProto .newBuilder ().build ();
282
282
283
- private final static GetFsReplicatedBlockStatsRequestProto
283
+ protected final static GetFsReplicatedBlockStatsRequestProto
284
284
VOID_GET_FS_REPLICATED_BLOCK_STATS_REQUEST =
285
285
GetFsReplicatedBlockStatsRequestProto .newBuilder ().build ();
286
286
287
- private final static GetFsECBlockGroupStatsRequestProto
287
+ protected final static GetFsECBlockGroupStatsRequestProto
288
288
VOID_GET_FS_ECBLOCKGROUP_STATS_REQUEST =
289
289
GetFsECBlockGroupStatsRequestProto .newBuilder ().build ();
290
290
291
- private final static RollEditsRequestProto VOID_ROLLEDITS_REQUEST =
291
+ protected final static RollEditsRequestProto VOID_ROLLEDITS_REQUEST =
292
292
RollEditsRequestProto .getDefaultInstance ();
293
293
294
- private final static RefreshNodesRequestProto VOID_REFRESH_NODES_REQUEST =
294
+ protected final static RefreshNodesRequestProto VOID_REFRESH_NODES_REQUEST =
295
295
RefreshNodesRequestProto .newBuilder ().build ();
296
296
297
- private final static FinalizeUpgradeRequestProto
297
+ protected final static FinalizeUpgradeRequestProto
298
298
VOID_FINALIZE_UPGRADE_REQUEST =
299
299
FinalizeUpgradeRequestProto .newBuilder ().build ();
300
300
301
- private final static UpgradeStatusRequestProto
301
+ protected final static UpgradeStatusRequestProto
302
302
VOID_UPGRADE_STATUS_REQUEST =
303
303
UpgradeStatusRequestProto .newBuilder ().build ();
304
304
305
- private final static GetDataEncryptionKeyRequestProto
305
+ protected final static GetDataEncryptionKeyRequestProto
306
306
VOID_GET_DATA_ENCRYPTIONKEY_REQUEST =
307
307
GetDataEncryptionKeyRequestProto .newBuilder ().build ();
308
308
309
- private final static GetStoragePoliciesRequestProto
309
+ protected final static GetStoragePoliciesRequestProto
310
310
VOID_GET_STORAGE_POLICIES_REQUEST =
311
311
GetStoragePoliciesRequestProto .newBuilder ().build ();
312
312
313
- private final static GetErasureCodingPoliciesRequestProto
313
+ protected final static GetErasureCodingPoliciesRequestProto
314
314
VOID_GET_EC_POLICIES_REQUEST = GetErasureCodingPoliciesRequestProto
315
315
.newBuilder ().build ();
316
316
317
- private final static GetErasureCodingCodecsRequestProto
317
+ protected final static GetErasureCodingCodecsRequestProto
318
318
VOID_GET_EC_CODEC_REQUEST = GetErasureCodingCodecsRequestProto
319
319
.newBuilder ().build ();
320
320
@@ -1137,7 +1137,7 @@ public void removeCacheDirective(long id)
1137
1137
setId (id ).build ()));
1138
1138
}
1139
1139
1140
- private static class BatchedCacheEntries
1140
+ protected static class BatchedCacheEntries
1141
1141
implements BatchedEntries <CacheDirectiveEntry > {
1142
1142
private final ListCacheDirectivesResponseProto response ;
1143
1143
@@ -1200,7 +1200,7 @@ public void removeCachePool(String cachePoolName) throws IOException {
1200
1200
setPoolName (cachePoolName ).build ()));
1201
1201
}
1202
1202
1203
- private static class BatchedCachePoolEntries
1203
+ protected static class BatchedCachePoolEntries
1204
1204
implements BatchedEntries <CachePoolEntry > {
1205
1205
private final ListCachePoolsResponseProto proto ;
1206
1206
0 commit comments