hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9024) NullPointerException when starting webhcat server if templeton.hive.properties is not set
Date Sat, 06 Dec 2014 16:35:12 GMT

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

Xuefu Zhang updated HIVE-9024:
------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Na.

> NullPointerException when starting webhcat server if templeton.hive.properties is not
set
> -----------------------------------------------------------------------------------------
>
>                 Key: HIVE-9024
>                 URL: https://issues.apache.org/jira/browse/HIVE-9024
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 0.14.0
>            Reporter: Na Yang
>            Assignee: Na Yang
>             Fix For: 0.15.0
>
>         Attachments: HIVE-9024.patch
>
>
> If templeton.hive.properties is not set, when starting webhcat server, the following
NullPointerException is thrown and webhcat server could not start:
> {noformat}
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.hive.hcatalog.templeton.AppConfig.hiveProps(AppConfig.java:318)
>         at org.apache.hive.hcatalog.templeton.AppConfig.handleHiveProperties(AppConfig.java:194)
>         at org.apache.hive.hcatalog.templeton.AppConfig.init(AppConfig.java:175)
>         at org.apache.hive.hcatalog.templeton.AppConfig.<init>(AppConfig.java:155)
>         at org.apache.hive.hcatalog.templeton.Main.loadConfig(Main.java:96)
>         at org.apache.hive.hcatalog.templeton.Main.init(Main.java:80)
>         at org.apache.hive.hcatalog.templeton.Main.<init>(Main.java:75)
>         at org.apache.hive.hcatalog.templeton.Main.main(Main.java:267)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:197)
> {noformat}



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

Mime
View raw message