You're about to create your best presentation ever

Hive Presentation Template

Create your presentation by reusing one of our great community templates.

Hive

Transcript: Somthing very cool about Hive also is that thre is this person that knows a ton of hand to hand combat. Hive why you should read hive. Hive is a science fiction book and it has a lot of action and it's eally cool to read . https://www.google.com/imgres?imgurl=https%3A%2F%2Fglobalbookclub.s3.amazonaws.com%2Fresources%2F477577%2Fhive_8_deadlock%2Fcover.jpg&imgrefurl=https%3A%2F%2Fwww.24symbols.com%2Fbook%2Fenglish%2Fmark-walden%2Fhive-8-deadlock%3Fid%3D477577&docid=jOxoizmNKof2bM&tbnid=xsOxtNdl1kV3VM%3A&w=360&h=550&safe=strict&bih=655&biw=1366&ved=0ahUKEwiiqt642PPPAhXL7YMKHdy3A8wQMwhRKBQwFA&iact=mrc&uact=8 The main charecters name is Otto but some of the other main charecters is Laura , Shelby , and Wing . https://www.google.com/imgres?imgurl=https%3A%2F%2Fglobalbookclub.s3.amazonaws.com%2Fresources%2F481438%2Fhive_4_dreadnought%2Fcover.jpg&imgrefurl=https%3A%2F%2Fwww.24symbols.com%2Fbook%2Fenglish%2Fmark-walden%2Fhive-4-dreadnought%3Fid%3D481438&docid=gxDRfyTvaKcfJM&tbnid=W2sxgNIoeEzBjM%3A&w=357&h=550&safe=strict&bih=655&biw=1366&ved=0ahUKEwiiqt642PPPAhXL7YMKHdy3A8wQMwhVKBgwGA&iact=mrc&uact=8 In Hive there is this kid that is very special because he can connect to cumputers and machines and there is this bad guy the overlord and he wants to take over the world. https://www.google.com/imgres?imgurl=http%3A%2F%2F2.bp.blogspot.com%2F-Akx8pOpE3Hk%2FTmTzHIWopDI%2FAAAAAAAAAE4%2FJhDptaHwZHE%2Fs1600%2Fhive-%2525232-overlord.gif&imgrefurl=http%3A%2F%2Fwonderbrary.blogspot.com%2F2011%2F09%2Fseries-hive-higher-institute-of.html&docid=b02HleWbsSm9aM&tbnid=MvQyDNgoOUTglM%3A&w=488&h=750&safe=strict&bih=655&biw=1366&ved=0ahUKEwiiqt642PPPAhXL7YMKHdy3A8wQMwhcKB8wHw&iact=mrc&uact=8

HIVE

Transcript: HIVE a platform used to develop SQL type scripts to do MapReduce operations Introduction Introduction Hive is a data warehouse infrastructuretool to process structure data in Hadoop. It resides on top of Hadoop to summarize Big Data and makes querying and analyzing easy. Initially Hive was developed by Facebook, later Apache software Foundation took it up and developed it further as an open source under the name Apache Hive Features Of Hive It stores schema in database and processed data into HDFS( Hadoop Distributed File System) It is designed for OLAP It provides SQL type language for querying called HiveQl or HQL It is fast, familiar, scalable and extensible Features Architecture of Hive User Interface- Hive is data warehouse infrastructure software that can create interaction betweeen user and HDFS. The user interfaces that Hive supports are Hive Web UI, Hive Command line and Hive HD. HiveQL Process Engine- HiveQL is similar to SQL for querying on schema info on the Megastore. It is one of the replacements of traditional approach for MapReduce program. Instead of writing MapReduce program in Java, we can write a query for MapReduce job and process it. Architecture Hive Architecture Contd. Execution Engine- The conjuction part of HiveQL process Engine and MapReduce is a Hive Execution Engine. Execution engine processes the query and generates results as same as MapReduce results. It uses the flavour of MapReduce. HDFS or HBASE- Hadoop distributd file system or HBASE are the data stirage techniques to store data into file system. Meta Store- Hive chooses respective database servers to store the schema or Metadata of tables, databases, columns in a table, their data types and HDFS mapping. Figure Pictorial Architecture Working of Hive Execute Query- The Hive interface such as Command Line or WebUI send query Driver to execute Get Plan- The driver takes the help of query compiler that parses the query to check the syntax or query plan or the requirement of query Get Metadata- The compiler send metadata request to Megastore Send Metadata- Metastore sends metadata as a response to the compiler. Send Plan- The compiler checks the requirement and resend the plan to the driver. Till here the parsing adn compiling of query is completed. Execute Plan- The driver send the execute plan to the execution engine. Functioning Contd. Working Execute Job- Internally, the process of execution job is a MapReduce job. Here, the query executes MapReduce job. Metadata Ops- Meanwhile in execution, the engine can execute metadata operations with Metastore Fetch Results- The execution engine receives the results from Datanodes. Send Results- The execution engine send those resultant values to the driver Send Results- The driver send the results to Hive Interfaces. Pictorial Representation on Working of Hive Diagrammatic Representation Hive-Data Types All the data types in Hive are classified into four types- Column Types Literals Null Values Complex Types Data Types Column Types Intergral Types- Specified for using intergral data types only. INT, BIGINT, SMALLINT, TINYINT. String Types- Specified using ('') or (""). VARCHAR and CHAR Timestamp- Supports java.sql format 'YYYY-MM-DD HH:MM:SS:ffffffffff' and format 'yyyy-mm-dd hh:mm:ss:ffffffffff' Dates- decribed in format "YYYY-MM-DD" Decimals- The DECIMAL type in Hive is as same as Big Decimal format of Java. Represnts arbitraty precision Union Types- Collection of heterogeneous data types. One can create an instance using create union. Column Types Literals Floating Point Types- These are nothing but numbers with decomal points. Genrally this data type is composed of DOUBLE data type. Decimal Type- These is nothing but floating point value with higher range than DOUBLE data types. The range if decimal type is approximately -10^-308 to 10^308 Literals Complex Types Arrays- They are used in same way as used in Java. Syntax: ARRAY<DATA_TYPE> Maps- They are similar to Java Maps. Syntax: MAP<primitive_type, data_type> Structs- they are similar to using complex data with comment. Syntax: STRUCT<col_name: data_type[ COMMENT col_comment,.....]> Complex Types HQL Queries HQL Statements Create Databases- hive>create database [if not exists] userdb; hive>create schema usedb; hive> show databses; Drop Databases- hive> drop database [if exists] userdb; hive> drop database [if exists] userdb cascade; hive> drop schema userdb; Create Table- hive> create table if not exists employee( eid int, name string, salary decinal, destionation string) >comment 'employee details' >row format delimited >fields terminated by '\t' >lines terminated by '\n' >stored as text file Partition Hive organises tables into partitions as a way of dividing tables into related parts based on alues. It is easy to query a portion of data Adding Partition- Syntax: hive>alter table employee add partition(year='2013') location '/2012/part2012'; Dropping Partition- Syntax: hive>alter table employee drop [if exists] partition Other

Now you can make any subject more engaging and memorable