Member since
01-04-2018
44
Posts
0
Kudos Received
0
Solutions
01-05-2018
06:05 AM
Yes, Jay. done that. 🙂 : )
... View more
01-05-2018
06:04 AM
Yes Aditya. But since I was getting that same error at various other times when using various other commands, I decided to put it up as a separate question. I was able to rectify it. 🙂 🙂
... 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:41 PM
After running a Hive service check, I am getting an error. Also, after running the netstat command as suggested by you, I got the following output : tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 16767/java
tcp 0 0 172.17.0.2:38142 172.17.0.2:3306 ESTABLISHED 16767/java
tcp 0 0 172.17.0.2:47368 172.17.0.2:2181 ESTABLISHED 16767/java
tcp 0 0 172.17.0.2:38126 172.17.0.2:3306 ESTABLISHED 16767/java
tcp 0 0 172.17.0.2:38136 172.17.0.2:3306 ESTABLISHED 16767/java
tcp 0 0 172.17.0.2:38124 172.17.0.2:3306 ESTABLISHED 16767/java
tcp 0 0 172.17.0.2:38140 172.17.0.2:3306 ESTABLISHED 16767/java
tcp 0 0 172.17.0.2:38144 172.17.0.2:3306 ESTABLISHED 16767/java
tcp 0 0 172.17.0.2:48628 172.17.0.2:8020 ESTABLISHED 16767/java
tcp 0 0 172.17.0.2:38138 172.17.0.2:3306 ESTABLISHED 16767/java
tcp 0 0 172.17.0.2:38134 172.17.0.2:3306 ESTABLISHED 16767/java
Now, I am not sure if the zookeeper processes are running. What are the ports on which the zookeeper processes run ?
... 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:14 PM
After resetting the admin password of ambari and then restarting the ambari server, I tried to open the Hive View 2.0 as well as the Hive View. But in both the cases, I was getting the following service check error : HIVE Check
Message: Cannot open a hive connection with connect string jdbc:hive2://sandbox-hdp.hortonworks.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;hive.server2.proxy.user=admin I was therefore, unable to open hive view. Can someone please help me sort out the issue ?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
01-04-2018
11:10 PM
ok, sure. I'll do that. Thanks a ton. 🙂 🙂
... View more
01-04-2018
11:05 PM
Yes, I solved that issue. And I was able to login as admin as well. Thanks for helping me out. Now within the admin account, I'm facing one more problem : on clicking on Hive View I'm getting the following error : Service Hive check failed: Cannot open a hive connection with connect string jdbc:hive2://sandbox-hdp.hortonworks.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;hive.server2.proxy.user=admin Can you please help me sort out this problem as well ?
... View more
01-04-2018
10:47 PM
there is no diectory or file named as etc. What to do ?
... View more
01-04-2018
10:16 PM
I typed the following commands in the terminal of sandbox-hdp terminal : 1. ambari-server status
2. ambari-server setup
3. ambari-server restart However, after hitting enter on typing the above commands, I keep getting the same type of error : Traceback (most recent call last):
File "/usr/sbin/ambari-server.py", line 36, in <module>
from ambari_server.dbConfiguration import DATABASE_NAMES, LINUX_DBMS_KEYS_LIST
File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration.py", line 28, in <module>
from ambari_server.serverConfiguration import decrypt_password_for_alias, get_ambari_properties, get_is_secure, \
File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 593, in <module>
configDefaults = ServerConfigDefaults()
File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 503, in __init__
super(ServerConfigDefaultsLinux, self).__init__()
File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 363, in __init__
self.OUT_DIR = parse_log4j_file(get_conf_dir() + "/log4j.properties")['ambari.log.dir'].replace("//", "/")
File "/usr/lib/python2.6/site-packages/ambari_commons/os_utils.py", line 194, in parse_log4j_file
with open(filename, "rb") as fp:
IOError: [Errno 2] No such file or directory: '/etc/ambari-server/conf/log4j.properties'
I'm unable to figure it out. Can someone please help me to sort out the IOError ?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
- « Previous
-
- 1
- 2
- Next »