Member since
01-11-2019
105
Posts
11
Kudos Received
6
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2179 | 07-01-2021 03:43 AM | |
2139 | 03-15-2021 11:16 PM | |
1542 | 02-22-2021 02:22 AM | |
1841 | 11-20-2020 12:05 AM | |
3935 | 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
05-27-2021
10:07 PM
Hello @jmbohl , @zuoseven , @napoleon , Please note that this is a known bug, but not yet fixed. Please check if the below properties in CM > HDFS > Configuration is set to an asterisk (*): -------------------------------- HDFS Proxy User Hosts HDFS Proxy User Groups Hue Proxy User Hosts Hue Proxy User Groups -------------------------------- If the above is set to asterisk, please let me know if the below workaround works: 1_). Create the user and group of the HDFS directory in HUE, then log in to HUE with the user of HDFS and then go to HUE to create an ACL for the HDFS directory 2_). Because there is a BUG in HUE for HDFS ACL, it is not recommended to use it this way. It is recommended that you still use the acl command line to create on HDFS. 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-17-2021
02:41 AM
Hello @AndrasV , You may get the details using the host API as below: https://archive.cloudera.com/cm6/6.2.0/generic/jar/cm_api/apidocs/resource_HostsResource.html#resource_HostsResource_HostsResourceV30_readHost_GET This would list down the roles that are installed/available on this particular host. To get the host Id, please use the below API: https://archive.cloudera.com/cm6/6.2.0/generic/jar/cm_api/apidocs/resource_HostsResource.html#resource_HostsResource_HostsResourceV30_readHosts_GET Let us 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
03-29-2021
07:47 AM
You can update the configuration (remove single disk that you don't need) and perform a restart on one datanode at a time. Ensure that there are no under replicated blocks (namenode UI will show that) in between datanode restarts. I found this to be safest approach. SDL
... View more
02-22-2021
03:07 AM
Hello @unSmallDonkey, Do you see any error messages in the Hue logs? This is usually seen due to the fact that the use_start_tls flag by default is set to true if the ldaps is not used. You may try to disable this property as below in the Hue safety valve and let us know if this resolves the issue: • Cloudera Manager > Hue > Configuation > Search for Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini • Add the below property: [desktop] [[ldap]] use_start_tls=false Cheers!
... View more