druid/examples/bin
Virushade f290cf083a
Update examples/bin/dsql scripts to accept Python 3 (#16677)
* Update examples/bin/dsql scripts to accept Python 3

Remove redundant urllib import

Translating to Python3: Changing xrange to range

Translating to Python3: Changing long to int

Translating to Python3: Change urllib2 methods, and fix encoding/decoding issues

Remove unnecessary import

Add option for Python2

Rename files

* Update examples/bin/dsql

Co-authored-by: Benedict Jin <asdf2014@apache.org>

* Resolve PR comments

Add comment in files indicating updates need to be made in both places

Update examples/bin/dsql

Co-authored-by: Benedict Jin <asdf2014@apache.org>

* Update error output when using Python 2.

Co-authored-by: Abhishek Radhakrishnan <abhishek.rb19@gmail.com>

---------

Co-authored-by: Benedict Jin <asdf2014@apache.org>
Co-authored-by: Abhishek Radhakrishnan <abhishek.rb19@gmail.com>
2024-07-03 15:52:57 +08:00
..
broker.sh Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00
coordinator.sh Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00
dsql Update examples/bin/dsql scripts to accept Python 3 (#16677) 2024-07-03 15:52:57 +08:00
dsql-main-py2 Update examples/bin/dsql scripts to accept Python 3 (#16677) 2024-07-03 15:52:57 +08:00
dsql-main-py3 Update examples/bin/dsql scripts to accept Python 3 (#16677) 2024-07-03 15:52:57 +08:00
generate-example-metrics allow string dimension indexer to handle byte[] as base64 strings (#13573) 2022-12-16 14:50:17 +05:30
greet Add CTA and fix typo (#13009) 2022-09-06 11:16:50 -07:00
historical.sh Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00
java-util Make java version check work on all shells (#9376) 2020-02-19 13:44:00 -08:00
jconsole.sh Replace source call to make scripts more portable (#12014) 2021-12-06 13:41:25 +05:30
middleManager.sh Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00
node.sh Claim full support for Java 17. (#14384) 2023-07-07 12:52:35 -07:00
overlord.sh Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00
post-index-task Python 3 support for post-index-task. (#12841) 2022-08-02 17:53:34 -07:00
post-index-task-main Python 3 support for post-index-task. (#12841) 2022-08-02 17:53:34 -07:00
post-index-task-main3 Python 3 support for post-index-task. (#12841) 2022-08-02 17:53:34 -07:00
router.sh router.sh is missing in Druid Distribution (#15547) 2023-12-15 10:42:04 -08:00
run-druid Druid automated quickstart (#13365) 2022-12-09 11:04:02 -08:00
run-java run some integration tests with Java 21 (#15104) 2023-10-20 11:18:13 +08:00
run-zk changes to run examples when CDPATH environment variable is set where cd command returns current dir… (#12877) 2022-08-14 13:15:24 +08:00
service New quickstart and tutorials (#6126) 2018-08-09 14:37:52 -06:00
start-cluster-data-server Add single-machine deployment example cfgs and scripts (#7590) 2019-05-06 19:11:13 -07:00
start-cluster-master-no-zk-server Add single-machine deployment example cfgs and scripts (#7590) 2019-05-06 19:11:13 -07:00
start-cluster-master-with-zk-server Add single-machine deployment example cfgs and scripts (#7590) 2019-05-06 19:11:13 -07:00
start-cluster-query-server Add single-machine deployment example cfgs and scripts (#7590) 2019-05-06 19:11:13 -07:00
start-druid Druid automated quickstart (#13365) 2022-12-09 11:04:02 -08:00
start-druid-main.py fix physical memory detection on OSX (#15405) 2023-11-20 23:19:11 -08:00
start-micro-quickstart Add single-machine deployment example cfgs and scripts (#7590) 2019-05-06 19:11:13 -07:00
start-nano-quickstart Add nano-quickstart single server example configuration (#8390) 2019-08-24 22:07:20 -07:00
start-single-server-large Add single-machine deployment example cfgs and scripts (#7590) 2019-05-06 19:11:13 -07:00
start-single-server-medium Add single-machine deployment example cfgs and scripts (#7590) 2019-05-06 19:11:13 -07:00
start-single-server-small Add single-machine deployment example cfgs and scripts (#7590) 2019-05-06 19:11:13 -07:00
start-single-server-xlarge Add single-machine deployment example cfgs and scripts (#7590) 2019-05-06 19:11:13 -07:00
supervise Druid automated quickstart (#13365) 2022-12-09 11:04:02 -08:00
verify-default-ports Improve verify-default-ports to check both INADDR_ANY and 127.0.0.1. (#8942) 2019-11-26 16:05:15 -08:00
verify-java Claim full support for Java 17. (#14384) 2023-07-07 12:52:35 -07:00