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

Scaling Big Data with Hadoop and Solr - Second Edition

Hrishikesh Vijay Karambelkar

Compartir libro
  1. 166 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Scaling Big Data with Hadoop and Solr - Second Edition

Hrishikesh Vijay Karambelkar

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

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.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Scaling Big Data with Hadoop and Solr - Second Edition un PDF/ePUB en línea?
Sí, puedes acceder a Scaling Big Data with Hadoop and Solr - Second Edition de Hrishikesh Vijay Karambelkar en formato PDF o ePUB, así como a otros libros populares de Computer Science y Programming in Java. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
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...

Índice