hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HIVE-14001) beeline doesn't give out an error when takes either "-e" or "-f" in command instead of both
Date Wed, 22 Jun 2016 14:49:58 GMT

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

Sergio Peña commented on HIVE-14001:
------------------------------------

Hey [~pvary], I applied the patch, and when I run {{TestBeelineArgParsing}} test, it failed.

{noformat}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hive.beeline.TestBeelineArgParsing
Tests run: 28, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.936 sec <<< FAILURE!
- in org.apache.hive.beeline.TestBeelineArgParsing
testAddLocalJar[0](org.apache.hive.beeline.TestBeelineArgParsing)  Time elapsed: 0.114 sec
 <<< ERROR!
java.lang.NullPointerException: null
        at org.apache.hive.beeline.Commands.addlocaldrivername(Commands.java:149)
        at org.apache.hive.beeline.TestBeelineArgParsing$TestBeeline.addlocaldrivername(TestBeelineArgParsing.java:86)
        at org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJar(TestBeelineArgParsing.java:242)

testAddLocalJarWithoutAddDriverClazz[0](org.apache.hive.beeline.TestBeelineArgParsing)  Time
elapsed: 0.051 sec  <<< ERROR!
java.lang.NullPointerException: null
        at org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJarWithoutAddDriverClazz(TestBeelineArgParsing.java:256)

testAddLocalJar[1](org.apache.hive.beeline.TestBeelineArgParsing)  Time elapsed: 0.028 sec
 <<< ERROR!
java.lang.NullPointerException: null
        at org.apache.hive.beeline.Commands.addlocaldrivername(Commands.java:149)
        at org.apache.hive.beeline.TestBeelineArgParsing$TestBeeline.addlocaldrivername(TestBeelineArgParsing.java:86)
        at org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJar(TestBeelineArgParsing.java:242)


Results :

Tests in error: 
  TestBeelineArgParsing.testAddLocalJar:242 » NullPointer
  TestBeelineArgParsing.testAddLocalJarWithoutAddDriverClazz:256 NullPointer
  TestBeelineArgParsing.testAddLocalJar:242 » NullPointer

Tests run: 28, Failures: 0, Errors: 3, Skipped: 0
{noformat}

> beeline doesn't give out an error when takes either "-e" or "-f" in command instead of
both
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-14001
>                 URL: https://issues.apache.org/jira/browse/HIVE-14001
>             Project: Hive
>          Issue Type: Improvement
>          Components: Beeline
>    Affects Versions: 0.10.0, 2.0.1
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Trivial
>         Attachments: HIVE-14001.2.patch, HIVE-14001.patch
>
>
> When providing both arguments there should be an error message



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

Mime
View raw message