Skip to content

Commit

Permalink
Merge pull request #6 from apache/master
Browse files Browse the repository at this point in the history
beam merge 19/02/2020 2:29 AM
  • Loading branch information
amoght committed Feb 18, 2020
2 parents e17b65c + b483ddb commit 165f492
Show file tree
Hide file tree
Showing 1,708 changed files with 54,790 additions and 32,570 deletions.
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Thank you for your contribution! Follow this checklist to help us incorporate yo

- [ ] [**Choose reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and mention them in a comment (`R: @username`).
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
- [ ] Update `CHANGES.md` with noteworthy changes.
- [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).

See the [Contributor Guide](https://beam.apache.org/contribute) for more tips on [how to make review process smoother](https://beam.apache.org/contribute/#make-reviewers-job-easier).
Expand Down
90 changes: 90 additions & 0 deletions .github/autolabeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
#
# 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
#
# https://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.
#

# Please keep the entries sorted lexicographically in each category.

# General
build: ["assembly.xml", "build.gradle", "buildSrc/*", ".gitattributes", ".github/*", ".gitignore", "gradle/*", ".mailmap", "ownership/*", "release/*", "sdks/java/build-tools/*", "settings.gradle"]
docker: ["runners/flink/job-server-container/*", "runners/spark/job-server/container/*", "sdks/go/container/*", "sdks/java/container/*", "sdks/python/container/*"]
examples: ["examples/*", "sdks/go/examples/*", "sdks/python/apache_beam/examples/*"]
go: ["sdks/go/*"]
infra: [".test-infra/*"]
java: ["examples/java/*", "sdks/java/*"]
kotlin: ["examples/kotlin/*"]
learning: ["learning/*"]
model: ["model/*"]
python: ["sdks/python/*"]
vendor: ["vendor/*"]
website: ["website/*"]

# Extensions
extensions: ["sdks/java/extensions/*"]
"euphoria": ["sdks/java/extensions/euphoria/*"]
"google-cloud-platform-core": ["sdks/java/extensions/google-cloud-platform-core/*"]
"jackson": ["sdks/java/extensions/jackson/*"]
"join-library": ["sdks/java/extensions/join-library*"]
"kryo": ["sdks/java/extensions/kryo/*"]
"protobuf": ["sdks/java/extensions/protobuf/*"]
"sketching": ["sdks/java/extensions/sketching/*"]
"sorter": ["sdks/java/extensions/sorter/*"]
"sql": ["sdks/java/extensions/sql/*"]
"zetasketch": ["sdks/java/extensions/zetasketch/*"]

# IO
io: ["sdks/go/pkg/beam/io/*", "sdks/java/io/*", "sdks/python/apache_beam/io/*"]
"amqp": ["sdks/java/io/amqp/*"]
"aws": ["sdks/java/io/amazon-web-services/*", "sdks/java/io/amazon-web-services2/*", "sdks/python/apache_beam/io/aws/*"]
"cassandra": ["sdks/java/io/cassandra/*"]
"clickhouse": ["sdks/java/io/clickhouse/*"]
"elasticsearch": ["sdks/java/io/elasticsearch/*", "sdks/java/io/elasticsearch-tests/*"]
"gcp": ["sdks/go/pkg/beam/io/bigqueryio/*", "sdks/go/pkg/beam/io/datastoreio/*", "sdks/go/pkg/beam/io/pubsubio/*", "sdks/java/io/bigquery-io-perf-tests/*", "sdks/java/io/google-cloud-platform/*", "sdks/python/apache_beam/io/gcp/*"]
"hadoop": ["sdks/java/io/hadoop-common/*", "sdks/java/io/hadoop-file-system/*", "sdks/java/io/hadoop-format/*"]
"hbase": ["sdks/java/io/hbase/*"]
"hcatalog": ["sdks/java/io/hcatalog/*"]
"jdbc": ["sdks/java/io/jdbc/*"]
"jms": ["sdks/java/io/jms/*"]
"kafka": ["sdks/java/io/kafka/*"]
"kinesis": ["sdks/java/io/kinesis/*"]
"kudu": ["sdks/java/io/kudu/*"]
"mongodb": ["sdks/java/io/mongodb/*"]
"mqtt": ["sdks/java/io/mqtt/*"]
"parquet": ["sdks/java/io/parquet/*"]
"rabbitmq": ["sdks/java/io/rabbitmq/*"]
"redis": ["sdks/java/io/redis/*"]
"solr": ["sdks/java/io/solr/*"]
"synthetic": ["sdks/java/io/synthetic/*"]
"tests": ["sdks/java/io/file-based-io-tests/*"]
"thrift": ["sdks/java/io/thrift/*"]
"tika": ["sdks/java/io/tika/*"]
"xml": ["sdks/java/io/xml/*"]

# Runners
"runners": ["runners/*", "sdks/go/pkg/beam/runners/*", "sdks/python/runners/*"]
"apex": ["runners/apex/*"]
"core": ["runners/core-construction-java/*", "runners/core-java/*"]
"dataflow": ["runners/google-cloud-dataflow-java/*", "sdks/go/pkg/beam/runners/dataflow/*", "sdks/python/runners/dataflow/*"]
"direct": ["runners/direct-java/*", "sdks/go/pkg/beam/runners/direct/*", "sdks/python/runners/direct/*"]
"extensions-java": ["runners/extensions-java/*"]
"flink": ["runners/flink/*", "sdks/go/pkg/beam/runners/flink/*", "sdks/python/runners/portability/flink*"]
"fn-execution": ["runners/java-fn-execution/*"]
"gearpump": ["runners/gearpump/*"]
"interactive": ["sdks/python/runners/interactive/*"]
"jet": ["runners/jet/*"]
"local": ["runners/local-java/*"]
"portability": ["runners/portability/*"]
"samza": ["runners/samza/*"]
"spark": ["runners/spark/*", "sdks/go/pkg/beam/runners/spark/*", "sdks/python/runners/portability/spark*"]
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
# Ignore files generated by the Gradle build process.
**/.gradle/**/*
**/.gogradle/**/*
**/.nb-gradle/**/*
**/gogradle.lock
**/build/**/*
.test-infra/**/vendor/**/*
Expand Down
2 changes: 1 addition & 1 deletion .test-infra/dataproc/flink_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function start_tunnel() {
local job_server_config=`gcloud compute ssh --quiet --zone=$GCLOUD_ZONE yarn@$MASTER_NAME --command="curl -s \"http://$YARN_APPLICATION_MASTER/jobmanager/config\""`
local key="jobmanager.rpc.port"
local yarn_application_master_host=`echo $YARN_APPLICATION_MASTER | cut -d ":" -f1`
local jobmanager_rpc_port=`echo $job_server_config | python -c "import sys, json; print [ e['value'] for e in json.load(sys.stdin) if e['key'] == u'$key'][0]"`
local jobmanager_rpc_port=`echo $job_server_config | python -c "import sys, json; print([e['value'] for e in json.load(sys.stdin) if e['key'] == u'$key'][0])"`

local detached_mode_params=$([[ $DETACHED_MODE == "true" ]] && echo " -Nf >& /dev/null" || echo "")

Expand Down
2 changes: 1 addition & 1 deletion .test-infra/jenkins/CommonJobProperties.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ class CommonJobProperties {
shell("${perfkit_env}/bin/pip install --upgrade setuptools pip")

// Clone appropriate perfkit branch
shell("git clone https://github.com/GoogleCloudPlatform/PerfKitBenchmarker.git ${perfkit_root}")
shell("git clone --single-branch --branch=v1.14.0 https://github.com/GoogleCloudPlatform/PerfKitBenchmarker.git ${perfkit_root}")

// Install Perfkit benchmark requirements.
shell("${perfkit_env}/bin/pip install -r ${perfkit_root}/requirements.txt")
Expand Down
4 changes: 3 additions & 1 deletion .test-infra/jenkins/CommonTestProperties.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ class CommonTestProperties {
enum Runner {
DATAFLOW("DataflowRunner"),
SPARK("SparkRunner"),
FLINK("TestFlinkRunner"),
SPARK_STRUCTURED_STREAMING("SparkStructuredStreamingRunner"),
FLINK("FlinkRunner"),
DIRECT("DirectRunner"),
PORTABLE("PortableRunner")

def RUNNER_DEPENDENCY_MAP = [
JAVA: [
DATAFLOW: ":runners:google-cloud-dataflow-java",
SPARK: ":runners:spark",
SPARK_STRUCTURED_STREAMING: ":runners:spark",
FLINK: ":runners:flink:1.9",
DIRECT: ":runners:direct-java"
],
Expand Down
Loading

0 comments on commit 165f492

Please sign in to comment.