Member since
07-30-2013
509
Posts
113
Kudos Received
123
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3007 | 07-09-2018 11:54 AM | |
2511 | 05-03-2017 11:03 AM | |
6154 | 03-28-2017 02:27 PM | |
2347 | 03-27-2017 03:17 PM | |
2057 | 03-13-2017 04:30 PM |
03-28-2014
07:53 AM
Hi Zealot, How much ram does your machine have? How many roles did you assign to that host? How many hosts? If you had 64GB or more of ram, you would not be hitting this problem. Probably 32GB would also be ok, at least in terms of getting rid of these warnings. It sounds like your machine doesn't really have enough memory to handle the roles assigned to it, so when CM automatically tuned the memory to try and split it between the roles, they ended up being below the minimum recommendations. You can configure your various roles to increase their memory (clicking on each of those messages will lead to the relevant config page), but this will just mean that your roles are trying to use more memory than your host physically can provide, so you'll see performance problems or crashes. You should probably try to use a larger machine or reduce the number of services in your cluster so that everything has enough memory. Thanks, Darren
... View more
03-26-2014
04:00 PM
Hi Nishan, You should not use shared directory (NFS HA). Use Quorum Journal for HDFS High Availability. It's easier to set up and offers true HA. Thanks, Darren
... View more
03-25-2014
01:02 PM
When using embedded db, you should not run the scm_prepare_database script. That error is expected because the port is wrong and you shouldn't run it. This step is done automatically when you run "service cloudera-scm-server-db start" for the first time. There's probably a backup of the correct db.properties file in /etc/cloudera-scm-server/ somewhere. Try restoring that file. If there isn't a backup, then I'd stop cloudera-scm-server-db, delete /var/lib/cloudera-scm-server-db/data, delete /etc/cloudera-scm-server/db.mgmt.properties if it exists (this file is different from db.properties), and then start cloudera-scm-server-db to recreate these files for you.
... View more
03-25-2014
10:42 AM
If you installed the embedded db correctly, then it would not ask for a mysql driver. Postgresql jdbc driver is always on the path, but mysql and oracle require manual downloads, as described in the docs. Look in /etc/cloudera-scm-server/db.properties to see how your CM is configured to talk to a database. Note that when using embedded db, you should not run the scm_prepare_database script.
... View more
03-21-2014
11:28 AM
Are you looking at this guide? http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Managing-Clusters/cmmc_HDFS_hi_avail.html This guide talks about configuring HDFS for High Availability. It does not talk about installation. Did you already add a cluster with services like HDFS and ZooKeeper configured? I assumed from your post that you had an existing cluster. You enable High Availability after you've created a cluster. If you don't have such a cluster, then add one and configure the desired services, then follow the High Availability guide.
... View more
03-21-2014
09:43 AM
Hi Nishan, Here's how you can find documentation: 1) go to http://www.cloudera.com/content/support/en/documentation.html 2) Click on your version of Cloudera Manager (4 or 5) 3) From the dropdown, select the correct minor version of Cloudera Manager, or the closest number to it. 4) Click on the Installation Guide 5) Look for your topic in the left, or use the search in the upper left. In your case, you can search for "High Availability" and you'll find the right document for turning on HDFS High Availability. Thanks, Darren
... View more
03-20-2014
10:34 AM
Hi Nishan, Get out of the wizard, either by opening a new window or clicking on the Cloudera Manager logo in the upper right. Go to Administration -> Settings, click on Parcels on the left, and click the minus ( - ) sign next to the bad URL to remove it. Then click Save in the upper right. Then try the Add Cluster wizard again from the home page, in the dropdown near the word Status on the left. Thanks, Darren
... View more
03-19-2014
10:02 PM
Hi Graham, This is a service-level property of HDFS. The rest endpoint to find it looks like this: http://<cm_host>:7180/api/v5/clusters/<cluster_name>/services/<hdfs_service_hame>/config?view=full To modify it using the python api, get a handle to the HDFS service and call hdfs.update_config({"core_site_safety_valve": core_site_safety_valve_value }). See more on using the python API here: http://cloudera.github.io/cm_api/docs/python-client/ Thanks, Darren
... View more
03-19-2014
03:29 PM
1 Kudo
Hi Nishan, During the install wizard, there's a prompt for you to specify where you'd like the CM agent binaries to come from. It's on the same page that prompts you to select CDH version. By default, it will pick up the corresponding build from our public repos, but you can override that. Thanks, Darren
... View more
03-19-2014
09:25 AM
1 Kudo
Hi Nishan, It seems that you've accidentally deleted the log4j file and need to add it back. Here's what that /etc/cloudera-scm-server/log4j.properties should have as contents: # Copyright (c) 2012 Cloudera, Inc. All rights reserved. # # !!!!! IMPORTANT !!!!! # The Cloudera Manager server finds its log file by querying log4j. It # assumes that the first file appender in this file is the server log. # See LogUtil.getServerLogFile() for more details. # # Define some default values that can be overridden by system properties cmf.root.logger=INFO,CONSOLE cmf.log.dir=. cmf.log.file=cmf-server.log # Define the root logger to the system property "cmf.root.logger". log4j.rootLogger=${cmf.root.logger} # Logging Threshold log4j.threshhold=ALL # Disable most JDBC tracing by default. log4j.logger.org.jdbcdslog=FATAL # Disable overly loud Avro IPC logging log4j.logger.org.apache.avro.ipc.NettyTransceiver=FATAL # Disable overly loud Flume config validation logging log4j.logger.org.apache.flume.conf.FlumeConfiguration=ERROR log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.target=System.err log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout log4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} %5p [%t:%c{2}@%L] %m%n log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender log4j.appender.LOGFILE.MaxFileSize=10MB log4j.appender.LOGFILE.MaxBackupIndex=10 log4j.appender.LOGFILE.File=${cmf.log.dir}/${cmf.log.file} log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout log4j.appender.LOGFILE.layout.ConversionPattern=%d{ISO8601} %5p [%t:%c{2}@%L] %m%n Thanks, Darren
... View more