Hi, Kevin Please delete them, stop services. And try to start from Ambari UI. Thanks Larry ...
Please delete them, stop services. And try to start from Ambari UI.
I recently installed HDP 1.2 on RHEL6. This is on an evaluation cluster, with a single node running all the master services and two slave nodes. The installation went well this time, starting all the services and passing all the Smoketests successfully.
After noticing that the memory usage was approaching 90% on the master node I decided to increase the memory from 8 to 16GB (the master is on a VM). I followed the cluster shutdown instructions at http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.2.2/bk_reference/content/reference_chap3_2.html, shut down the host, increased the memory, and then followed the startup procedure in chapter 3.1.
There were a few problems starting Oozie, Ganglia, and WebHCat, but I was able to resolve those.
The problem that I can't fix is that Hive Metastore and HiveServer2 don't appear to be coming up in Ambari. Ambari shows a red dot next to "Hive/HCat" under the Services tab, and when I hover over the red dot in the Hosts tab it says "The following master components are down: Hive Metastore, HiveServer2".
Now I don't even know if this is accurate. Nagios shows that everything is good, but I also don't see specific checks for these two services. I'm not sure where Ambari is pulling this information from.
Running the command
!connect jdbc:hive2://$hive.server.full.hostname:10000 $HIVE_USER password org.apache.hive.jdbc.HiveDriver
appears to be successful, and i can list tables and generally have a working connection to Hive. But netstat doesn't show an open port on 10000, so I'm not 100% sure that this is accurate.
Port 9083 on the master is listening according to netstat. I believe is the HCatalog port. But the Hive log shows two errors:
WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.
org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083
Exception in thread "main" org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083.
Hive seems to be functioning just fine. I was able to create tables and query them.
So the main questions I have are
1. Are HCatalog and HiveServer2 running but detected by Ambari as not running for some reason? Ambari gives me the option to start Hive and HCat, but it doesn't change the status when I do.
2. If the problem is not with Ambari, where do I continue troubleshooting?
All help is very much appreciated.