[ https://issues.apache.org/jira/browse/HIVE-13589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15407437#comment-15407437 ]
Ke Jia commented on HIVE-13589: ------------------------------- Hi [~thejas], current patch works with the case specifying '- p' without an argument to make beeline prompt for password. However it only support the case with "- p" following by the specified option which are added in the Beeline.java [L290-L391]. If not, Apache common CLI will consider the option as the value of "- p". We can limit user to put the "- p" by the end of command line. Do you have better suggestions? > beeline - support prompt for password with '-u' option > ------------------------------------------------------ > > Key: HIVE-13589 > URL: https://issues.apache.org/jira/browse/HIVE-13589 > Project: Hive > Issue Type: Bug > Components: Beeline > Reporter: Thejas M Nair > Assignee: Ke Jia > Attachments: HIVE-13589.1.patch > > > Specifying connection string using commandline options in beeline is > convenient, as it gets saved in shell command history, and it is easy to > retrieve it from there. > However, specifying the password in command prompt is not secure as it gets > displayed on screen and saved in the history. > It should be possible to specify '-p' without an argument to make beeline > prompt for password. -- This message was sent by Atlassian JIRA (v6.3.4#6332)