Member since
09-29-2015
5243
Posts
22
Kudos Received
34
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2652 | 07-13-2022 07:05 AM | |
| 5690 | 08-11-2021 05:29 AM | |
| 3403 | 07-07-2021 01:04 AM | |
| 3027 | 07-06-2021 03:24 AM | |
| 4928 | 06-07-2021 11:12 PM |
05-13-2020
01:55 AM
1 Kudo
Hello @BSST , this page details about memory and storage recommendations per host: https://docs.cloudera.com/cdpdc/7.0/release-guide/topics/cdpdc-hardware-requirements.html Is it what you were looking for, please? Thank you: Ferenc
... View more
05-12-2020
06:18 AM
Hello @BSST , thank you for reaching out and raising this concern about missing link to Runtime and Cloudera Manager Networking and Security Requirements. I have found the referenced link [2] for and earlier Cloudera Manager version (CM6.2) [1]. Let me action this internally and update this thread once we fixed the issue with the missing documentation for the CDP version. Thank you again! Kind regards: Ferenc https://docs.cloudera.com/documentation/enterprise/6/6.2/topics/cm_ig_non_production.html https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_network_and_security_requirements.html#cdh_cm_network_security
... View more
05-06-2020
07:57 AM
1 Kudo
Hello @matagyula , thank you for your feedback on the proposed actions and for accepting the reply as the solution! It will help Community Members facing with similar issues to find the answer faster. Üdvözlettel: Ferenc
... View more
05-06-2020
02:02 AM
1 Kudo
Hello @matagyula , thank you for sharing with us the exceptions you are getting after enabling for "Kerberos Authentication for HTTP Web-Consoles" for YARN. You will need to configure SPNEGO [1] and enable authentication for HDFS too [2] to overcome the issues described. Please let us know if the proposed changes resolved your issue! Thank you: Ferenc [1] https://docs.cloudera.com/documentation/enterprise/latest/topics/cdh_sg_browser_access_kerberos_protected_url.html [2] CM -> HDFS service -> search for and enable "Enable Kerberos Authentication for HTTP Web-Consoles", deploy client configuration, restart HDFS and YARN services
... View more
05-04-2020
02:27 AM
Hello @Sergiete , thank you for raising our attention that there was an improvement point in Cloudera CDP documentation. We have added clarification in our CDP documentation about "Installing Hive on Tez" [1] and that the Spark execution engine is not supported, as it's been replaced by Tez [2]. Based on our updated documentation [1] the correct order of installing the Hive service is: Install the Hive service, designated Hive on Tez in CDP. HiveServer is installed automatically during this process. Install HMS, which is designated Hive. Best regards: Ferenc [1] https://docs.cloudera.com/runtime/7.0.3/hive-introduction/topics/hive_installing_on_tez.html [2] https://docs.cloudera.com/runtime/7.0.3/hive-introduction/topics/hive-unsupported.html
... View more
04-21-2020
11:46 AM
1 Kudo
Hello @sh1vam , thank you for reporting that your HiveServer2 is not coming up and throwing the below exception: exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:578) ... Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient at org.apache.hadoop.hive.ql.metadata.Hive.registerAllFunctionsOnce(Hive.java:226) registerAllFunctionsOnce ... Caused by: javax.jdo.JDOUserException: ... org.datanucleus.store.query.QueryNotUniqueException: The query returned more than one instance BUT either unique is set to true or only aggregates are to be returned, so should have returned one result maximum at ... at org.apache.hadoop.hive.metastore.ObjectStore.getMRole(ObjectStore.java:4091) I found that your issue is resolved now. Therefore I would like to add here the strategy that might be helpful for someone to troubleshoot similar issues: Start reading the stacktrace from bottom-up. Read the last "Caused by:" section first. We can see "QueryNotUniqueException". Now start reading the lines after the Caused by to see if you can find a some meaningful classname that is coming from hive. The first one is: org.apache.hadoop.hive.metastore.ObjectStore.getMRole(ObjectStore.java:4091) Google "org.apache.hadoop.hive.metastore.ObjectStore.getMRole" for the source code. The very first match was this one, which was OK for our purpose. The number in brackets is the line number that we should look up. Since we do not know the exact version you are using, we just search for the term getMRole in the hope we will get the clue what it is. Based on the context it seems to be a Metastore Role that we are trying to fetch. So far we know that a metastore role is not unique. Now we start reading further the caused by sentences and find that this caused that the SessionHiveMetaStoreClient could not be instantiated. Based on your report you found out that the metastore.ROLES table had two admin roles and this was causing the issue and you were using the below commands for your troubleshooting: mysql> select * from metastore.ROLES; You identified that the role with id 3 is not required, hence deleted the role: mysql> delete from metastore.ROLES where ROLE_ID=3; In production environment, please do not forget to create a backup or to have a means of recovery before issuing delete command. Kind regards: Ferenc
... View more
04-21-2020
11:26 AM
Hello @SwasBigData , just would like to check with you if you tried the below: remove HiveServer2 then install Hive service first (without choosing HS2), and then install Hive on Tez. Did it work? Thank you for pointing out the lack of documentation. Following up this internally. Kind regards: Ferenc
... View more
04-21-2020
07:07 AM
1 Kudo
Hello @sinhapiyush86 , thank you for raising the question about getting Unsupported JDBC protocol: 'null' exception in PySpark. Please make sure you have initialised HWC in the session, otherwise you will get the below exception: java.lang.RuntimeException: java.lang.IllegalArgumentException: Unsupported JDBC protocol: 'null' You can initialise HWC by the below code segment [1]: from pyspark_llap import HiveWarehouseSession hive = HiveWarehouseSession.session(spark).build() Please let us know if it resolved your issue. Thank you: Ferenc [1] https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.5/integrating-hive/content/hive_hivewarehousesession_api_operations.html
... View more
04-21-2020
06:59 AM
Hello @SwasBigData , thank you for raising the question about why HiveServer2 is failing to start in CDP. This issue occurs because HiveServer2 has been moved outside of Hive Service in CDP. To resolve this issue, simply remove HiveServer2 from Hive Service and install Hive on Tez service. Tez is the only engine that is supported in Hive in CDP environment. Please let us know if we answered the enquiry by accepting the answer as a solution. Best regards: Ferenc
... View more
04-14-2020
02:12 AM
Hello @Rups , thank you for marking my earlier post as a solution about suggesting setting "SSL Context Service" parameter to resolve the issue. It is motivating to know when a suggestion actually helps. 🙂 Do I understand correctly that your workflow is operating now as expected? Thanks again: Ferenc
... View more
- « Previous
- Next »