hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-21844) HMS schema Upgrade Script is failing with NPE
Date Mon, 10 Jun 2019 02:42:00 GMT

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

ASF GitHub Bot updated HIVE-21844:
----------------------------------
    Labels: pull-request-available  (was: )

> HMS schema Upgrade Script is failing with NPE
> ---------------------------------------------
>
>                 Key: HIVE-21844
>                 URL: https://issues.apache.org/jira/browse/HIVE-21844
>             Project: Hive
>          Issue Type: Task
>          Components: HiveServer2
>    Affects Versions: 4.0.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21844.01.patch
>
>
> schema upgrade tool is failing with NPE while executing "SELECT 'Upgrading MetaStore
schema from 1.2.0 to 2.0.0' AS ' '". The header row (metadata) is coming with rows having
value null. This is causing null pointer access in function TableOutputFormat::getOutputString
when row.values[i] is accessed. Instead of " AS ' ' ", if some other value  like "AS dummy"
is given, it's working fine. The issue is coming with mysql version 5.7 and above.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message