HSAdminRefreshProtocol.proto 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /**
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. syntax = "proto2";
  19. option java_package = "org.apache.hadoop.mapreduce.v2.hs.proto";
  20. option java_outer_classname = "HSAdminRefreshProtocolProtos";
  21. option java_generic_services = true;
  22. option java_generate_equals_and_hash = true;
  23. package hadoop.mapreduce;
  24. /**
  25. * refresh admin acls request.
  26. */
  27. message RefreshAdminAclsRequestProto {
  28. }
  29. /**
  30. * Response for refresh admin acls.
  31. */
  32. message RefreshAdminAclsResponseProto {
  33. }
  34. /**
  35. * refresh loaded job cache request.
  36. */
  37. message RefreshLoadedJobCacheRequestProto {
  38. }
  39. /**
  40. * Response for refresh loaded job cache.
  41. */
  42. message RefreshLoadedJobCacheResponseProto {
  43. }
  44. /**
  45. * refresh job retention settings request.
  46. */
  47. message RefreshJobRetentionSettingsRequestProto {
  48. }
  49. /**
  50. * Response for refresh job retention.
  51. */
  52. message RefreshJobRetentionSettingsResponseProto {
  53. }
  54. /*
  55. * refresh log retention request.
  56. */
  57. message RefreshLogRetentionSettingsRequestProto {
  58. }
  59. /**
  60. * Response for refresh log retention.
  61. */
  62. message RefreshLogRetentionSettingsResponseProto {
  63. }
  64. /**
  65. * Refresh Protocols implemented by the History server
  66. */
  67. service HSAdminRefreshProtocolService {
  68. /**
  69. * Refresh admin acls
  70. */
  71. rpc refreshAdminAcls(RefreshAdminAclsRequestProto)
  72. returns(RefreshAdminAclsResponseProto);
  73. /**
  74. * Refresh loaded job cache
  75. */
  76. rpc refreshLoadedJobCache(RefreshLoadedJobCacheRequestProto)
  77. returns(RefreshLoadedJobCacheResponseProto);
  78. /**
  79. * Refresh job retention.
  80. */
  81. rpc refreshJobRetentionSettings(RefreshJobRetentionSettingsRequestProto)
  82. returns(RefreshJobRetentionSettingsResponseProto);
  83. /**
  84. * Refresh log retention
  85. */
  86. rpc refreshLogRetentionSettings(RefreshLogRetentionSettingsRequestProto)
  87. returns(RefreshLogRetentionSettingsResponseProto);
  88. }