Member since
01-04-2018
44
Posts
0
Kudos Received
0
Solutions
01-10-2018
09:35 AM
@Amogh Suman Can you please share the Screenshot of "Hive View 2.0" where it is hanging. Also please share the "HiveServer2.log" And the View logs which you can find inside # less /var/log/hive/hiveserver2.log
# less /var/log/ambari-server/hive-next-view/hive-view.log
# less /var/log/ambari-server/hive20-view/hive20-view.log
. Also please run the "HiveService Check" once to see if everything is OK from hive side. If needed then please restart the "Hive" Service.
... View more
01-05-2018
02:48 PM
@Amogh Suman Exception in thread "main" java.lang.RuntimeException: core-site.xml not found at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2640) The above error indicates that the machine where you are running this "hadoop" command does not have the Hadoop Conf directory set correctly so it is not able to find the core-site.xml. . In HDP cluster we see the default hadoop conf directory points to the following directory [root@sandbox ~]# ls -l /etc/hadoop/conf/
[root@sandbox ~]# ls -l /etc/hadoop/conf/ | grep site.xml
-rw-r--r-- 1 hdfs hadoop 4089 May 13 2017 core-site.xml
-rw-r--r-- 1 hdfs hadoop 6820 May 13 2017 hdfs-site.xml
-rw-r--r-- 1 root root 758 Apr 1 2017 mapred-site.xml.template
-rw-r--r-- 1 yarn hadoop 18956 Aug 21 04:25 yarn-site.xml
. But in your host you will need to check which directory contains the "core-site.xml" and "hdfs-site.xml" and then set the following property in the terminal to point to that directory. Suppose if the "/PATH/TO/conf" directory contains the hadoop config files then please do this: # export HADOOP_CONF_DIR=/PATH/TO/conf
# sudo -u hdfs hadoop fs -mkdir /user/hive/warehouse .
... View more
01-04-2018
11:58 PM
Yes Restart All in the Service Actions worked out for me. I didn't really need to restart the ambari server. Thanks a ton 🙂 🙂
... View more
01-04-2018
11:17 PM
Sorry, I was wrong. I sorted it out. in the /etc/ambari-server/conf/ the log4j.properties file was missing. So I put up this file into that folder through the link that you had posted. Thanks a ton 🙂 🙂
... View more
01-04-2018
11:10 PM
ok, sure. I'll do that. Thanks a ton. 🙂 🙂
... View more
01-05-2018
06:05 AM
Yes, Jay. done that. 🙂 : )
... View more
01-10-2018
02:04 PM
@Rupinder Singh Can you please elaborate the exact solution to this problem ? I am facing the same issue..
... View more