Member since
09-21-2015
85
Posts
75
Kudos Received
7
Solutions
01-23-2020
10:31 AM
Thanks it really fixes the problem RHEL 6.10 (Open JDK 1.8)
... View more
05-09-2018
12:45 AM
The tutorial from which the script was linked has been deprecated on github, but there is a similar set of instructions here:https://docs.hortonworks.com/HDPDocuments/Cloudbreak/Cloudbreak-2.5.1/content/aws-launch/index.html
... View more
04-04-2016
03:06 PM
2 Kudos
Prerequisites:
Launch Sandbox on Azure
VM Size: Minimum of A4 or A5
A Twitter App
You'll use the API credentials
The "Application Details" don't matter
Prepare the Sandbox
Connect to SSH & Ambari
Connect to the Sandbox using SSH
or web console: http://<<ip>>:4200/
Become root:
sudo su -
Reset the Ambari password:
ambari-admin-password-reset
Login to Ambari:
http://<<ip>>:8080
User: admin
Before moving to the next steps, ensure all services on the left are started (green) or in maintenance mode (black).
Install NiFi
In Ambari, Click "Actions" (bottom left) -> Add Service
Choose NiFi and continue through the dialogs.
You shouldn't need to change anything
NiFi should now be accessible at http:<<ip>>:9090/nifi/
Tune Sandbox
The Sandbox is tuned to run on minimal hardware. We need to update the Hive, Tez & YARN configuration for our use case.
This could take up to 15 minutes to complete:
bash <(curl -sSL https://git.io/vVRPs)
Solr & Banana
Solr enables the ability to search across large corpuses of information through specialized indexing techniques.
Banana is a dashboard visualization tool for Solr.
Download the Banana Dashboard
curl -L https://git.io/vVRP3 -o /opt/hostname-hdpsearch/solr/server/solr-webapp/webapp/banana/app/dashboards/default.json
Update Solr to support Twitter's timestamp format
curl -L https://git.io/vVRPz -o /opt/hostname-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs/conf/solrconfig.xml
Start Solr
JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 /opt/hostname-hdpsearch/solr/bin/solr start -c -z localhost:2181
Create Solr collection for tweets
/opt/hostname-hdpsearch/solr/bin/solr create -c tweets -d data_driven_schema_configs -s 1 -rf 1
... View more
Labels:
04-21-2016
12:43 PM
@Ali Bajwa A simplified approach:
On the Ambari Server: yum -y install git
git clone https://github.com/seanorama/ambari-bootstrap
cd ambari-bootstrap
export ambari_server_custom_script=${ambari_server_custom_script:-~/ambari-bootstrap/ambari-extras.sh}
export install_ambari_server=true
./ambari-bootstrap.sh Then deploy the cluster. The "extras" script above takes care of all the tedious stuff automatically (cloning Zeppelin, the blueprint defaults, the role command order, ...). yum -y install python-argparse
cd deploy
export ambari_services="HDFS MAPREDUCE2 YARN ZOOKEEPER HIVE SPARK ZEPPELIN"
bash ./deploy-recommended-cluster.bash
... View more