Fix Python example

Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/afc5f1a8
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/afc5f1a8
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/afc5f1a8

Branch: refs/heads/master
Commit: afc5f1a8222095911a8394b944ef6d8f9d9f7eb3
Parents: 0dd2032
Author: Martin Grund <[email protected]>
Authored: Sun Sep 27 14:30:56 2015 -0700
Committer: Martin Grund <[email protected]>
Committed: Sun Sep 27 14:30:56 2015 -0700

----------------------------------------------------------------------
 clients/install_python_client.sh | 3 ++-
 python/dstat-kudu/README.md      | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/afc5f1a8/clients/install_python_client.sh
----------------------------------------------------------------------
diff --git a/clients/install_python_client.sh b/clients/install_python_client.sh
index 363ce57..f9a57e5 100755
--- a/clients/install_python_client.sh
+++ b/clients/install_python_client.sh
@@ -13,7 +13,8 @@ sudo chmod -R g+rw python
 sudo chmod -R o+r python
 
 # Install python client
-sudo easy_install cython
+sudo easy_install pip
 cd python
+sudo  pip install --disable-pip-version-check -r requirements.txt
 sudo python setup.py install
 ENDSSH

http://git-wip-us.apache.org/repos/asf/kudu/blob/afc5f1a8/python/dstat-kudu/README.md
----------------------------------------------------------------------
diff --git a/python/dstat-kudu/README.md b/python/dstat-kudu/README.md
index a78cf3a..a4f443c 100644
--- a/python/dstat-kudu/README.md
+++ b/python/dstat-kudu/README.md
@@ -35,7 +35,7 @@ To drop the table in Kudu and start fresh start the program 
with:
 To query the data via Impala, create a new Kudu table in Impala using the
 following command in the impala-shell.
 
-    CREATE TABLE dstat (
+    CREATE EXTERNAL TABLE dstat (
     `ts` BIGINT,
     `usr` FLOAT,
     `sys` FLOAT,

Reply via email to