[ 
https://issues.apache.org/jira/browse/HIVE-12282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14979675#comment-14979675
 ] 

Lefty Leverenz commented on HIVE-12282:
---------------------------------------

+1 for the typo fix

> beeline - update command printing in verbose mode
> -------------------------------------------------
>
>                 Key: HIVE-12282
>                 URL: https://issues.apache.org/jira/browse/HIVE-12282
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 2.0.0
>
>         Attachments: HIVE-12282.1.patch, HIVE-12282.2.patch
>
>
> In verbose mode, beeline prints the password used in commandline to STDERR. 
> This is not a good security practice. 
> Issue is in BeeLine.java code -
> {code}
>     if (url != null) {
>       String com = "!connect "
>           + url + " "
>           + (user == null || user.length() == 0 ? "''" : user) + " "
>           + (pass == null || pass.length() == 0 ? "''" : pass) + " "
>           + (driver == null ? "" : driver);
>       debug("issuing: " + com);
>       dispatch(com);
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to