[2/2] phoenix git commit: PHOENIX-971 Query server
PHOENIX-971 Query server Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/e4f5cc62 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/e4f5cc62 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/e4f5cc62 Branch: refs/heads/master Commit: e4f5cc6274db747209b68ada15a3030754e90d9c Parents: e25d7d0 Author: Nick Dimiduk ndimi...@apache.org Authored: Thu Apr 16 16:11:36 2015 -0700 Committer: Nick Dimiduk ndimi...@apache.org Committed: Thu Apr 16 16:11:36 2015 -0700 -- NOTICE | 10 + bin/daemon.py | 989 +++ bin/log4j.properties| 9 +- bin/phoenix_utils.py| 4 + bin/queryserver.py | 147 +++ bin/sqlline-thin.py | 89 ++ dev/make_rc.sh | 5 + phoenix-assembly/pom.xml| 8 + .../src/build/components-minimal.xml| 2 + .../apache/phoenix/jdbc/PhoenixConnection.java | 5 +- .../phoenix/jdbc/PhoenixEmbeddedDriver.java | 5 + .../org/apache/phoenix/util/PhoenixRuntime.java | 5 + phoenix-server-client/pom.xml | 62 ++ .../src/build/query-server-thin-client.xml | 40 + .../phoenix/queryserver/client/Driver.java | 49 + .../queryserver/client/ThinClientUtil.java | 35 + .../resources/META-INF/services/java.sql.Driver | 1 + .../org-apache-phoenix-remote-jdbc.properties | 25 + phoenix-server/pom.xml | 107 ++ .../src/build/query-server-runnable.xml | 39 + .../phoenix/end2end/QueryServerBasicsIT.java| 150 +++ .../phoenix/end2end/QueryServerThread.java | 51 + .../apache/phoenix/queryserver/server/Main.java | 158 +++ .../queryserver/server/PhoenixMetaFactory.java | 28 + .../server/PhoenixMetaFactoryImpl.java | 76 ++ .../apache/phoenix/DriverCohabitationTest.java | 65 ++ pom.xml | 47 +- 27 files changed, 2205 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/e4f5cc62/NOTICE -- diff --git a/NOTICE b/NOTICE index 0bd2251..5418b0c 100644 --- a/NOTICE +++ b/NOTICE @@ -28,3 +28,13 @@ The phoenix-spark module has been adapted from the phoenix-spark library distributed under the terms of the Apache 2 license. Original source copyright: Copyright 2014 Simply Measured, Inc. Copyright 2015 Interset Software Inc. + +The file bin/daemon.py is based on the file of the same name in python-daemon 2.0.5 +(https://pypi.python.org/pypi/python-daemon/) distributed under the terms of +the Apache 2 license. Original source copyright: +# Copyright © 2008â2015 Ben Finney ben+pyt...@benfinney.id.au +# Copyright © 2007â2008 Robert Niederreiter, Jens Klein +# Copyright © 2004â2005 Chad J. Schroeder +# Copyright © 2003 Clark Evans +# Copyright © 2002 Noah Spurrier +# Copyright © 2001 Jürgen Hermann http://git-wip-us.apache.org/repos/asf/phoenix/blob/e4f5cc62/bin/daemon.py -- diff --git a/bin/daemon.py b/bin/daemon.py new file mode 100644 index 000..aeebae3 --- /dev/null +++ b/bin/daemon.py @@ -0,0 +1,989 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# +# 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 +# +# 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. +# + + +# daemon/daemon.py +# Part of âpython-daemonâ, an implementation of PEP 3143. +# +# Copyright © 2008â2015 Ben Finney ben+pyt...@benfinney.id.au +# Copyright © 2007â2008 Robert Niederreiter, Jens Klein +# Copyright © 2004â2005 Chad J. Schroeder +# Copyright © 2003 Clark Evans +# Copyright © 2002 Noah Spurrier +# Copyright © 2001 Jürgen Hermann +# +# This is free software: you may copy, modify,
[2/2] phoenix git commit: PHOENIX-971 Query server
PHOENIX-971 Query server Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/cdca9377 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/cdca9377 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/cdca9377 Branch: refs/heads/4.x-HBase-0.98 Commit: cdca9377e23719fd07862f7109e9a870d80aa16f Parents: 656ce76 Author: Nick Dimiduk ndimi...@apache.org Authored: Thu Apr 16 16:29:32 2015 -0700 Committer: Nick Dimiduk ndimi...@apache.org Committed: Thu Apr 16 16:29:32 2015 -0700 -- NOTICE | 9 + bin/daemon.py | 989 +++ bin/log4j.properties| 9 +- bin/phoenix_utils.py| 4 + bin/queryserver.py | 147 +++ bin/sqlline-thin.py | 89 ++ phoenix-assembly/pom.xml| 8 + .../src/build/components-minimal.xml| 2 + .../apache/phoenix/jdbc/PhoenixConnection.java | 5 +- .../phoenix/jdbc/PhoenixEmbeddedDriver.java | 5 + .../org/apache/phoenix/util/PhoenixRuntime.java | 5 + phoenix-server-client/pom.xml | 62 ++ .../src/build/query-server-thin-client.xml | 40 + .../phoenix/queryserver/client/Driver.java | 49 + .../queryserver/client/ThinClientUtil.java | 35 + .../resources/META-INF/services/java.sql.Driver | 1 + .../org-apache-phoenix-remote-jdbc.properties | 25 + phoenix-server/pom.xml | 107 ++ .../src/build/query-server-runnable.xml | 39 + .../phoenix/end2end/QueryServerBasicsIT.java| 150 +++ .../phoenix/end2end/QueryServerThread.java | 51 + .../apache/phoenix/queryserver/server/Main.java | 158 +++ .../queryserver/server/PhoenixMetaFactory.java | 28 + .../server/PhoenixMetaFactoryImpl.java | 76 ++ .../apache/phoenix/DriverCohabitationTest.java | 65 ++ pom.xml | 46 +- 26 files changed, 2199 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/cdca9377/NOTICE -- diff --git a/NOTICE b/NOTICE index a8635b0..5418b0c 100644 --- a/NOTICE +++ b/NOTICE @@ -29,3 +29,12 @@ distributed under the terms of the Apache 2 license. Original source copyright: Copyright 2014 Simply Measured, Inc. Copyright 2015 Interset Software Inc. +The file bin/daemon.py is based on the file of the same name in python-daemon 2.0.5 +(https://pypi.python.org/pypi/python-daemon/) distributed under the terms of +the Apache 2 license. Original source copyright: +# Copyright © 2008â2015 Ben Finney ben+pyt...@benfinney.id.au +# Copyright © 2007â2008 Robert Niederreiter, Jens Klein +# Copyright © 2004â2005 Chad J. Schroeder +# Copyright © 2003 Clark Evans +# Copyright © 2002 Noah Spurrier +# Copyright © 2001 Jürgen Hermann http://git-wip-us.apache.org/repos/asf/phoenix/blob/cdca9377/bin/daemon.py -- diff --git a/bin/daemon.py b/bin/daemon.py new file mode 100644 index 000..aeebae3 --- /dev/null +++ b/bin/daemon.py @@ -0,0 +1,989 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# +# 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 +# +# 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. +# + + +# daemon/daemon.py +# Part of âpython-daemonâ, an implementation of PEP 3143. +# +# Copyright © 2008â2015 Ben Finney ben+pyt...@benfinney.id.au +# Copyright © 2007â2008 Robert Niederreiter, Jens Klein +# Copyright © 2004â2005 Chad J. Schroeder +# Copyright © 2003 Clark Evans +# Copyright © 2002 Noah Spurrier +# Copyright © 2001 Jürgen Hermann +# +# This is free software: you may copy, modify, and/or distribute this work +# under the terms of the Apache License, version 2.0 as published by the +# Apache Software