Member since
01-11-2019
105
Posts
11
Kudos Received
6
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 3589 | 07-01-2021 03:43 AM | |
| 3319 | 03-15-2021 11:16 PM | |
| 2388 | 02-22-2021 02:22 AM | |
| 2763 | 11-20-2020 12:05 AM | |
| 5266 | 10-07-2020 01:00 AM |
08-18-2021
05:14 AM
Hi, In case we have set up a local repository, is there a chance to find the file allkeys.asc from somewhere and place it in cloudera-repos/cm6 directory? We have a cloudera cluster installed and running from before February 2021 (unfortunately it was shut down for a few months), is it possible to use the already installed packages/parcels in cloudera-manager machine and host machines to set up properly the local repository? Thank you in advance, Alexander
... View more
07-28-2021
07:43 AM
After openjdk 1.8.0.292 install we had to fix the mysql scm database ssl connection issue using the property useSSL=false like com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://<mysql-host>/scm?useUnicode=true&characterEncoding=UTF-8&useSSL=false Now same ssl connection issue is happening for nav, navms, amon, rman databases and these components wont start. Can we set the useSSL for these databases also in /etc/cloudera-scm-server/db.properties file like below: com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://localhost/nav?useUnicode=true&characterEncoding=UTF-8&useSSL=false com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://localhost/navms?useUnicode=true&characterEncoding=UTF-8&useSSL=false com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://localhost/rman?useUnicode=true&characterEncoding=UTF-8&useSSL=false
... View more
07-01-2021
06:24 AM
Hi! thanks for your help. Looking it up right now, Thanks a lot....
... View more
06-01-2021
01:36 AM
Hello @khanarshadazmat , We do not have a direct method to get the CM Server and Agent version like we have in java -version. However, you can follow some of the below workarounds to get the required result: 1_). using below command # hdfs version # hadoop version 2_). version info available at "/opt/cloudera/parcels/<CDH>/lib/hadoop/cloudera/cdh_version.properties" Let me know if this helps! Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
... View more
05-31-2021
12:42 AM
Hello @khanarshadazmat , You may get the role information using CM API for HDFS service. API: https://archive.cloudera.com/cm7/7.2.4/generic/jar/cm_api/apidocs/resource_RolesResource.html#resource_RolesResource_ClustersResourceV43_ServicesResourceV42_RolesResourceV41_readRoles_GET See the below example for a better understanding: • When I execute the above API, I would get the below details for HDFS service: "name" : "HDFS-1-NAMENODE-cb7144bc695976e34cfbaaf26c176d21",
"type" : "NAMENODE",
"serviceRef" : {
"clusterName" : "Cluster 1",
"serviceName" : "HDFS-1",
"serviceDisplayName" : "HDFS-1",
"serviceType" : "HDFS"
}, ...
"roleState" : "STARTED",
"healthSummary" : "GOOD",
"configStalenessStatus" : "FRESH",
"haStatus" : "STANDBY",
"maintenanceMode" : false,
"commissionState" : "COMMISSIONED",
"roleConfigGroupRef" : {
"roleConfigGroupName" : "HDFS-1-NAMENODE-BASE"
}, • and, for the second namenode, I'll get something as below: "name" : "HDFS-1-NAMENODE-b1d777dd6714507397225b07ea9057ce",
"type" : "NAMENODE",
"serviceRef" : {
"clusterName" : "Cluster 1",
"serviceName" : "HDFS-1",
"serviceDisplayName" : "HDFS-1",
"serviceType" : "HDFS"
}, ... "roleState" : "STARTED",
"healthSummary" : "GOOD",
"configStalenessStatus" : "FRESH",
"haStatus" : "ACTIVE",
"maintenanceMode" : false,
"commissionState" : "COMMISSIONED",
"roleConfigGroupRef" : {
"roleConfigGroupName" : "HDFS-1-NAMENODE-BASE"
},
"entityStatus" : "GOOD_HEALTH" • In both the above examples, check for the keyword "haStatus". The namenode with haStatus as Active would be your Active Namenode. Let me know if this helps. Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
... View more
02-22-2021
02:25 AM
Thank you so much @tjangid . This surely clarifies my doubts.
... View more
02-10-2021
11:05 PM
Thanks @MattWho. Got it !!
... View more
12-15-2020
09:55 AM
Hi @Kezia, Thanks for the solution, Thank you so much. It's working on CDH-6.3.1 version also. kudos.
... View more
11-22-2020
09:25 PM
Hi Tjangid, Thanks for the info, it indeed was the custom script which was causing the issue. Regards, Haree Krushnan
... View more