Created 11-04-2016 01:29 PM
Hi
I am Not able to start hive server,Hive Metastore,HiveServer2.
With error
raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource, dirname))
resource_management.core.exceptions.Fail: Applying File['/etc/hadoop/conf/topology_mappings.data'] failed, parent directory /etc/hadoop/conf doesn't exist
Regards
Mangesh
Created 11-04-2016 01:37 PM
Please verify if the folder /etc/hadoop/conf exists on the machine where Hive services are configured. Also, share the complete stack of the error.
Created 11-04-2016 01:37 PM
Please try to start each service individually and verify the particular log files.
Created 11-04-2016 01:40 PM
@Sindhu
I have checked it has virtual link .
which is not working its point to onther folder which dont have that conf file.
@Avoma
I tried this as well but still not working bz of this my kafka is also not working.
Created 11-04-2016 03:20 PM
+1 to answer given by @Sindhu
Can you please refer below details and try to modify symlink for /etc/hadoop/conf to /etc/hadoop/<version>/0
[root@sandbox ~]# ls -lrt /etc/hadoop/|grep conf drwxr-xr-x 2 root root 4096 2016-03-14 14:08 conf.backup lrwxrwxrwx 1 root root 35 2016-03-14 14:09 conf -> /usr/hdp/current/hadoop-client/conf [root@sandbox ~]# ls -rlt /usr/hdp/current/hadoop-client/|grep conf lrwxrwxrwx 1 root root 25 2016-11-01 15:02 conf -> /etc/hadoop/2.4.0.0-169/0 [root@sandbox ~]# cd /etc/hadoop/conf [root@sandbox conf]# pwd -P /etc/hadoop/2.4.0.0-169/0