~ubuntu-branches/ubuntu/precise/hbase/precise

« back to all changes in this revision

Viewing changes to src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/protobuf/StorageClusterStatusMessage.proto

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Koch
  • Date: 2010-05-06 14:20:42 UTC
  • Revision ID: james.westby@ubuntu.com-20100506142042-r3hlvgxdcpb8tynl
Tags: upstream-0.20.4+dfsg1
ImportĀ upstreamĀ versionĀ 0.20.4+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2010 The Apache Software Foundation
 
2
//
 
3
// Licensed to the Apache Software Foundation (ASF) under one
 
4
// or more contributor license agreements.  See the NOTICE file
 
5
// distributed with this work for additional information
 
6
// regarding copyright ownership.  The ASF licenses this file
 
7
// to you under the Apache License, Version 2.0 (the
 
8
// "License"); you may not use this file except in compliance
 
9
// with the License.  You may obtain a copy of the License at
 
10
//
 
11
//   http://www.apache.org/licenses/LICENSE-2.0
 
12
//
 
13
// Unless required by applicable law or agreed to in writing, software
 
14
// distributed under the License is distributed on an "AS IS" BASIS,
 
15
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
16
// See the License for the specific language governing permissions and
 
17
// limitations under the License.
 
18
 
 
19
package org.apache.hadoop.hbase.stargate.protobuf.generated;
 
20
 
 
21
message StorageClusterStatus {
 
22
  message Region {
 
23
    required bytes name = 1;
 
24
    optional int32 stores = 2;
 
25
    optional int32 storefiles = 3;
 
26
    optional int32 storefileSizeMB = 4;
 
27
    optional int32 memstoreSizeMB = 5;
 
28
    optional int32 storefileIndexSizeMB = 6;
 
29
  }
 
30
  message Node {
 
31
    required string name = 1;    // name:port
 
32
    optional int64 startCode = 2;
 
33
    optional int32 requests = 3;
 
34
    optional int32 heapSizeMB = 4;
 
35
    optional int32 maxHeapSizeMB = 5;
 
36
    repeated Region regions = 6;
 
37
  }
 
38
  // node status
 
39
  repeated Node liveNodes = 1;
 
40
  repeated string deadNodes = 2;
 
41
  // summary statistics
 
42
  optional int32 regions = 3; 
 
43
  optional int32 requests = 4; 
 
44
  optional double averageLoad = 5;
 
45
}