Scaling Big Data with Hadoop and Solr - Second Edition
eBook - ePub

Scaling Big Data with Hadoop and Solr - Second Edition

Hrishikesh Vijay Karambelkar

Share book
  1. 166 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Scaling Big Data with Hadoop and Solr - Second Edition

Hrishikesh Vijay Karambelkar

Book details
Book preview
Table of contents
Citations

About This Book

About This Book

  • Explore different approaches to making Solr work on big data ecosystems besides Apache Hadoop
  • Improve search performance while working with big data
  • A practical guide that covers interesting, real-life use cases for big data search along with sample code

Who This Book Is For

This book is aimed at developers, designers, and architects who would like to build big data enterprise search solutions for their customers or organizations. No prior knowledge of Apache Hadoop and Apache Solr/Lucene technologies is required.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Scaling Big Data with Hadoop and Solr - Second Edition an online PDF/ePUB?
Yes, you can access Scaling Big Data with Hadoop and Solr - Second Edition by Hrishikesh Vijay Karambelkar in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781783553402

Scaling Big Data with Hadoop and Solr Second Edition


Table of Contents

Scaling Big Data with Hadoop and Solr Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Processing Big Data Using Hadoop and MapReduce
Apache Hadoop's ecosystem
Core components
Understanding Hadoop's ecosystem
Configuring Apache Hadoop
Prerequisites
Setting up ssh without passphrase
Configuring Hadoop
Running Hadoop
Setting up a Hadoop cluster
Common problems and their solutions
Summary
2. Understanding Apache Solr
Setting up Apache Solr
Prerequisites for setting up Apache Solr
Running Apache Solr on jetty
Running Solr on other J2EE containers
Hello World with Apache Solr!
Understanding Solr administration
Solr navigation
Common problems and solutions
The Apache Solr architecture
Configuring Solr
Understanding the Solr structure
Defining the Solr schema
Solr fields
Dynamic fields in Solr
Copying the fields
Dealing with field types
Additional metadata configuration
Other important elements of the Solr schema
Configuration files of Apache Solr
Working with solr.xml and Solr core
Instance configuration with solrconfig.xml
Understanding the Solr plugin
Other configuration
Loading data in Apache Solr
Extracting request handler – Solr Cell
Understanding data import handlers
Interacting with Solr through SolrJ
Working with rich documents (Apache Tika)
Querying for information in Solr
Summary
3. Enabling Distributed Search using Apache Solr
Understanding a distributed search
Distributed search patterns
Apache Solr and distributed search
Working with SolrCloud
Why ZooKeeper?
The SolrCloud architecture
Building an enterprise distributed search using SolrCloud
Setting up SolrCloud for development
Setting up SolrCloud for production
Adding a document to SolrCloud
Creating shards, collections, and replicas in SolrCloud
Common problems and resolutions
Sharding algorithm and fault tolerance
Document Routing and Sharding
Shard splitting
Load balancing and fault tolerance in SolrCloud
Apache Solr and Big Data – integration with MongoDB
What is NoSQL and how is it related to Big Data?
MongoDB at glance
Installing MongoDB
Creating Solr indexes from MongoDB
Summary
4. Big Data Search Using Hadoop and Its Ecosystem
Understanding NoSQL
Working with the Solr HDFS connector
Big data search using Katta
How Katta works?
Setting up the Katta cluster
Creating Katta indexes
Using Solr 1045 Patch – map-side indexing
Using Solr 1301 Patch – reduce-side indexing
Distributed search using Apache Blur
Setting up Apache Blur with Hadoop
Apache Solr and Cassandra
Working with Cassandra and Solr
Single node configuration
Integrating with multinode Cassandra
Scaling Solr through Storm
Getting along with Apache Storm
Advanced analytics with Solr
Integrating Solr and R
Summary
5. Scaling Search Performance
Understanding the limits
Optimizing search schema
Specifying default search field
Configuring search schema fields
Stop words
Stemming
Index optimization
Limiting indexing buffer size
When to commit changes?
Optimizing index merge
Optimize option for index merging
Optimizing the container
Optimizing concurrent clients
Optimizing Java virtual memory
Optimizing search runtime
Optimizing through search query
Filter queries
Optimizing the Solr cache
The filter cache
The query result cache
The document cache
The field value cache
The lazy field loading
Optimizing Hadoop
Monitoring Solr instance
Using SolrMeter
Summary
A. Use Cases for Big Data Search
E-Commerce websites
Log management for banking
The problem
How can it be tackled?
High-level design
Index

Scaling Big Data with Hadoop and Solr Second Edition

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: August 2013
Second edition: April 2015
Production reference: 1230415
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78355-339-6
www.packtpub.com

Credits

Author
Hrishikesh Vijay Karambelkar
Reviewers
Ramzi Alqrainy
Walt Stoneburner
Ning Sun
Ruben Teijeiro
Commissioning Editor
Kartikey Pandey
Acquisition Editor
Nikhil Chinnari
Reshma Raman
Content Development Editor
Susmita Sabat
Technical Editor
Aman Preet Singh
Copy Editors
Sonia Cheema
Tani Kothari
Project Coordinator
Milton Dsouza
Proofreader
Simran Bhogal
Safis Editing
Indexer
Mariammal Chettiyar
Production Coordinator
Arvindkumar Gupta
Co...

Table of contents