Member since
08-23-2016
261
Posts
201
Kudos Received
106
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1756 | 01-26-2018 07:28 PM | |
1400 | 11-29-2017 04:02 PM | |
35336 | 11-29-2017 03:56 PM | |
3517 | 11-28-2017 01:01 AM | |
955 | 11-22-2017 04:08 PM |
10-13-2017
07:59 PM
1 Kudo
@Sonu Singh Step 1: Modify the hosts file on your machine and reboot if required. On Windows 10, the hosts file that should be edited is usually at c:\Windows\System32\Drivers\etc\hosts with a line similar to: 127.0.0.1 sandbox.hortonworks.com Step 2: Ensure the Sandbox VM is up and running (can you reach Ambari to confirm?) Step 3: Open a terminal, or putty or whatever SSH tool you desire try SSH'ing to: sandbox.hortonworks.com port 2222 with user root. Step 4: If Step 3 did not work, try using the WebSSH tool built into the Sandbox: http://sandbox.hortonworks.com:4200 or http://127.0.0.1:4200 I can't think of anything else that would be in the way, I doubt very much that your Windows firewall (if enabled) would block access to something running on the local host but it won't hurt to double-check antivirus or firewall tools to see if they are blocking access. Maybe attach some screenshots of the VM running, and your VM config to see if something else jumps out at us. I suspect once we figure out why you cannot connect to the Sandbox, it may shed light on the 3rd party tool connections to the HiveServer2 running on the Sandbox as well.
... View more
10-11-2017
10:21 PM
1 Kudo
hi @Sonu Singh You are very welcome. I'm not sure why in your specific case the splash screen is not loading. I've had that had on one specific version of the sandbox in the past where there was an issue with the page, not sure if that is the csae for you. The goal of that page is to provide a starting point for users to be able to get to Ambari, get to other public links like the hortonworks documentation/tutorials and also access a web SSH tool (127.0.0.1:4200). The splash page itself is not needed though, one can access each of those things individually as well. In fact, I would say that most people go directly to Ambari and not bother with the splash page once they have used the sandbox a couple of times. Are you using Windows or Mac or linux? On a *nix/Mac machine, /etc/hosts is the file that can map a hostname to an ip address, and where I pasted that snip from. My VirtualBox adapter remains in NAT mode btw. I do also usually create a second network interface for a vbox host only adapter, if it is not already present. You can ssh to the cluster using whatever tool you like, just be sure to use the correct post (2222 for cluster access, 2122 for the docker host access which is normally not needed). If a tool is just accessing Hive on the standard port, there is likely no port forwarding required. The default hiveserver2 ports (10000) are usually open by default on the sandbox machines. A connection string of something like: jdbc:hive2://sandbox.hortonworks.com:10000/default should work for the sandbox once your /etc/hosts file hostname to ip mapping issue is sorted good luck!
... View more
10-11-2017
02:58 PM
1 Kudo
Hi @Sonu Singh (Great name btw! :)) Welcome to the Hortonworks Sandbox, it is a great tool to start learning the Hortonworks platform with. I'll try to answer your questions in order. 1) I wouldn't worry too much about the splash page. If you can hit Ambari (http://127.0.0.1:8080) then you are good. The rest can be done via the web at https://hortonworks.com/tutorials/ 2) on my laptop's hosts file, I have an entry as follows: 127.0.0.1 sandbox.hortonworks.com sandbox When I need to connect to the sandbox, I just use the hostname and haven't had any issues. In fact, you should probably try ssh to your sandbox on port 2222, login as root, and change the Ambari admin password now if you haven't already done so. ssh -p 2222 root@sandbox.hortonworks.com (default pw is hadoop) then as root, run: ambari-admin-password-reset 3) Most of the tutorial work on the Sandbox can be done through Ambari, so logging into Ambari and using the occasional terminal via SSH as shown above should be all you need to connect to the cluster to get started. 4) The Sandbox uses docker internally, in addition to the vmware/virtualbox layer on your machine. This can sometimes making connecting third party tools (such as Talend) to it a bit tricky because of port forwarding issues. The port not only has to be open on your virtualbox layer, but also within the Docker host internally. See this link for a good explaination and guide on opening other ports: https://hortonworks.com/tutorial/sandbox-port-forwarding-guide/section/1/ For Talend specifically, there is a good picture of how to configure the Talend side here: https://www.talendforge.org/forum/img/members/256670/Capture-decran-2016-03-11-a-12_17_58.png Original conversation here: https://www.talendforge.org/forum/viewtopic.php?pid=173639
... View more
09-22-2017
06:08 PM
Hi @Sree Kupp There is a great write up here on this topic: https://community.hortonworks.com/articles/65837/migrate-namenode-from-one-machine-to-another-via-a.html Ensure you adequately test this in a non-production environment.
... View more
09-20-2017
08:34 PM
Hi @Jacqualin jasmin Yes you should still install MapReduce for the history server, and the client tools. Certain components still use MapReduce under the hood, and having it installed does not usually cause harm or take up too many resources. The history server can be installed on any master node you like and makes sense to do so, while the clients are typically installed on edge (or data) nodes where users will have access.
... View more
09-18-2017
07:47 PM
@ajay vembu Awesome, glad to hear. Best of luck with the remainder of the installation.
... View more
09-15-2017
05:43 PM
2 Kudos
Hi @ajay vembu I haven't seen this yet, are there any details in the ambari log files that would help narrow down the issue? If you want to try again, you can perhaps stop/start the ambari-server. If it happens again, it might be a good idea to clear it and start over: ambari-server stop ambari-server reset, then follow prompts ambari-server start
... View more
09-14-2017
06:56 PM
2 Kudos
Hi @M R I think if you are using the built-in database, which it appears are you trying to use, you likely do not need to install the postgres db manually. Ambari can do this for you. I suspect because you have installed it outside of Ambari, there is a conflict. I would try removing the manual postgres rpm based installation, and re-run the ambari-server setup
... View more
09-12-2017
03:31 PM
1 Kudo
Hi @Balachandra Pai There is a very good tutorial here showing how to use the Ambari APIs to download client configs: https://community.hortonworks.com/articles/76303/download-client-configs.html
... View more
09-12-2017
03:24 PM
1 Kudo
Hi @ASIF Khan Hadoop 2.6.0 was HDP 2.2.x You can view the chart here near the bottom that shows the HDP versions, Hadoop versions, and component versions: https://hortonworks.com/products/data-center/hdp/
... View more