[DOCS] Fold some <codeblock> lines Putting <codeblock> on a separate line causes an extra leading blank line in PDF output. (I think that's a bug in the PDF transform, but what can you do...)
I took one file that had a few instances of such examples, and folded the first line of the code example onto the same line as the <codeblock> tag. Using this minor change to demo upstream -> downstream cherry-picking techniques. Change-Id: I563a71ab9e59c691264c1f6a088e71f4722d3097 Reviewed-on: http://gerrit.cloudera.org:8080/7417 Reviewed-by: Michael Brown <[email protected]> Reviewed-by: Laurel Hale <[email protected]> Tested-by: Impala Public Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/b70acf92 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/b70acf92 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/b70acf92 Branch: refs/heads/master Commit: b70acf92bfe7acf69775818cc16369b7527dd5e2 Parents: 8605784 Author: John Russell <[email protected]> Authored: Thu Jul 13 13:12:04 2017 -0700 Committer: Impala Public Jenkins <[email protected]> Committed: Tue Aug 15 17:43:34 2017 +0000 ---------------------------------------------------------------------- docs/topics/impala_connecting.xml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b70acf92/docs/topics/impala_connecting.xml ---------------------------------------------------------------------- diff --git a/docs/topics/impala_connecting.xml b/docs/topics/impala_connecting.xml index 9ac9a6a..b6b4928 100644 --- a/docs/topics/impala_connecting.xml +++ b/docs/topics/impala_connecting.xml @@ -89,8 +89,7 @@ Lots of nuances to illustrate through sample code. Use the <codeph>-i</codeph> option to the <cmdname>impala-shell</cmdname> interpreter to specify the connection information for that instance of <cmdname>impalad</cmdname>: -<codeblock> -# When you are logged into the same machine running impalad. +<codeblock># When you are logged into the same machine running impalad. # The prompt will reflect the current hostname. $ impala-shell @@ -166,8 +165,7 @@ $ impala-shell -i <varname>some.other.hostname</varname>:<varname>port_number</v <cmdname>impala-shell</cmdname> interpreter to connect and immediately switch to the specified database, without the need for a <codeph>USE</codeph> statement or fully qualified names: -<codeblock> -# Subsequent queries with unqualified names operate on +<codeblock># Subsequent queries with unqualified names operate on # tables, views, and so on inside the database named 'staging'. $ impala-shell -i localhost -d staging @@ -202,8 +200,7 @@ $ impala-shell -i localhost -d parquet_gzip_compression the <codeph>-f</codeph> option to run a sequence of statements from a file. The <cmdname>impala-shell</cmdname> command returns immediately, without going into the interactive interpreter. -<codeblock> -# A utility command that you might run while developing shell scripts +<codeblock># A utility command that you might run while developing shell scripts # to manipulate HDFS files. $ impala-shell -i localhost -d database_of_interest -q 'show tables'
