| #Licensed 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. |
| |
| server: |
| applicationConnectors: |
| - type: http |
| port: 9999 |
| requestLog: |
| type: external |
| |
| logging: |
| type: external |
| |
| metricDefinitionService: |
| inputDefinitionDirectory: /etc/ambari-metrics-anomaly-detection/conf/definitionDirectory |
| |
| metricsCollector: |
| hosts: host1,host2 |
| port: 6188 |
| protocol: http |
| metadataEndpoint: /ws/v1/timeline/metrics/metadata/key |
| |
| adQueryService: |
| anomalyDataTtl: 604800 |
| |
| metricDefinitionDB: |
| # force checksum verification of all data that is read from the file system on behalf of a particular read |
| verifyChecksums: true |
| # raise an error as soon as it detects an internal corruption |
| performParanoidChecks: false |
| # Path to Level DB directory |
| dbDirPath: /tmp/ambari-metrics-anomaly-detection/db |
| |
| spark: |
| mode: standalone |
| masterHostPort: localhost:7077 |