Member since
08-02-2017
7
Posts
1
Kudos Received
0
Solutions
08-09-2017
04:43 AM
@Jay SenSharma On my linux machine: rads@hdpclient:~$ curl --user admin:admin -H 'X-Requested-By:ambari' -X GET http://pap-hadoop-1.mydomain.net:8080/api/v1/clusters
{
"href" : "http://pap-hadoop-1.mydomain.net:8080/api/v1/clusters",
"items" : [
{
"href" : "http://pap-hadoop-1.mydomain.net:8080/api/v1/clusters/paphdp",
"Clusters" : {
"cluster_name" : "paphdp",
"version" : "HDP-2.6"
}
}
]
}
rads@hdpclient:~$ On my windows machine: rads@RADS7 ~
$ curl --user admin:admin -H 'X-Requested-By:ambari' -X GET http://pap-hadoop-1.mydomain.net:8080/api/v1/clusters
curl: (56) Recv failure: Connection reset by peer
rads@RADS7 ~ A network trace shows the following response headers: Content-Length: 64 Content-Type: text/plain; charset=ISO-8859-1 Pragma: no-cache X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1; mode=block Is there some setting in the server that need to be set to handle the highlighted option?
... View more
08-05-2017
03:10 PM
I have a 5 node cluster deployed using Ambari using individual systems (not virtual box VMs). I've been able to login to ambari web view from one system (a Ubuntu 16.04 desktop) from chrome (and firefox too). But I am not able to login to ambari web view from another system (a Windows laptop on the same network). The web view does come up. When I login using admin/ admin the web front end shows up this error: Unable to connect to Ambari Server. Confirm Ambari Server is running and you can reach Ambari Server from this machine. The server is indeed running (I was able to install an entire cluster from the machine that I was able to login). I've tried clearing the history and browser cache - doesn't seem to work. Any pointers to help clear this weird issue?
... View more
Labels:
- Labels:
-
Apache Ambari
08-05-2017
06:17 AM
Thanks Sindhu! I checked the link - it suggests that I verify that fqdn names are specified properly in the config files. I'd used FQDNs while setting up the cluster using ambari - was hoping that the conf file updates will be handled automatically. Which config file(s) should I be looking for?
... View more
08-05-2017
06:00 AM
1 Kudo
Hi, I've setup a 5 node cluster using ambari using different machines - not virtualbox VMs. To begin with I've installed only HDFS and YARN (and their dependencies). MapReduce2 service is not starting - when I try to restart history server of mapreduce 2 service, I see this error: Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py", line 134, in <module>
HistoryServer().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py", line 101, in start
skip=params.sysprep_skip_copy_tarballs_hdfs)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/copy_tarball.py", line 267, in copy_to_hdfs
replace_existing_files=replace_existing_files,
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 555, in action_create_on_execute
self.action_delayed("create")
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 552, in action_delayed
self.get_hdfs_resource_executor().action_delayed(action_name, self)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 287, in action_delayed
self._create_resource()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 303, in _create_resource
self._create_file(self.main_resource.resource.target, source=self.main_resource.resource.source, mode=self.mode)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 418, in _create_file
self.util.run_command(target, 'CREATE', method='PUT', overwrite=True, assertable_result=False, file_to_put=source, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 199, in run_command
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w '%{http_code}' -X PUT --data-binary @/usr/hdp/2.6.1.0-129/hadoop/mapreduce.tar.gz -H 'Content-Type: application/octet-stream' 'http://pap-hadoop-1.mynet.org:50070/webhdfs/v1/hdp/apps/2.6.1.0-129/mapreduce/mapreduce.tar.gz?op=CREATE&user.name=hdfs&overwrite=True&permission=444'' returned status_code=403.
{
"RemoteException": {
"exception": "IOException",
"javaClassName": "java.io.IOException",
"message": "Failed to find datanode, suggest to check cluster health. excludeDatanodes=null"
}
} I've verified that the datanodes are running ok - Ambari reports that all the services are running ok What could be the problem? How do I remedy this situation? Update: I ran service check on HDFS and it fails, with the same error as above. Thanks, Radha.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
08-03-2017
05:55 PM
@Jay SenSharma Seeing this weird behavior: Once I reset the admin password, I am able to login and setup a cluster using the ambari frontend, from a Linux machine. From my windows machines, however, I still see the same error as I reported. I've tried clearing up history, tried different browsers - but am not able to login. Any idea what could the reason be?
... View more
08-03-2017
02:25 AM
@Jay SenSharma Resetting ambari admin password worked - thanks a ton! This got me going!
... View more
08-02-2017
05:01 PM
ambari-server.zipHi, I am installing Ambari 2.5.1 on a PC with Ubuntu 16.04 (not virtualbox/ vagrant). Once installed however, I can't login to ambari server using admin/admin. The signin page displays this error: Unable to connect to Ambari Server. Confirm Ambari Server is running and you can reach Ambari Server from this machine. I've verified that postgresql and ambari-server are running fine. My ambari server log is attached herewith. Any help will be greatly appreciated. Regards, Radha.
... View more
Labels:
- Labels:
-
Apache Ambari