Sandbox IP mapping not working on HDP Sandbox - macos

I have downloaded the latest HDP 2.6.5 from Hortonworks website. Following the instructions in the section 'MAP SANDBOX IP TO YOUR DESIRED HOSTNAME IN THE HOSTS FILE
' from the link -
https://hortonworks.com/tutorial/learning-the-ropes-of-the-hortonworks-sandbox/#determine-ip-address-of-your-sandbox
I added the details to the hosts file. When I try the site sandbox.hortonworks.com or any of the ones mentioned in the mapping, I get the error 'Site can't be reached'.
I am using Macbook and running the Sandbox on VirtualBox. I am able to log on to the command line using the url http://localhost:4200 and Ambari via http://localhost:8080/#/login.
I just want to know why I am not able to get it working using sandbox.hortonworks.com

Just add the port after your link:
sandbox.hortonworks.com:4200
or
sandbox.hortonworks.com:8080

Related

Elasticsearch is not running in browser

I have downloaded the Elasticsearch 8.1 in my Ubuntu. After successful installation, when I execute
curl -u elastic https://127.0.0.1:9200 -k
It is showing expected elasticsearch response. But when I hit http://127.0.0.1:9200/ or http://localhost:9200 in my browser, it is returning
After installation, I added network.host: 127.0.0.1 to elasticsearch.yml
Can anybody help me, why it is not running in browser ?
I am using Ubuntu 20 OS & following this Doc
As of version 8.0, Elasticsearch security is turned on by default and SSL/TLS is required for HTTP communications.
You can disable HTTP security if you want, but that's discouraged.
I am using the windows platform, the steps are the same. When you run the elasticsearch.bat in cmd
use this port for elasticsearch HTTPS secure https://localhost:9200/
check the username and password scroll down the cmd running elasticsearch
After login into the elasticsearch. Hurry...
Thanks
But
the best solution is to use Docker Image of ELK stack which is easy instead of downloading the E L K and then run on the local machine.

ambari 2.7.4 Installation Wizard problems

Ambari built. Network on virtual machines set. Trying to install cluster with the installation wizard of ambari UI. Could not get passed from "Get Started" to "Select version".
There is this error in the logs:
Could not load repo results
java.io.IOException: Server returned HTTP response code: 403 for URL: http://s3.amazonaws.com/dev.hortonworks.com/HDP/hdp_urlinfo.json
Found question with same problem which was not resolved
Screenshot from UI:
#eGs
It looks like you missed some steps and prerequisites before installing ambari. 127.0.0.1 should not be used to access the UI. Ambari docs require use to use FQDNs for all nodes and hosts.
Additionally, the 403 error above is result from using versions of ambari/hdp which cloudera has moved behind a paywall. User/password is required to access these assets now.
You should try with Ambari 2.7.4 and repos and artifacts that are not behind a paywall.

Ambari Agent Registration failed due to unsupported OS type

I was using Ambari Server UI to register a node as an agent and the registration kept failing. I checked the ambari-agent logs at /var/log/ambari-agent/ and found the following line in the logs
Registration failed due to: Cannot register host with not supported os type, hostname=scope, serverOsType=ubuntu19, agentOsType=ubuntu19
I understand this is because I have Ubuntu 19.04. Is this any workaround for this?
I confirm the answer, it is an ambari version problem so apply this solution to you it works
If you want to give it a try, the list of os and their versions supported by ambari can be found under this path ( on Ambari server host and on Ambari agent hosts )
/var/lib/ambari-agent/tmp/ambari_commons/resources/os_family.json
or
/usr/lib/ambari-server/lib/ambari_commons/resources/os_family.json
You can add the ambari version you are using and restart ambari
This is probably because the ambari version you are using doesn't support this version of ubuntu: this means in reality that ambari is not yet officially tested against that version.
If you want to give it a try, the list of os and their versions supported by ambari can be found under this path ( on Ambari server host and on Ambari agent hosts )
/var/lib/ambari-agent/tmp/ambari_commons/resources/os_family.json
or
/usr/lib/ambari-server/lib/ambari_commons/resources/os_family.json
You can add the ambari version you are using and restart ambari

How do I change the path for the Apache Service in XAMPP?

After I have changed the ports for my Apache server, and I try and run it, it comes up with this error message:
Apache Service detected with wrong path
Change XAMPP Apache and Control Panel settings or
Uninstall/disable the other service manually first
Found Path: "C:\apache24\bin\httpd.exe" -k runservice
Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice
I think this might be because I tried to download Apache separately from XAMPP, and I stored the httpd in that file location. However, I have deleted that file and that area, and I think XAMPP is trying to access that file when it doesn't exist. So how do I change XAMPP apache and control panel settings to the desired field?

Installing MarkLogic 8 on CentOS 6.7 x64 via DigitalOcean

Installing MarkLogic 8 on CentOS 6.7 x64 via DigitalOcean
Okay so I downloaded the rpm file from:
https://developer.marklogic.com/download/binaries/8.0/MarkLogic-8.0-3.2.x86_64.rpm
I installed it with:
sudo yum install MarkLogic-8.0-3.2.x86_64.rpm
Started it:
sudo /etc/init.d/MarkLogic start
Went to admin interface:
my_ip_address:8001
I skip joining a cluster
I type in admin for user
Type in a password and confirm it
Realm is public
I click OK and...
I get redirected to:
my_ip_address:8001/security-install-go.xqy
And get this:
No data received
ERR_EMPTY_RESPONSE
Hide details
Unable to load the webpage because the server sent no data.
Reload this webpage
Press the reload button to resubmit the data needed to load the page.
Okay I got it to work.
The only difference I can see this time around was I followed this script (save the nginx stuff):
https://github.com/jmakeig/marklogic-bootstrapping/blob/master/digitalocean/bootstrap.sh
Actually, someone else ran into this and after investigating everything else I tried, this was the answer:
http://developer.marklogic.com/pipermail/general/2015-January/016311.html
The MarkLogic data directory /var/opt/MarkLogic wasn't owned by the daemon user

Resources