Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

single user installation: some roles still try to use /var

single user installation: some roles still try to use /var

Explorer

Hi,

I've installed a single user mode cluster and wanted to notify you that some roles' configs don't allow changing their dirs from /var/*. 

The two roles I've had problems with:

1. oozie (installation is done into /var)

2. httpfs instance (It's looking for server.xml under /var/lib/hadoop-httpfs/tomcat-deployment/conf/server.xml)

 

Thank you.

Daniel

5 REPLIES 5

Re: single user installation: some roles still try to use /var

Explorer

Hi,

Would love it if someone from Cloudera would have a look at it, the Single User is a new feature so I'm sure it will pop up for more clients in the future.

 

Thank you.

Daniel

Re: single user installation: some roles still try to use /var

Cloudera Employee

The docs state that there are a few services that require the paths exist in /var: 

http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/install_singleuser_reqt...

 

E.g. 

  • Roles that run on Tomcat require some directories to exist in non-configurable paths. The following directories must be created and be writable by cloudera-scm:
    • HDFS (HttpFS role) - /var/lib/hadoop-httpfs
    • Oozie Server - /var/lib/oozie
    • Sqoop 2 Server - /var/lib/sqoop2
    • Solr Server - /var/lib/solr

Could you help us understand the use case for making this configurable? Is there something preventing you from using the /var location? 

Re: single user installation: some roles still try to use /var

Explorer

Hi,

Thanks for pointing that out.

The idea was to create a filesystem dedicated to the cloudera-scm user and not worry about permissions, have everything in one central location and avoid the need to pre-create and configure these directores.

 

Thank you.

Daniel

Re: single user installation: some roles still try to use /var

New Contributor

i deploy a new cluster using single mode  user and i follow http://www.cloudera.com/documentation/enterprise/latest/topics/install_singleuser_reqts.html

 

i am using Installation Paths B (Packages) using cloudera manager wizard.

i create the directories

 

/var/lib/hadoop-httpfs  , /var/lib/oozie  with chown cloudera-scm and both of the server(oozie,httpfs) still down

 

i paste some log

 

+ exec /usr/lib/hadoop-httpfs/sbin/httpfs.sh run
août 17, 2016 4:30:16 PM org.apache.catalina.startup.Catalina load
AVERTISSEMENT: Can't load server.xml from /var/lib/hadoop-httpfs/tomcat-deployment/conf/server.xml
août 17, 2016 4:30:16 PM org.apache.catalina.startup.Catalina load
AVERTISSEMENT: Can't load server.xml from /var/lib/hadoop-httpfs/tomcat-deployment/conf/server.xml
août 17, 2016 4:30:16 PM org.apache.catalina.startup.Catalina start
GRAVE: Cannot start server. Server instance is not configured.

any ideas please???

Re: single user installation: some roles still try to use /var

New Contributor

Got the same error!

Don't have an account?
Coming from Hortonworks? Activate your account here