Programming Hive. Data Warehouse and Query Language for Hadoop
- Autorzy:
- Edward Capriolo, Dean Wampler, Jason Rutherglen
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 350
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Programming Hive. Data Warehouse and Query Language for Hadoop
Need to move a relational database application to Hadoop? This comprehensive guide introduces you to Apache Hive, Hadoop’s data warehouse infrastructure. You’ll quickly learn how to use Hive’s SQL dialect—HiveQL—to summarize, query, and analyze large datasets stored in Hadoop’s distributed filesystem.
This example-driven guide shows you how to set up and configure Hive in your environment, provides a detailed overview of Hadoop and MapReduce, and demonstrates how Hive works within the Hadoop ecosystem. You’ll also find real-world case studies that describe how companies have used Hive to solve unique problems involving petabytes of data.
- Use Hive to create, alter, and drop databases, tables, views, functions, and indexes
- Customize data formats and storage options, from files to external databases
- Load and extract data from tables—and use queries, grouping, filtering, joining, and other conventional query methods
- Gain best practices for creating user defined functions (UDFs)
- Learn Hive patterns you should use and anti-patterns you should avoid
- Integrate Hive with other data processing programs
- Use storage handlers for NoSQL databases and other datastores
- Learn the pros and cons of running Hive on Amazon’s Elastic MapReduce
Wybrane bestsellery
-
Software development today is embracing functional programming (FP), whether it's for writing concurrent programs or for managing Big Data. Where does that leave Java developers? This concise book offers a pragmatic, approachable introduction to FP for Java developers or anyone who uses an object...
Functional Programming for Java Developers. Tools for Better Concurrency, Abstraction, and Agility Functional Programming for Java Developers. Tools for Better Concurrency, Abstraction, and Agility
(63.74 zł najniższa cena z 30 dni)63.74 zł
74.99 zł(-15%) -
Get up to speed on Scala--the JVM, JavaScript, and natively compiled language that offers all the benefits of functional programming, a modern object model, and an advanced type system. Packed with code examples, this comprehensive book shows you how to be productive with the language and ecosyst...(220.15 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%) -
To dziewiąte wydanie znakomitego podręcznika programowania dla początkujących, starannie zaktualizowane i uzupełnione o informacje dotyczące Java Platform, Standard Edition 17. Książka rozpoczyna się od solidnej dawki wiedzy o kompilacji i uruchamianiu programu w Javie, słowach kluczowych i istot...(83.85 zł najniższa cena z 30 dni)
90.30 zł
129.00 zł(-30%) -
Dzięki tej książce zrozumiesz bazowe koncepcje programowania funkcyjnego i przekonasz się, że możesz włączać je do kodu bez rezygnacji z paradygmatu obiektowego. Dowiesz się również, kiedy w swojej codziennej pracy używać takich opcji jak niemutowalność i funkcje czyste i dlaczego warto to robić....
Java. Podejście funkcyjne. Rozszerzanie obiektowego kodu Javy o zasady programowania funkcyjnego Java. Podejście funkcyjne. Rozszerzanie obiektowego kodu Javy o zasady programowania funkcyjnego
(56.55 zł najniższa cena z 30 dni)60.90 zł
87.00 zł(-30%) -
Oto kolejne wydanie zwięzłego podręcznika dla programistów Javy, który ma ułatwić maksymalne wykorzystanie technologii tego języka w wersji 17. Treść została skrupulatnie przejrzana i uzupełniona o materiał dotyczący nowości w obiektowym modelu Javy. Pierwsza część książki obejmuje wprowadzenie d...(57.84 zł najniższa cena z 30 dni)
62.30 zł
89.00 zł(-30%) -
Oto zaktualizowane i uzupełnione wydanie zwięzłego wprowadzenia do Javy SE 17, przeznaczonego dla profesjonalnych programistów Javy. Przedstawiono w nim wszystkie istotne zagadnienia, łącznie z takimi koncepcjami jak wyrażenia lambda i strumienie, nowoczesnymi konstrukcjami, jak rekordy i klasy z...
Java. Przewodnik doświadczonego programisty. Wydanie III Java. Przewodnik doświadczonego programisty. Wydanie III
(57.84 zł najniższa cena z 30 dni)62.30 zł
89.00 zł(-30%) -
Oto dwunaste wydanie wyczerpującego kompendium, w pełni zaktualizowane, uzupełnione o nowości wprowadzone w Java SE 17. Opisano w nim cały język Java: jego składnię, słowa kluczowe i najistotniejsze zasady programowania. Znalazły się tu także informacje dotyczące biblioteki Java API, takie jak op...(129.35 zł najniższa cena z 30 dni)
139.30 zł
199.00 zł(-30%) -
Architect robust solutions like a pro with real-world insights and cutting-edge design techniques. Delve into advanced analytics, machine learning, generative AI, cloud-native architecture, and the key soft skills to excel as a solutions architect.
Solutions Architect's Handbook. Kick-start your career with architecture design principles, strategies, and generative AI techniques - Third Edition Solutions Architect's Handbook. Kick-start your career with architecture design principles, strategies, and generative AI techniques - Third Edition
Saurabh Shrivastava, Neelanjali Srivastav, Rajesh Sheth, Kamal Arora, Rohan Karmarkar
-
Build Your Own Programming Language provides a hands-on approach to designing and implementing programming language features in a simple compiler and programming environment. This book will help you create new or domain-specific languages.
Build Your Own Programming Language. A developer's comprehensive guide to crafting, compiling, and implementing programming languages - Second Edition Build Your Own Programming Language. A developer's comprehensive guide to crafting, compiling, and implementing programming languages - Second Edition
O autorze ebooka
Ebooka "Programming Hive. Data Warehouse and Query Language for Hadoop" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Programming Hive. Data Warehouse and Query Language for Hadoop" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Programming Hive. Data Warehouse and Query Language for Hadoop" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-493-2697-5, 9781449326975
- Data wydania ebooka:
- 2012-09-19 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 2.7MB
- Rozmiar pliku Mobi:
- 7.5MB
Spis treści ebooka
- Programming Hive
- Preface
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- What Brought Us to Hive?
- Edward Capriolo
- Dean Wampler
- Jason Rutherglen
- Acknowledgments
- 1. Introduction
- An Overview of Hadoop and MapReduce
- MapReduce
- An Overview of Hadoop and MapReduce
- Hive in the Hadoop Ecosystem
- Pig
- HBase
- Cascading, Crunch, and Others
- Java Versus Hive: The Word Count Algorithm
- Whats Next
- 2. Getting Started
- Installing a Preconfigured Virtual Machine
- Detailed Installation
- Installing Java
- Linux-specific Java steps
- Mac OS Xspecific Java steps
- Installing Java
- Installing Hadoop
- Local Mode, Pseudodistributed Mode, and Distributed Mode
- Testing Hadoop
- Installing Hive
- What Is Inside Hive?
- Starting Hive
- Configuring Your Hadoop Environment
- Local Mode Configuration
- Distributed and Pseudodistributed Mode Configuration
- Metastore Using JDBC
- The Hive Command
- Command Options
- The Command-Line Interface
- CLI Options
- Variables and Properties
- Hive One Shot Commands
- Executing Hive Queries from Files
- The .hiverc File
- More on Using the Hive CLI
- Autocomplete
- Command History
- Shell Execution
- Hadoop dfs Commands from Inside Hive
- Comments in Hive Scripts
- Query Column Headers
- 3. Data Types and File Formats
- Primitive Data Types
- Collection Data Types
- Text File Encoding of Data Values
- Schema on Read
- 4. HiveQL: Data Definition
- Databases in Hive
- Alter Database
- Creating Tables
- Managed Tables
- External Tables
- Partitioned, Managed Tables
- External Partitioned Tables
- Customizing Table Storage Formats
- Dropping Tables
- Alter Table
- Renaming a Table
- Adding, Modifying, and Dropping a Table Partition
- Changing Columns
- Adding Columns
- Deleting or Replacing Columns
- Alter Table Properties
- Alter Storage Properties
- Miscellaneous Alter Table Statements
- 5. HiveQL: Data Manipulation
- Loading Data into Managed Tables
- Inserting Data into Tables from Queries
- Dynamic Partition Inserts
- Creating Tables and Loading Them in One Query
- Exporting Data
- 6. HiveQL: Queries
- SELECT FROM Clauses
- Specify Columns with Regular Expressions
- Computing with Column Values
- Arithmetic Operators
- Using Functions
- Mathematical functions
- Aggregate functions
- Table generating functions
- Other built-in functions
- LIMIT Clause
- Column Aliases
- Nested SELECT Statements
- CASE WHEN THEN Statements
- When Hive Can Avoid MapReduce
- SELECT FROM Clauses
- WHERE Clauses
- Predicate Operators
- Gotchas with Floating-Point Comparisons
- LIKE and RLIKE
- GROUP BY Clauses
- HAVING Clauses
- JOIN Statements
- Inner JOIN
- Join Optimizations
- LEFT OUTER JOIN
- OUTER JOIN Gotcha
- RIGHT OUTER JOIN
- FULL OUTER JOIN
- LEFT SEMI-JOIN
- Cartesian Product JOINs
- Map-side Joins
- ORDER BY and SORT BY
- DISTRIBUTE BY with SORT BY
- CLUSTER BY
- Casting
- Casting BINARY Values
- Queries that Sample Data
- Block Sampling
- Input Pruning for Bucket Tables
- UNION ALL
- 7. HiveQL: Views
- Views to Reduce Query Complexity
- Views that Restrict Data Based on Conditions
- Views and Map Type for Dynamic Tables
- View Odds and Ends
- 8. HiveQL: Indexes
- Creating an Index
- Bitmap Indexes
- Creating an Index
- Rebuilding the Index
- Showing an Index
- Dropping an Index
- Implementing a Custom Index Handler
- 9. Schema Design
- Table-by-Day
- Over Partitioning
- Unique Keys and Normalization
- Making Multiple Passes over the Same Data
- The Case for Partitioning Every Table
- Bucketing Table Data Storage
- Adding Columns to a Table
- Using Columnar Tables
- Repeated Data
- Many Columns
- (Almost) Always Use Compression!
- 10. Tuning
- Using EXPLAIN
- EXPLAIN EXTENDED
- Limit Tuning
- Optimized Joins
- Local Mode
- Parallel Execution
- Strict Mode
- Tuning the Number of Mappers and Reducers
- JVM Reuse
- Indexes
- Dynamic Partition Tuning
- Speculative Execution
- Single MapReduce MultiGROUP BY
- Virtual Columns
- 11. Other File Formats and Compression
- Determining Installed Codecs
- Choosing a Compression Codec
- Enabling Intermediate Compression
- Final Output Compression
- Sequence Files
- Compression in Action
- Archive Partition
- Compression: Wrapping Up
- 12. Developing
- Changing Log4J Properties
- Connecting a Java Debugger to Hive
- Building Hive from Source
- Running Hive Test Cases
- Execution Hooks
- Setting Up Hive and Eclipse
- Hive in a Maven Project
- Unit Testing in Hive with hive_test
- The New Plugin Developer Kit
- 13. Functions
- Discovering and Describing Functions
- Calling Functions
- Standard Functions
- Aggregate Functions
- Table Generating Functions
- A UDF for Finding a Zodiac Sign from a Day
- UDF Versus GenericUDF
- Permanent Functions
- User-Defined Aggregate Functions
- Creating a COLLECT UDAF to Emulate GROUP_CONCAT
- User-Defined Table Generating Functions
- UDTFs that Produce Multiple Rows
- UDTFs that Produce a Single Row with Multiple Columns
- UDTFs that Simulate Complex Types
- Accessing the Distributed Cache from a UDF
- Annotations for Use with Functions
- Deterministic
- Stateful
- DistinctLike
- Macros
- 14. Streaming
- Identity Transformation
- Changing Types
- Projecting Transformation
- Manipulative Transformations
- Using the Distributed Cache
- Producing Multiple Rows from a Single Row
- Calculating Aggregates with Streaming
- CLUSTER BY, DISTRIBUTE BY, SORT BY
- GenericMR Tools for Streaming to Java
- Calculating Cogroups
- 15. Customizing Hive File and Record Formats
- File Versus Record Formats
- Demystifying CREATE TABLE Statements
- File Formats
- SequenceFile
- RCFile
- Example of a Custom Input Format: DualInputFormat
- Record Formats: SerDes
- CSV and TSV SerDes
- ObjectInspector
- Think Big Hive Reflection ObjectInspector
- XML UDF
- XPath-Related Functions
- JSON SerDe
- Avro Hive SerDe
- Defining Avro Schema Using Table Properties
- Defining a Schema from a URI
- Evolving Schema
- Binary Output
- 16. Hive Thrift Service
- Starting the Thrift Server
- Setting Up Groovy to Connect to HiveService
- Connecting to HiveServer
- Getting Cluster Status
- Result Set Schema
- Fetching Results
- Retrieving Query Plan
- Metastore Methods
- Example Table Checker
- Finding tables not marked as external
- Example Table Checker
- Administrating HiveServer
- Productionizing HiveService
- Cleanup
- Hive ThriftMetastore
- ThriftMetastore Configuration
- Client Configuration
- 17. Storage Handlers and NoSQL
- Storage Handler Background
- HiveStorageHandler
- HBase
- Cassandra
- Static Column Mapping
- Transposed Column Mapping for Dynamic Columns
- Cassandra SerDe Properties
- DynamoDB
- 18. Security
- Integration with Hadoop Security
- Authentication with Hive
- Authorization in Hive
- Users, Groups, and Roles
- Privileges to Grant and Revoke
- Partition-Level Privileges
- Automatic Grants
- 19. Locking
- Locking Support in Hive with Zookeeper
- Explicit, Exclusive Locks
- 20. Hive Integration with Oozie
- Oozie Actions
- Hive Thrift Service Action
- Oozie Actions
- A Two-Query Workflow
- Oozie Web Console
- Variables in Workflows
- Capturing Output
- Capturing Output to Variables
- 21. Hive and Amazon Web Services (AWS)
- Why Elastic MapReduce?
- Instances
- Before You Start
- Managing Your EMR Hive Cluster
- Thrift Server on EMR Hive
- Instance Groups on EMR
- Configuring Your EMR Cluster
- Deploying hive-site.xml
- Deploying a .hiverc Script
- Deploying .hiverc using a config step
- Deploying a .hiverc using a bootstrap action
- Setting Up a Memory-Intensive Configuration
- Persistence and the Metastore on EMR
- HDFS and S3 on EMR Cluster
- Putting Resources, Configs, and Bootstrap Scripts on S3
- Logs on S3
- Spot Instances
- Security Groups
- EMR Versus EC2 and Apache Hive
- Wrapping Up
- 22. HCatalog
- Introduction
- MapReduce
- Reading Data
- Writing Data
- Command Line
- Security Model
- Architecture
- 23. Case Studies
- m6d.com (Media6Degrees)
- Data Science at M6D Using Hive and R
- M6D UDF Pseudorank
- M6D Managing Hive Data Across Multiple MapReduce Clusters
- Cross deployment queries with Hive
- Replicating Hive data between deployments
- m6d.com (Media6Degrees)
- Outbrain
- In-Site Referrer Identification
- Cleaning up the URLs
- Determining referrer type
- Multiple URLs
- In-Site Referrer Identification
- Counting Uniques
- Why this is a problem
- Load a temp table
- Querying the temp table
- Sessionization
- Setting it up
- Finding origin pageviews
- Bucketing PVs to origins
- Aggregating on origins
- Aggregating on origin type
- Measure engagement
- NASAs Jet Propulsion Laboratory
- The Regional Climate Model Evaluation System
- Our Experience: Why Hive?
- Some Challenges and How We Overcame Them
- Conclusion
- Photobucket
- Big Data at Photobucket
- What Hardware Do We Use for Hive?
- Whats in Hive?
- Who Does It Support?
- SimpleReach
- Experiences and Needs from the Customer Trenches
- A Karmasphere Perspective
- Introduction
- Use Case Examples from the Customer Trenches
- Customer trenches #1: Optimal data formatting for Hive
- Customer trenches #2: Partitions and performance
- Customer trenches #3: Text analytics with Regex, Lateral View Explode, Ngram, and other UDFs
- Apache Hive in production: Incremental needs and capabilities
- About Karmasphere
- Glossary
- A. References
- Index
- About the Authors
- Colophon
- Copyright
O'Reilly Media - inne książki
-
Software as a service (SaaS) is on the path to becoming the de facto model for building, delivering, and operating software solutions. Adopting a multi-tenant SaaS model requires builders to take on a broad range of new architecture, implementation, and operational challenges. How data is partiti...(237.15 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
Great engineers don't necessarily make great leaders—at least, not without a lot of work. Finding your path to becoming a strong leader is often fraught with challenges. It's not easy to figure out how to be strategic, successful, and considerate while also being firm. Whether you're on the...(118.15 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
Data science happens in code. The ability to write reproducible, robust, scaleable code is key to a data science project's success—and is absolutely essential for those working with production code. This practical book bridges the gap between data science and software engineering,and clearl...(211.65 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%) -
With the massive adoption of microservices, operators and developers face far more complexity in their applications today. Service meshes can help you manage this problem by providing a unified control plane to secure, manage, and monitor your entire network. This practical guide shows you how th...(203.15 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
Get practical advice on how to leverage AI development tools for all stages of code creation, including requirements, planning, design, coding, debugging, testing, and documentation. With this book, beginners and experienced developers alike will learn how to use a wide range of tools, from gener...(164.25 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Rust's popularity is growing, due in part to features like memory safety, type safety, and thread safety. But these same elements can also make learning Rust a challenge, even for experienced programmers. This practical guide helps you make the transition to writing idiomatic Rust—while als...(164.25 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Advance your Power BI skills by adding AI to your repertoire at a practice level. With this practical book, business-oriented software engineers and developers will learn the terminologies, practices, and strategy necessary to successfully incorporate AI into your business intelligence estate. Je...(220.15 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%) -
Microservices can be a very effective approach for delivering value to your organization and to your customers. If you get them right, microservices help you to move fast by making changes to small parts of your system hundreds of times a day. But if you get them wrong, microservices will just ma...(203.15 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(169.14 zł najniższa cena z 30 dni)
169.14 zł
199.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: Programming Hive. Data Warehouse and Query Language for Hadoop Edward Capriolo, Dean Wampler, Jason Rutherglen (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.