Member since
10-29-2016
4
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
6993 | 11-07-2016 09:42 PM |
11-07-2016
09:42 PM
problem sloved stop all service - sudo service cloudera-scm-agent hard_stop_confimed delete file /var/run/cloudera-scm-server.pid allow read permission to /var/log/cloudera-scm-server/cloudera-scm-server.log & /var/log/cloudera-scm-server/db.log start all service sudo service cloudera-scm-server-db start sudo service cloudera-scm-server start sudo service cloudera-scm-agent hard_restart_confimed
... View more
11-07-2016
08:39 PM
thanks for reply i have deleted pid file from the same location as you mentioned but after starting the cloudera server it status shows cloudera server running for a second and goes down again still unable to fix the problem also i tried to start cloudera-scm-server-db service it shows permission denied .is their any problem of user ? because i have installed CDH as root and running command from user namenode
... View more
11-07-2016
03:24 AM
i am new to CDH ,due to power failure our Hadoop Cluster went down when we start our machine and try to restart cloudera-scm-server for second it shows that the service is started after a second it when we check its status it shows cloudera-scm-server is dead and pid file exists for that i checked /var/log/cloudera-scm-server .out file it gives following error
JAVA_HOME=/usr/lib/jvm/java-7-oracle-cloudera
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/log/cloudera-scm-server/cloudera-scm-server.log (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:547)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
at com.cloudera.server.cmf.Main.<clinit>(Main.java:158)
I have installed CDH using root as user
... View more
Labels:
- Labels:
-
Cloudera Manager