| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- A comprehensive account of the entire gora-accumulo mapping |
| options can be found on the Gora website at: |
| http://gora.apache.org/current/gora-accumulo.html |
| Users are strongly advised to consult this documentation |
| prior to working with the default mapping configuration |
| provided below. |
| --> |
| |
| <gora-otd> |
| |
| <table name="chukwachunk"> |
| <family name="log" maxVersions="1"/> |
| </table> |
| <class table="chukwachunk" keyClass="java.lang.String" name="org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk"> |
| <!-- log fields --> |
| <field name="source" family="log" qualifier="src"/> |
| <field name="tags" family="log" qualifier="tag"/> |
| <field name="datatype" family="log" qualifier="dt"/> |
| <field name="sequenceID" family="log" qualifier="sid"/> |
| <field name="name" family="log" qualifier="n"/> |
| <field name="data" family="log" qualifier="dat"/> |
| </class> |
| |
| </gora-otd> |