-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:kgpai/velox-1 into agg_fuzzer_query…
…_runner
- Loading branch information
Showing
137 changed files
with
1,926 additions
and
1,064 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Subproject commit 02849dd4bb4553dfd3a8b455dfc52379d6346429 | ||
Subproject commit 72fbaa06b93b6f8aec66ba49d3479acb46ccdf16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
diff --git a/bridge/fdb.c b/bridge/fdb.c | ||
--- a/bridge/fdb.c | ||
+++ b/bridge/fdb.c | ||
@@ -31,7 +31,7 @@ | ||
|
||
static unsigned int filter_index, filter_vlan, filter_state; | ||
|
||
-json_writer_t *jw_global; | ||
+static json_writer_t *jw_global; | ||
|
||
static void usage(void) | ||
{ | ||
diff --git a/ip/ipmroute.c b/ip/ipmroute.c | ||
--- a/ip/ipmroute.c | ||
+++ b/ip/ipmroute.c | ||
@@ -44,7 +44,7 @@ | ||
exit(-1); | ||
} | ||
|
||
-struct rtfilter { | ||
+static struct rtfilter { | ||
int tb; | ||
int af; | ||
int iif; | ||
diff --git a/ip/xfrm_monitor.c b/ip/xfrm_monitor.c | ||
--- a/ip/xfrm_monitor.c | ||
+++ b/ip/xfrm_monitor.c | ||
@@ -34,7 +34,7 @@ | ||
#include "ip_common.h" | ||
|
||
static void usage(void) __attribute__((noreturn)); | ||
-int listen_all_nsid; | ||
+static int listen_all_nsid; | ||
|
||
static void usage(void) | ||
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
coordinator=true | ||
node-scheduler.include-coordinator=true | ||
http-server.http.port=8080 | ||
discovery-server.enabled=true | ||
discovery.uri=http://localhost:8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-server | ||
-Xmx1G | ||
-XX:+UseG1GC | ||
-XX:G1HeapRegionSize=32M | ||
-XX:+UseGCOverheadLimit | ||
-XX:+ExplicitGCInvokesConcurrent | ||
-XX:+HeapDumpOnOutOfMemoryError | ||
-XX:+ExitOnOutOfMemoryError | ||
-Djdk.attach.allowAttachSelf=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node.environment=test | ||
node.data-dir=/var/lib/presto/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright (c) Facebook, Inc. and its affiliates. | ||
# | ||
# 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. | ||
# Build the test and build container for presto_cpp | ||
# | ||
FROM quay.io/centos/centos:stream8 | ||
|
||
ARG PRESTO_VERSION | ||
|
||
ADD scripts /velox/scripts/ | ||
RUN /velox/scripts/setup-centos8.sh | ||
RUN wget https://repo1.maven.org/maven2/com/facebook/presto/presto-server/${PRESTO_VERSION}/presto-server-${PRESTO_VERSION}.tar.gz | ||
RUN wget https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/${PRESTO_VERSION}/presto-cli-${PRESTO_VERSION}-executable.jar | ||
|
||
ARG PRESTO_PKG=presto-server-$PRESTO_VERSION.tar.gz | ||
ARG PRESTO_CLI_JAR=presto-cli-$PRESTO_VERSION-executable.jar | ||
|
||
ENV PRESTO_HOME="/opt/presto-server" | ||
RUN cp $PRESTO_CLI_JAR /opt/presto-cli | ||
|
||
RUN dnf install -y java-11-openjdk less procps python3 \ | ||
&& ln -s $(which python3) /usr/bin/python \ | ||
&& tar -zxf $PRESTO_PKG \ | ||
&& mv ./presto-server-$PRESTO_VERSION $PRESTO_HOME \ | ||
&& chmod +x /opt/presto-cli \ | ||
&& ln -s /opt/presto-cli /usr/local/bin/ \ | ||
&& mkdir -p $PRESTO_HOME/etc \ | ||
&& mkdir -p $PRESTO_HOME/etc/catalog \ | ||
&& mkdir -p /var/lib/presto/data \ | ||
&& mkdir -p /usr/lib/presto/utils | ||
|
||
COPY scripts/etc/config.properties.example $PRESTO_HOME/etc/config.properties | ||
COPY scripts/etc/jvm.config.example $PRESTO_HOME/etc/jvm.config | ||
COPY scripts/etc/node.properties $PRESTO_HOME/etc/node.properties | ||
COPY scripts/start-prestojava.sh /opt | ||
|
||
WORKDIR /velox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
# Copyright (c) Facebook, Inc. and its affiliates. | ||
# | ||
# 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. | ||
|
||
set -e | ||
echo "node.id=$HOSTNAME" >> $PRESTO_HOME/etc/node.properties | ||
|
||
$PRESTO_HOME/bin/launcher run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.