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
coordinator.sh
dsql
dsql-main-py2
dsql-main-py3
generate-example-metrics
greet
historical.sh
java-util
jconsole.sh
middleManager.sh
node.sh
overlord.sh
post-index-task
post-index-task-main
post-index-task-main3
router.sh
run-druid
run-java
run-zk
service
start-cluster-data-server
start-cluster-master-no-zk-server
start-cluster-master-with-zk-server
start-cluster-query-server
start-druid
start-druid-main.py
start-micro-quickstart
start-nano-quickstart
start-single-server-large
start-single-server-medium
start-single-server-small
start-single-server-xlarge
supervise
verify-default-ports
verify-java