hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho" <>
Subject Review Request 15294: HIVE-5765 Beeline throws NPE when -e option is used
Date Thu, 07 Nov 2013 00:08:11 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for hive.

Repository: hive-git


When running Beeline with -e option to pass in sql commands, a null pointer exception is thrown,
even though the command completes successfully.

Beeline command execution has some pre-execution logic to get the rest multi-line command
using the consoleReader.  However, there is no console-reader available when beeline is initializing
and running the command passed in -e.  Therefore, we would want to skip the multi-line logic,
that is not applicable for commands passed in with -e flag.


  beeline/src/java/org/apache/hive/beeline/ 91ee3b3 



Manually tested, and ran TestBeelineWithArgs.


Szehon Ho

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