hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shinichi Yamashita (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-11135) Fix the Beeline set and save command in order to avoid the NullPointerException
Date Sat, 27 Jun 2015 16:23:04 GMT

     [ https://issues.apache.org/jira/browse/HIVE-11135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shinichi Yamashita updated HIVE-11135:
--------------------------------------
    Attachment: HIVE-11135.1.patch

> Fix the Beeline set and save command in order to avoid the NullPointerException
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-11135
>                 URL: https://issues.apache.org/jira/browse/HIVE-11135
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 2.0.0
>            Reporter: Shinichi Yamashita
>            Assignee: Shinichi Yamashita
>         Attachments: HIVE-11135.1.patch
>
>
> When I run set and save command at Beeline in my environment. And NullPointerException
occurred as follows.
> {code}
> [root@hive ~]# /usr/local/hive/bin/beeline
> Beeline version 2.0.0-SNAPSHOT by Apache Hive
> beeline> !set
> java.lang.NullPointerException
> beeline> !save
> Saving preferences to: /root/.beeline/beeline.properties
> java.lang.NullPointerException
> {code}
> This problem has occurred because the following method's return value in BeeLineOpts#toProperties
is null.
> {code}
> beeLine.getReflector().invoke(this, "get" + names[i], new Object[0]).toString()
> {code}
> Therefore it is modified so as to avoid NullPointerException.



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

Mime
View raw message