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.

Permission error while creating HDFS solr folder in 5.8.2

Permission error while creating HDFS solr folder in 5.8.2

New Contributor

Hello Team,

 

Did anyone come accross the below error message while starting solr-hbase with CM?

 

Thanks,
Abdoul

 

+ DIR=/solr
+ USER=solr
+ GROUP=solr
+ PERMS=775
+ RET=0
+ /opt/cloudera/parcels/CDH-5.8.2-1.cdh5.8.2.p0.3/lib/hadoop-hdfs/bin/hdfs --config /run/cloudera-scm-agent/process/36-dfs-create-dir dfs -test -d /solr
+ '[' 1 -eq 0 ']'
+ echo 'Directory /solr does not currently exist.'
+ PARENT_ARG=
+ '[' 5 -ge 4 ']'
+ PARENT_ARG=-p
+ /opt/cloudera/parcels/CDH-5.8.2-1.cdh5.8.2.p0.3/lib/hadoop-hdfs/bin/hdfs --config /run/cloudera-scm-agent/process/36-dfs-create-dir dfs -mkdir -p /solr
+ '[' 1 -eq 0 ']'
+ echo 'Unable to create directory /solr; see stderr log.'
+ exit 1

 

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