This is an automated email from the ASF dual-hosted git repository.

cgivre pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new 297d685  Fix en-dash code points in command line examples
297d685 is described below

commit 297d6850f0b68b8c47380803d2f6d1a4d390f9f9
Author: Kelly Campbell <[email protected]>
AuthorDate: Tue Nov 26 23:08:39 2019 -0500

    Fix en-dash code points in command line examples
    
    Copy/pasting the `sqline -u` command lines result in errors like
    
    ```
    # bin/sqlline –u jdbc:drill:schema=dfs;zk=zk-0
    ���u (No such file or directory)
    jdbc:drill:schema=dfs (No such file or directory)
    ```
    
    This was due to the docs using en-dash (code point 8211) instead of a 
regular ascii dash.
---
 _docs/install/050-starting-drill-in-distributed-mode.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/_docs/install/050-starting-drill-in-distributed-mode.md 
b/_docs/install/050-starting-drill-in-distributed-mode.md
index f1c3aaf..a7383a3 100644
--- a/_docs/install/050-starting-drill-in-distributed-mode.md
+++ b/_docs/install/050-starting-drill-in-distributed-mode.md
@@ -45,7 +45,7 @@ Drill lists information about the Drillbits that are running, 
such as the host n
 ## Using an Ad-Hoc Connection to Drill
 To use a custom connection to Drill, but not alter the connection string in 
`drill-conf` that you normally use, start the Drill shell on an ad-hoc basis 
using `sqlline`. For example, to start the Drill shell using a particular 
storage plugin as a schema, use the following command syntax: 
 
-`sqlline –u jdbc:drill:[schema=<storage plugin>;]zk=<zk name>[:<port>][,<zk 
name2>[:<port>]... ]`
+`sqlline -u jdbc:drill:[schema=<storage plugin>;]zk=<zk name>[:<port>][,<zk 
name2>[:<port>]... ]`
 
 ### sqlline Arguments and Connection Parameters
 
@@ -57,13 +57,13 @@ To use a custom connection to Drill, but not alter the 
connection string in `dri
 
 For example, start the Drill shell with the default schema being the `dfs` 
storage plugin:
 
-`bin/sqlline –u jdbc:drill:schema=dfs;zk=centos26`
+`bin/sqlline -u jdbc:drill:schema=dfs;zk=centos26`
 
 Specifying the storage plugin configuration name when you start up eliminates 
the need to enter `USE <schema name>` or specify the it in the FROM clause.
 
 The following command starts the Drill shell in a cluster configured to run 
ZooKeeper on three nodes:
 
-`bin/sqlline –u jdbc:drill:zk=cento23,centos24,centos26:5181`
+`bin/sqlline -u jdbc:drill:zk=cento23,centos24,centos26:5181`
 
 ## Making a Direct Drillbit Connection
 

Reply via email to