Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-27-2024 06:27 AM
Hi all,
I need a help 😉
I am trying to install and launch Apache Hive meta store with PG database on Kubernetes.
The version of Hive is : apache-hive-4.0.0-bin.
I configured hive-site.xml and all volume needed for Apache Hive.
The init scheme was done succsufly by executing :
./schematool -dbType postgres -initSchema
Since, when try to launch hive, I obtained this error that nput name is null.
@Former Member-hive-v2-78d588-gf8rv:/opt/apache-hive-bin/bin$ hive
WARNING: log4j.properties is not found. HADOOP_CONF_DIR may be incomplete.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/apache-hive-bin/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/hadoop/share/hadoop/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Hive Session ID = 43722632-401f-4a28-975c-711f1e569a8c
Logging initialized using configuration in jar:file:/opt/apache-hive-bin/lib/hive-common-3.1.3.jar!/hive-log4j2.properties Async: true
Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.security.KerberosAuthException: failure to login: javax.security.auth.login.LoginException: java.lang.NullPointerException: invalid null input: name
at com.sun.security.auth.UnixPrincipal.<init>(UnixPrincipal.java:71)
at com.sun.security.auth.module.UnixLoginModule.login(UnixLoginModule.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
Thanks for help
Ps : Kerberos Authentification is disabled on hive-site.xml.
Created 10-07-2024 12:29 AM
We recommend utilizing CDW for Kubernetes on Hive.
Based on the description, it seems that you are currently using the apache-hive library. In the upstream (Apache), images have already been pushed to Docker Hub, so you can utilize the same. I have attached the relevant documents for your reference.
https://hive.apache.org/development/quickstart/
https://docs.cloudera.com/data-warehouse/cloud/overview/topics/dw-service-architecture.html
Created 10-02-2024 09:19 AM
Could you share the hive-site.xml here?
Created 10-07-2024 12:29 AM
We recommend utilizing CDW for Kubernetes on Hive.
Based on the description, it seems that you are currently using the apache-hive library. In the upstream (Apache), images have already been pushed to Docker Hub, so you can utilize the same. I have attached the relevant documents for your reference.
https://hive.apache.org/development/quickstart/
https://docs.cloudera.com/data-warehouse/cloud/overview/topics/dw-service-architecture.html