Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> NullPointerException when use webhcat

Copy link to this message
NullPointerException when use webhcat

hi everyone:
I followed the wiki https://cwiki.apache.org/confluence/display/Hive/WebHCat+InstallWebHCat to run webhcat server, it's started.
I use curl :curl 'http://localhost:8080/templeton/v1/status'
return is:{"status":"ok", "version":"v1"}
but, when i use this:curl 'http://localhost:8080/templeton/v1/ddl/database?user.name=user'
return is :{"error":null}
I find some Exceptions in log:
org.apache.hive.hcatalog.templeton.CatchallExceptionMapper |java.lang.NullPointerException     at org.apache.hive.hcatalog.templeton.HcatDelegator.makeArgs(HcatDelegator.java:86)     at org.apache.hive.hcatalog.templeton.HcatDelegator.run(HcatDelegator.java:62)....

any idea about what I can do?