You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by el...@apache.org on 2018/09/11 01:56:24 UTC
[7/8] phoenix git commit: PHOENIX-4666 Persistent subquery cache for
hash joins
http://git-wip-us.apache.org/repos/asf/phoenix/blob/4e0405b7/phoenix-protocol/src/main/build-proto.sh
----------------------------------------------------------------------
diff --git a/phoenix-protocol/src/main/build-proto.sh b/phoenix-protocol/src/main/build-proto.sh
index b80bf1d..555651b 100755
--- a/phoenix-protocol/src/main/build-proto.sh
+++ b/phoenix-protocol/src/main/build-proto.sh
@@ -27,6 +27,12 @@ if [ $? != 0 ] ; then
exit 1
fi
+if [[ `protoc --version` != *"2.5.0"* ]]; then
+ echo "Must use protoc version 2.5.0"
+ exit 1
+fi
+
+
PROTO_ROOT_DIR=`dirname $0`
PROTO_DIR=$PROTO_ROOT_DIR
JAVA_DIR=$PROTO_ROOT_DIR/../../../phoenix-core/src/main/java