[
https://issues.apache.org/jira/browse/IMPALA-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Armstrong updated IMPALA-1192:
----------------------------------
Labels: newbie shell (was: shell)
> Allow setting the impala-shell prompt
> -------------------------------------
>
> Key: IMPALA-1192
> URL: https://issues.apache.org/jira/browse/IMPALA-1192
> Project: IMPALA
> Issue Type: Improvement
> Components: Clients
> Affects Versions: Impala 1.4.1
> Reporter: John Russell
> Priority: Minor
> Labels: newbie, shell
>
> It would be very convenient (from a documentation perspective) to have a way
> to set the prompt within an impala-shell session.
> The long impala-shell showing the host name and port number makes it
> difficult to format impala-shell output for use in documentation. Cloudera's
> PDF and HTML outputs both have problems displaying wide lines in code
> examples. Continuation lines are indented the same amount as the original >,
> so even when statements are split across lines there is not much room on each
> line.
> The shortest prompt is [localhost:21000] so that's what gets used
> consistently in the documentation, even if that's not best practice.
> If we wanted to show examples other than localhost, we don't have control
> over what's displayed, so we would have to edit the output to mask real
> Cloudera host names.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]