<commit_before>#
# Copyright 2015-2016 The OpenZipkin Authors
#
# 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.
#

machine:
  services:
    - mysql
    - elasticsearch
  java:
    version: openjdk8
  post:
    # Manually install very recent version of cassandra; unless we create a user we have to run it as root
    # uncomment below when datastax has version 3.9 available. at time of commit, latest was 3.7
    #- curl -SL http://www-us.apache.org/dist/cassandra/3.9/apache-cassandra-3.9-bin.tar.gz | tar xz
    - curl -SL http://cassci.datastax.com/job/trunk/lastSuccessfulBuild/artifact/build/apache-cassandra-3.10-SNAPSHOT-bin.tar.gz | tar xz
    - sed -i -e 's/INFO/WARN/g' apache-cassandra-*/conf/logback.xml
    - sudo ./apache-cassandra-*/bin/cassandra -R
    - curl -SL http://www.us.apache.org/dist/kafka/0.8.2.2/kafka_2.11-0.8.2.2.tgz | tar xz
    - ./kafka_*/bin/zookeeper-server-start.sh ./kafka_*/config/zookeeper.properties:
        background: true
    - ./kafka_*/bin/kafka-server-start.sh ./kafka_*/config/server.properties:
        background: true
  environment:
    MYSQL_USER: ubuntu<commit_msg>ci: update elasticsearch<commit_after>#
# Copyright 2015-2016 The OpenZipkin Authors
#
# 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.
#

machine:
  services:
    - mysql
  java:
    version: openjdk8
  post:
    # Manually install very recent version of cassandra; unless we create a user we have to run it as root
    # uncomment below when datastax has version 3.9 available. at time of commit, latest was 3.7
    #- curl -SL http://www-us.apache.org/dist/cassandra/3.9/apache-cassandra-3.9-bin.tar.gz | tar xz
    - curl -SL http://cassci.datastax.com/job/trunk/lastSuccessfulBuild/artifact/build/apache-cassandra-3.10-SNAPSHOT-bin.tar.gz | tar xz
    - sed -i -e 's/INFO/WARN/g' apache-cassandra-*/conf/logback.xml
    - sudo ./apache-cassandra-*/bin/cassandra -R
    - curl -SL http://www.us.apache.org/dist/kafka/0.8.2.2/kafka_2.11-0.8.2.2.tgz | tar xz
    - ./kafka_*/bin/zookeeper-server-start.sh ./kafka_*/config/zookeeper.properties:
        background: true
    - ./kafka_*/bin/kafka-server-start.sh ./kafka_*/config/server.properties:
        background: true
    - wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.2.1/elasticsearch-2.2.1.tar.gz
    - tar -xvf elasticsearch-2.2.1.tar.gz
    - elasticsearch-2.2.1/bin/elasticsearch: {background: true}
    - sleep 10 && curl --retry 10 --retry-delay 5 -v http://127.0.0.1:9200/
  environment:
    MYSQL_USER: ubuntu
{'fraction_non_alphanumeric': 0.11648289510884931, 'fraction_numerical': 0.027424370935821316, 'mean_word_length': 3.18698224852071, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 6, 'xml': 2}, 'pii_count': 5, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5575495', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1157, 'n_words': 337}