Support Questions
Find answers, ask questions, and share your expertise

Not able to start hive server,Hive Metastore,HiveServer2

Highlighted

Not able to start hive server,Hive Metastore,HiveServer2

hive-error.png

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

4 REPLIES 4
Highlighted

Re: Not able to start hive server,Hive Metastore,HiveServer2

@Mangesh Berde

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.

Re: Not able to start hive server,Hive Metastore,HiveServer2

Contributor

Please try to start each service individually and verify the particular log files.

Highlighted

Re: Not able to start hive server,Hive Metastore,HiveServer2

@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.

Highlighted

Re: Not able to start hive server,Hive Metastore,HiveServer2

Super Guru

@Mangesh Berde

+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