Skip to content

Instantly share code, notes, and snippets.

[users]
# List of users with their password allowed to access Zeppelin.
# To use a different strategy (LDAP / Database / ...) check the shiro doc at http://shiro.apache.org/configuration.html#Configuration-INISections
#admin = password1
#user1 = password2, role1, role2
#user2 = password3, role3
#user3 = password4, role2
# Sample LDAP configuration, for user Authentication, currently tested for single Realm
@zeltovhorton
zeltovhorton / hbase-indexing-solr.md
Created March 9, 2016 16:25 — forked from abajwa-hw/hbase-indexing-solr.md
Hbase indexing to solr in HDP 2.3

Hbase indexing to solr in HDP 2.3

  • Background:

The HBase Indexer provides the ability to stream events from HBase to Solr for near real time searching. The HBase indexer is included with HDPSearch as an additional service. The indexer works by acting as an HBase replication sink. As updates are written to HBase, the events are asynchronously replicated to the HBase Indexer processes, which in turn creates Solr documents and pushes them to Solr.

@zeltovhorton
zeltovhorton / git push as different user
Created December 21, 2015 18:04
git push as different user
[zeppelin@sandbox sparkworkshop]$ git push https://azeltov@github.com/zeltovhorton/sparkworkshop
@zeltovhorton
zeltovhorton / zeppelin-setup.sh
Created November 9, 2015 16:08
zeppelin setup HDP 2.3
SPARK_VER=1.5.1
git clone https://github.com/apache/incubator-zeppelin
cd incubator-zeppelin
# If you see "invalid target release: 1.7", make sure to set JAVA_HOME
mvn clean install -DskipTests -Dspark.version=$SPARK_VER -Dhadoop.version=2.7.1 -Pyarn -Phadoop-2.6 -Pspark-1.5 -Ppyspark
# Configure Zeppelin JVM, App Master JVM, and Executor JVMs with hdp.version
cp conf/zeppelin-env.sh.template conf/zeppelin-env.sh
echo "export HADOOP_CONF_DIR=/etc/hadoop/conf" >> conf/zeppelin-env.sh
HDP_VER=`hdp-select status hadoop-client | sed 's/hadoop-client - \(.*\)/\1/'`