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



cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java
<https://reviews.apache.org/r/28936/#comment107513>

    magic number


Thank Navis for your good catch and patch. I tested it locally and worked well 
for the auto-complete of hive configurations. LGTM despite one minor issue.

- cheng xu


On Dec. 11, 2014, 7:36 a.m., Navis Ryu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28936/
> -----------------------------------------------------------
> 
> (Updated Dec. 11, 2014, 7:36 a.m.)
> 
> 
> Review request for hive.
> 
> 
> Bugs: HIVE-9077
>     https://issues.apache.org/jira/browse/HIVE-9077
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> NO PRECOMMIT TESTS
> 
> Seemed broken in HIVE-8609
> {noformat}
> hive (default)> set Exception in thread "main" java.lang.NullPointerException
>       at 
> jline.console.completer.ArgumentCompleter$AbstractArgumentDelimiter.delimit(ArgumentCompleter.java:283)
>       at 
> jline.console.completer.ArgumentCompleter.complete(ArgumentCompleter.java:116)
>       at 
> jline.console.completer.ArgumentCompleter.complete(ArgumentCompleter.java:152)
>       at org.apache.hadoop.hive.cli.CliDriver$6.complete(CliDriver.java:567)
>       at jline.console.ConsoleReader.complete(ConsoleReader.java:3261)
>       at jline.console.ConsoleReader.readLine(ConsoleReader.java:2621)
>       at jline.console.ConsoleReader.readLine(ConsoleReader.java:2269)
>       at 
> org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:714)
>       at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:639)
>       at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:578)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
> {noformat}
> 
> 
> Diffs
> -----
> 
>   cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java aec5018 
>   common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 2e2bf5a 
>   common/src/java/org/apache/hadoop/hive/conf/Validator.java bb0f836 
> 
> Diff: https://reviews.apache.org/r/28936/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Navis Ryu
> 
>

Reply via email to