You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/09 16:22:01 UTC

[jira] [Work logged] (HIVE-21844) HMS schema Upgrade Script is failing with NPE

     [ https://issues.apache.org/jira/browse/HIVE-21844?focusedWorklogId=443008&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-443008 ]

ASF GitHub Bot logged work on HIVE-21844:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jun/20 16:21
            Start Date: 09/Jun/20 16:21
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #667:
URL: https://github.com/apache/hive/pull/667#issuecomment-640955865


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 443008)
    Time Spent: 50m  (was: 40m)

> 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, HIVE-21844.02.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)