Created on 03-11-2018 12:52 AM - edited 09-16-2022 05:57 AM
Hi,
I have tried cloud 5.14 insstallation with path A. tried with single node/multinode.i ran the installtion from root user.
it always failed in " cluster steup steps"
When i went threought the log file found the below issues and tried to fix it manaully .
1> The cloudera-scm user got created, but doesnt have sudo privillage guiven by root user. i gave it manually'
2> neither zookrrper/name node/hdfs starets , because , it was unable to create any of the directories under /var/lib or var/log or /dfs.
3> Also the auto installer didnt create the os user like zookeeepr/hdfs users. . thats why it is faling.
i have selinux disabled
[root@centosgold snn]# sestatus
SELinux status: disabled
[root@centosgold snn]#
Please help
some of the error
Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing /run/cloudera-scm-agent/process/26-zookeeper-server/zoo.cfg
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:131)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:106)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:79)
Caused by: java.lang.IllegalArgumentException: dataLogDir /var/lib/zookeeper is missing.
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:287)
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:127)
... 2 more
=================
2:02:54.536 PM ERROR Main
Error creating LevelDB timeseries store in directory /var/lib/cloudera-service-monitor/ts
java.io.IOException: Unable to create new directory at /var/lib/cloudera-service-monitor/ts/ts_entity_metadata
at com.cloudera.cmon.tstore.leveldb.LDBUtils.openVersionedDB(LDBUtils.java:257)
at com.cloudera.cmon.tstore.leveldb.LDBUtils.openVersionedDB(LDBUtils.java:212)
at com.cloudera.cmon.tstore.leveldb.LDBTimeSeriesMetadataStore.openMetadataDB(LDBTimeSeriesMetadataStore.java:148)
at com.cloudera.cmon.tstore.leveldb.LDBTimeSeriesMetadataStore.<init>(LDBTimeSeriesMetadataStore.java:138)
at com.cloudera.cmon.firehose.Main.main(Main.java:474)
=-================
Unable to access datadir, exiting abnormally
org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Missing data directory /var/lib/zookeeper/version-2, automatic data directory creation is disabled (zookeeper.datadir.autocreate is false). Please create this directory manually.
at org.apache.zookeeper.server.persistence.FileTxnSnapLog.<init>(FileTxnSnapLog.java:102)
at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:109)
at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:91)
at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:53)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:121)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:79)
======================
Created 03-12-2018 11:46 AM
Hi Datta,
You should not have to give anyone privs, CM will take care of that all for you.
Tina
Created 03-12-2018 02:50 AM
Created 03-12-2018 08:31 AM
as root user
Created 03-12-2018 09:00 AM
HI,
So you downloaded the cloudera-manager-installer.bin file from onto a CentOS (6 or 7?) host.
It runs fine
You login to the cloudera manager UI in your browser
The express wizard guides you through the install.
What did you fill in on the Choose Repos page for CDH?
I assume the Cloudera Manager Agents installs OK and it is just the CDH setup that is failing.
Tina
Created 03-12-2018 09:14 AM
Hi Tina,
yes i have downloaded the clouera installer, and all agent installation completed sucssfully without any issue .
Choose Repos page : i choose the default option ( use parcel) and for cluster i chose core with spark
Datta
Created 03-12-2018 09:22 AM
Created 03-12-2018 09:57 AM
Sorry, more questions:
JDK installation Options Page: Did you choose to install JDK, and encryption policy files?
Enable Single User Mode Page: You did NOT choose this option, correct?
Provide SSH Login Credentials Page: You chose root/all hosts accept same password/YOUR-PASSWORD
CM Agents installed on you hosts
The rest of the pages you choose the defaults.
Let me know.
Tina
Created 03-12-2018 10:04 AM
JDK installation Options Page: i choose to install JDK, and NO-encryption policy files
Enable Single User Mode Page: i chose single user mode
Provide SSH Login Credentials Page: You chose root/all hosts accept same password/YOUR-PASSWORD : i chose the root user and provided the password all nodes( all are same)
CM Agents installed on you hosts : yes it got installed
The rest of the pages you choose the defaults : yes
Created 03-12-2018 10:08 AM
Do not choose "Single User Mode"
There is a lot of setup you need to go through to get it to work.
If you can, start over and do not choose the single user mode. Your install of CDH should work without any of these issues.
Good Luck!
Tina
Created 03-12-2018 10:14 AM
Thanks Tina,
let me do that and update you
Datta