hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vihang Karajgaonkar <vih...@cloudera.com>
Subject Review Request 52493: HIVE-13589 : beeline - support prompt for password with '-u' option
Date Mon, 03 Oct 2016 23:35:54 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52493/
-----------------------------------------------------------

Review request for hive, cheng xu and Sergio Pena.


Bugs: HIVE-13589
    https://issues.apache.org/jira/browse/HIVE-13589


Repository: hive-git


Description
-------

This change makes the -p option for beeline an option which has a optionalArgument. This means
that user can optionally provide a connection url which has -p followed by no password and
beeline will prompt for the password on the console when it attempts the connection. There
are no changes to previous ways of making the connection. This way of connecting gives user
the ability to connect without logging the password in the command history or showing up the
password on the screen while connecting.


Diffs
-----

  beeline/src/java/org/apache/hive/beeline/BeeLine.java 79922d267eaf13216e8a8e4826c050d334266579

  beeline/src/java/org/apache/hive/beeline/Commands.java 039e3549209682b5ebdde937607b77c3ec094527

  beeline/src/test/org/apache/hive/beeline/TestBeelineArgParsing.java a83f925df25be5801f885f4570fb8aaf5ab18c88

  beeline/src/test/resources/hive-site.xml 5f310d68245275ac9dc24df45579784019eea332 
  itests/hive-unit/src/test/java/org/apache/hive/beeline/TestBeelinePasswordOption.java PRE-CREATION


Diff: https://reviews.apache.org/r/52493/diff/


Testing
-------


Thanks,

Vihang Karajgaonkar


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message