[
https://issues.apache.org/jira/browse/HIVE-8169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138182#comment-14138182
]
Xiaobing Zhou commented on HIVE-8169:
-------------------------------------
Investigated and found issue comes from line 362 of
org.apache.hive.hcatalog.cli.SemanticAnalysis.HCatSemanticAnalyzer. In function
authorizeDDLWork, hive.getTable tries to use default and
default.hcat_altertable_16 are used as dbname and tablename to query table
metadata, eventually, default.default.hcat_altertable_16 is the full table name
used for query, causing failure like NoSuchObjectException which is cast to
NullPointerException in upstream path.
> Windows: alter table ..set location from hcatalog failed with
> NullPointerException
> ----------------------------------------------------------------------------------
>
> Key: HIVE-8169
> URL: https://issues.apache.org/jira/browse/HIVE-8169
> Project: Hive
> Issue Type: Bug
> Components: HCatalog
> Affects Versions: 0.14.0
> Environment: Windows Server 2008 R2
> Reporter: Xiaobing Zhou
> Assignee: Xiaobing Zhou
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)