Member since
07-08-2013
548
Posts
59
Kudos Received
53
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2568 | 08-17-2019 04:05 PM | |
2541 | 07-26-2019 12:18 AM | |
8790 | 07-17-2019 09:20 AM | |
4986 | 06-18-2018 03:38 AM | |
12416 | 04-06-2018 07:13 AM |
05-18-2016
03:10 PM
1 Kudo
Thanks for the additional info. I've seen similar issues before where the fields for "Alerts: Mail Server Username" and "Alerts: Main Server Password". are blank and not null. Would you be able to check the following for me, open the CM Server URL http://CM-SERVER:7180/api/v11/cm/deployment and search for the following attributes; ...
"items" : [ {
"name" : "alert_mailserver_password",
"value" : ""
}, {
"name" : "alert_mailserver_username",
"value" : ""
},
...
} ]
... If either attributes are as shown above, it means that Alert publisher is attempting to authenticate with username "" and password "", you will need to set that to NULL. In the CM UI> Cloudera Management Service> Configuration> 'Switch to the classic layout'> navigate to Alert Publisher Default Group> for "Alerts: Mail Server Username" and "Alerts: Main Server Password"> click: Reset to empty default value
... View more
05-18-2016
06:09 AM
Ah ok 🙂 - Per your comment, you are in CM 5.7.0 and the page is listing version CDH 5.7.0. As the message indicate "Version of CDH that are too new for this version of Cloudera Manager (5.7.0) will not be shown" what the message effectively saying is that, if there was a version eg: CDH 5.8.0 that page won't show it. Per specification: Cloudera Manager minor version has to be equal to or greater than the CDH minor version. For example: Target CDH Version Minimum Cloudera Manager Version 5.0.5 5.0.x 5.1.4 5.1.x 5.4.1 5.4.x References http://www.cloudera.com/documentation/enterprise/latest/topics/cm_mc_upgrade_cdh4_to_5.html
... View more
05-17-2016
12:58 PM
Hi Miles, Thanks for your message. The username password field are optional, users can set a value if their mail server requires authentication. Can you describe what is the actual error when the values are not set, if possible can you provide your troubleshooting steps that suggested that these fields are required any errors in Alert Publisher or sendmail logs.
... View more
05-17-2016
02:45 AM
Indeed, you do appear to have version CM 5.7.0. Would you mind posting a screenshot of the page that showing the error, the list of available parcels on your CM from the parcels url - http://CM-SERVER:7180/api/v12/clusters/REPLACE_WITH_CLUSTER_NAME/parcels - http://CM-SERVER:7180/api/v12/clusters/REPLACE_WITH_CLUSTER_NAME/parcels/usage and finally yourREMOTE_PARCEL_REPO_URLS from the following url - http://CM-SERVER:7180/api/v12/cm/config Thank you
... View more
05-16-2016
03:01 AM
Can you let me know your Cloudera Manager version, this should be in the CM Web UI in the top-right menu Support> About > By the way, why the url "http://archive.cloudera.com/cdh5/parcels/latest/" targeting to 5.3. To simplify this transition away from a /latest symlink mechanism, CM 5.4 and higher make use of a Remote Parcel Repository URL configuration variable that lets the Cloudera Manager Server negotiate and determine the Highest-Supported CDH version using this {latest_supported} variable. If you upgrade to Cloudera Manager 5.4.0 or higher and wish to see all supported CDH parcel versions, ensure your parcel settings for Report Parcel Repository URLs contains a property similar to the following (assuming your cluster can contact archive.cloudera.com😞 http://archive.cloudera.com/cdh5/parcels/{latest_supported} reference: https://community.cloudera.com/t5/Cloudera-Manager-Installation/Why-is-CDH-5-4-not-set-as-the-latest-parcels-at-http-archive/td-p/26962
... View more
05-16-2016
02:55 AM
You don't need a particular version, only need to update the Sentry configuration example from cm_api.api_client import ApiResource api = ApiResource("cm-server-host") cluster = api.get_cluster("_CLUSTER_NAME_") service = cluster.create_service("sentry","SENTRY") # Service-Wide # sentry_server_database_host: Assuming embedded DB is running from where embedded-db is located. service_config = {"sentry_server_database_host": "sentry-db.host.here", "sentry_server_database_user": "sentry", "sentry_server_database_name": "sentry", "sentry_server_database_password": "cloudera", "sentry_server_database_port": "7432", "sentry_server_database_type": "postgresql"} service.update_config(service_config) # eg: fetch all hosts>hostId # print [host.hostId for host in api.get_all_hosts()] host = [host for host in api.get_all_hosts()][0] service.create_role("sentry", "SENTRY_SERVER", host.hostId)
Ref: https://github.com/gdgt/cmapi
... View more
05-15-2016
06:04 AM
To iterate what you've run; # Remove Cloudera yum repo < see [1] how to install this rm -vRf /etc/yum.repos.d/cloudera* /etc/cloudera-* # remove Cloudera shared libraries, and all the cloudera yum cached packages files # /var/lib/cloudera-scm-agent also contains the UUID [3] - so you might have also cleared this. # what this effectively mean that once you re-install the agents packages the aget/host will not be associated with any clusters. # we could fix this but you'll need you uuid from the database.
rm -vRf /usr/share/cmf /var/lib/cloudera* /var/cache/yum/cloudera*
# remove Cloudera logs rm -vRf /var/log/cloudera-*
# Remove cloudera yum/rpm packages yum remove cloudera* # clean up various things which accumulate in the yum cache directory over time. More complete details can be found in the Clean Options section below.
yum clean all > But I was trying to upgrade cloudera manager iteself. Unfortunetly after that I failed to install/upgrde cloudera agent in nodes. Did you fail to upgrade Cloudera Manager Server and Agents? What version of Cloudera Manager you are looking to upgrade to? What is the value for your 'com.cloudera.cmf.db.type' in the /etc/cloudera-scm-server/db.properties file. From the supplied information, you can still re-install Cloudera Manager following the installation instructions [1], and since you're behind proxy you could download [2] the .rpms and install them manually. [1] http://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_install_path_b.html [2] ie: RedHat 6 variant CM packages - http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5/RPMS/x86_64/ [3] Directory that store Cloudera Manager Agent state that persists across instances of the agent process and system reboots. The agent's UUID is stored here. Default: /var/lib/cloudera-scm-agent.
... View more
05-10-2016
06:28 PM
1 Kudo
Sqoop 1 service is actually available as 'Sqoop 1 Client' [1] - you can add a 'Sqoop 1 Client' service by following the documentation here [2] [1] http://www.cloudera.com/documentation/enterprise/5-4-x/topics/cm_mc_sqoop1_client.html [2] http://www.cloudera.com/documentation/enterprise/5-4-x/topics/cm_mc_add_service.html
... View more
05-09-2016
03:59 AM
1 Kudo
Thanks for confirming, seems like you're hitting the same issue. Workaround options; - do not use SPARK_ON_YARN dependecy and make sure your role is pointing to an existing up-to-date /etc/spark/conf dir - in the service.sdl rename default log4j.properties as set by configFilename [1] to a different name (ie: real-log4j.properties). Then, in the control.sh script, move the log4j.properties file to the spark-conf dir where it belongs, and move the real-log4j.properties to be renamed as log4j.properties. [1] https://github.com/cloudera/cm_ext/wiki/Service-Descriptor-Language-Reference#logging
... View more
05-06-2016
08:47 AM
would you be able to list your 'serviceDependencies', there's a know issue that we've identified with SPARK/CSD - just wanted to confirm if you're running into the same.
... View more