UI amberi not loading but wekan dashboard loaded when using virtualbox and hortonwork hdp - hadoop

I am newbiw in hadoop env. I have installed virtual box and download hortonwrk sandbox hdp 2.6.5 to open ui amberi. The virtual vm show https://localhost:1080 and https://localhost:4200. When i open this link in broswerr, it hsow wekan dashboard. not ui amberi.
How to open ul amberi ? Need help on this matter.

First, Hortonworks Sandbox is no longer supported or maintained, so you should find another solution.
If you see a different service on either port, then you have something else running on your host or as a VM, and occupying those addresses, and it's not a Virtualbox/Hadoop/Ambari problem. Ambari is showing local addresses within the VM, not addresses for your host. You can edit the VM's port mappings to use some other host port.

Related

How can I access a webpage located inside a VM from the host machine's browser?

I am able to access the link http://localhost/men/tops-men/jackets-men.html successfully from my VM (configured using X2Go client).
IP Address of the VM: 10.146.106.204
I am also able to ping the VM successfully from my host machine (Windows).
The page that I am trying to access is a php page deployed on Apache Web Server.
However I am not able to do so from my Windows host machine.
I tried http://10.146.106.204/men/tops-men/jackets-men.html from my Windows machine but it did not work.
Do I have to configure something on my host machine or on my VM ?
Not sure what I am missing.
On VM check you can view http://10.146.106.204/men/tops-men/jackets-men.html
If not you need to configure the web server to listen on that IP (if you're running IIS this is under "bindings" in the right-hand side panel of IIS Manager).
On Host open a cmd window and check you can ping 10.146.106.204
If not check your firewall settings on the VM.
If neither of these 2 things help then you need to add more information about your setup to the question. Those are 2 very simple things you can do to diagnose 2 basic problems you might be having.
I was finally able to solve the problem based on this SO link: Unable to access magento site from anywhere but localhost
Updated the DB table core_config_data and updated the data by replacing http://localhost with http://ip-of-vm and then restarted the apache web server.

Unable to open Ambari login page with Hadoop (http://127.0.0.1:8080/)

I have opened the virtual box, put in the password, and typed in ifconfig to find out the host address, which is http://127.0.0.1:8080/. However, I still cannot open the Ambari login page. I have tried multiple browsers, including IE, Chrome and firefox. None of them worked.
Basically the browser gives me the following message:
This page can’t be displayed
•Make sure the web address http://127.0.0.1:8080 is correct.
•Look for the page with your search engine.
•Refresh the page in a few minutes.
I don't know what's wrong with it. Can someone help me with that?
I found that I had a conflict with my local IIS that was hosting a local website on port 8080.
I solved the problem by changing the ambari port to 8082.
This is how I did it.
1) I first checked to see if port 8082 was in use using netstat, you could also check if 8080 is in use to confirm you have the same problem.
2) Fireup the hadoop VM and login.
3) Follow the link below, this will show you how to change the ambari port
https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_ambari_reference_guide/content/_optional_changing_the_default_ambari_server_port.html
4) Restart ambari
https://ambari.apache.org/1.2.0/installing-hadoop-using-ambari/content/ambari-chap2-3.html
5) Re-configure port forwarding on your VirtualBox. There is a section in the following blog.
http://www.howtogeek.com/122641/how-to-forward-ports-to-a-virtual-machine-and-use-it-as-a-server/
I hope this helps
I had the same issue and I am using virtual box, i just started the "Hortonworks Sandbox" from Virtualbox and my ambari worked.
http://127.0.0.1:8080

Change Hadoop IP address in VMware

I recently installed Hadoop (Hadoop sandbox 2.2 [Hortonworks]) with VMware in Windows 7. When Hadoop runs, it gives me an IP address for the web browser:
http://127.0.0.1:8000
It doesn't work. What address should I use, and how would I find it?
When you start the sandbox using VMware player. Type ifconfig in terminal.
You will get a IP address starting with 192.168.XX.XXX. Replace 127.0.0.1 with that IP address. It will work.
FYI:
VMware player provides a dedicated IP to the sandbox and their guest OS, therefore all hadoop services is accessible through the guest OS IP address,not through your local host.

Hadoop namenode web UI not opening in CDH4

I recently installed the CDH distribution of Cloudera to create a 2 node cluster. From the Cloudera Manager UI, all services are running fine.
All the command line tools (hive etc ) are also working fine and I am able to read and write data to hdfs.
However the namenode (and datanode) web UI alone is not opening. Checking on netstat -a | grep LISTEN, the processes are listening on the assigned ports and there are no firewall rules which are blocking the connections ( I already disabled iptables)
I initially though that it could be a DNS issue but even the IP address is not working. The Cloudera Manager installed on the same machine on another port is opening fine.
Any pointers on how to debug this problem?
I had faced the same issue.
First it was because NAMENODE in safemode
then after because of two IP address (I have two NIC configured on CDH Cluster one internal connectivity of the servers (10.0.0.1) and other is to connect servers form Internet (192.168.0.1))
When i try to open NAMENODE GUI form any of the server connected to cluster on network 10.0.0.1 then GUI is opening and works fine but from other any other machine connected to servers by 192.168.0.1 network it fails.

xampp and acces Local area network

I create a local network between my physical machine (windows) and my virtual machine (Fedorat)
I installed xampp on fedorat and I want to access my web application located in / opt / lampp / htdocs / MyApplication from my physical machine by ip address of the virtual machine
http://192.168.0.2/
But its not working
What changes must I do that on xampp to make it accessible
Is your webserver running and is it possible to access the webserver locally (from your Fedora VM)?
What do you mean by not working? There are so many things that could be wrong... Do you receive a 404? Timeout? Are your machines on the same subnet? Are you able to ping your Fedora machine from Windows?
Had a similar problem once. In my case, it was because of firewall settings.
Try connecting your own machine to a LAN access point in the same router as the VM is connected.
I don't have much tech. background, but maybe if you narrow it to this specific case, someone else can help you.
Cheers.
I ping my VM from my physical machine and it works very well
How long have I install wamp on my physical machine and I set up for access to local network and I accessed from my VM
So the network between two machines running very well
my question is not about the establishment of networks between the two machines but rather how to configure XAMPP that it is accessible by
other machine in network
(I was already a problem on windows with wamp parail I solved by configuring wamp but I recall more of what I did)

Resources