SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




Topic - HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps

About Writer:




Karan Gulati (SSAS Maestro)                                                                                   Page 1
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




What are we covering?

             o Hive
                     Create table
                     Load Data
                     Query Data
             o Configure ODBC
             o Create PowerPivot
                     With DataSource as HDInsight
                     Import Data from HDInsight
             o Create Pivot Chat using imported data




         (1)Open Hadoop Command Line

         After installing HDInsight for Windows you will get Hadoop Command Line Shortcut on desktop

         Click on Hadoop Command Line Shortcut and it will open Cmd Line for Hadoop




         (2)Type Hive and it will change to Hive Command




Karan Gulati (SSAS Maestro)                                                                                        Page 2
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (3)Create Tables

        CREATE TABLE emp(id int,name string)ROW FORMAT DELIMITED FIELDS TERMINATED BY
        ',';

        CREATE TABLE sales(id int,sales int)ROW FORMAT DELIMITED FIELDS TERMINATED BY ',';




        (4)Load Data using CSV Files

        LOAD DATA LOCAL INPATH 'c:/data/emp.csv' OVERWRITE INTO TABLE emp;




        LOAD DATA LOCAL INPATH 'c:/data/sales.csv' OVERWRITE INTO TABLE sales;




        (5) Open HDInsight Dashboard (You will find shortcut on desktop) and click on Download




Karan Gulati (SSAS Maestro)                                                                                       Page 3
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (6)Click on the appropriate link for your Excel.




        (7)Configure ODBC

        For configuring ODBC, Click start and type in ODBC. This will bring up the Data Sources dialog. Go to
        the System DSN tab and click Add. Configure it with a Data Source Name, Your Host Information, and a
        Username. In Single Node HDInsight Installation you don’t need to provide Username but if you are
        using HDInsight on Azure you can provide Username.




Karan Gulati (SSAS Maestro)                                                                                        Page 4
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (8) Provider Data Source Name and Default Port is 10000




        (9)Open Excel Sheet, select PowerPivot in ribbon and click on Manage




Karan Gulati (SSAS Maestro)                                                                                      Page 5
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (10)Click on Get External Data




Karan Gulati (SSAS Maestro)                                                                                         Page 6
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (11)Select – Get External Data and Data Import window and Select Others(OLEDB/ODBC)




        (12)Click Build




Karan Gulati (SSAS Maestro)                                                                                    Page 7
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (13)Select OLE DB Provider for ODBC




        (14)Select DSN which we have created earlier in step number 8, Select Database (In Single Node
        HDInsight installation you don’t need to provider User Name and Password in current release but
        in case of HDInsight on Azure you need to provide User Name and Password) and follow the
        wizard for selecting tables in our case its EMP and Sales




Karan Gulati (SSAS Maestro)                                                                                       Page 8
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




Karan Gulati (SSAS Maestro)                                                                              Page 9
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (15)If you Notice Relationship between Emp and Sales is absent so with one click we can create
        relationship




Karan Gulati (SSAS Maestro)                                                                                     Page 10
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (16)Added feature like Calculated Measure name Sales and created a KPI




        (17)Select Pivot of your Choice from PivotTable




Karan Gulati (SSAS Maestro)                                                                                     Page 11
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (18) Finally - you are good to go with PowerPivot Report based on Hive




        Refer

        HDInsight – What is it?

        Configuring: PowerPivot for Excel 2013




       Contact Speaker

                http://karanspeaks.com

            http://blogs.msdn.com/karang

         https://twitter.com/karangspeaks

        http://in.linkedin.com/in/karanspeaks




Karan Gulati (SSAS Maestro)                                                                                       Page 12

Weitere ähnliche Inhalte

Ähnlich wie HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps

Red Hat in Financial Services - Presentation at Hortonworks Booth - Strata 2014
Red Hat in Financial Services - Presentation at Hortonworks Booth - Strata 2014Red Hat in Financial Services - Presentation at Hortonworks Booth - Strata 2014
Red Hat in Financial Services - Presentation at Hortonworks Booth - Strata 2014Hortonworks
 
Getting your Big Data on with HDInsight
Getting your Big Data on with HDInsightGetting your Big Data on with HDInsight
Getting your Big Data on with HDInsightSimon Elliston Ball
 
Logical Data Warehouse: How to Build a Virtualized Data Services Layer
Logical Data Warehouse: How to Build a Virtualized Data Services LayerLogical Data Warehouse: How to Build a Virtualized Data Services Layer
Logical Data Warehouse: How to Build a Virtualized Data Services LayerDataWorks Summit
 
Accelerate your digital transformation
Accelerate your digital transformationAccelerate your digital transformation
Accelerate your digital transformationMichael Dawson
 
Microsoft Windows Azure - Cloud Platforms Today A Comparison Presentation
Microsoft Windows Azure - Cloud Platforms Today A Comparison PresentationMicrosoft Windows Azure - Cloud Platforms Today A Comparison Presentation
Microsoft Windows Azure - Cloud Platforms Today A Comparison PresentationMicrosoft Private Cloud
 
Virtuoso ODBC Driver Configuration & Usage (Mac OS X)
Virtuoso ODBC Driver Configuration & Usage (Mac OS X)Virtuoso ODBC Driver Configuration & Usage (Mac OS X)
Virtuoso ODBC Driver Configuration & Usage (Mac OS X)Kingsley Uyi Idehen
 
Microsoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewMicrosoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewaboobakar sanjar
 
VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and Uses
VDI-in-a-Box:  Microsoft Desktop Virtualization for Smaller Businesses and UsesVDI-in-a-Box:  Microsoft Desktop Virtualization for Smaller Businesses and Uses
VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and UsesConcentrated Technology
 
An Overview of MS VDI With XenDesktop on Hyper V
An Overview of MS VDI With XenDesktop on Hyper VAn Overview of MS VDI With XenDesktop on Hyper V
An Overview of MS VDI With XenDesktop on Hyper VLai Yoong Seng
 
Thu-310pm-Impetus-SachinAndAjay
Thu-310pm-Impetus-SachinAndAjayThu-310pm-Impetus-SachinAndAjay
Thu-310pm-Impetus-SachinAndAjayAjay Shriwastava
 
12 Things You Must Know About VDI
12 Things You Must Know About VDI12 Things You Must Know About VDI
12 Things You Must Know About VDIShivani Sehta
 
Administration von ADF Anwendungen
Administration von ADF AnwendungenAdministration von ADF Anwendungen
Administration von ADF Anwendungenenpit GmbH & Co. KG
 
Administration for Oracle ADF Applications
Administration for Oracle ADF ApplicationsAdministration for Oracle ADF Applications
Administration for Oracle ADF ApplicationsAndreas Koop
 
IBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphoneIBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphonenick_garrod
 
The database is half done
The database is half doneThe database is half done
The database is half doneconfluent
 
Engineering muscle training interface
Engineering muscle training interfaceEngineering muscle training interface
Engineering muscle training interfacerina0521
 
Partying with PHP (…and the Microsoft Platform)
Partying with PHP (…and the Microsoft Platform)Partying with PHP (…and the Microsoft Platform)
Partying with PHP (…and the Microsoft Platform)goodfriday
 

Ähnlich wie HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (20)

Red Hat in Financial Services - Presentation at Hortonworks Booth - Strata 2014
Red Hat in Financial Services - Presentation at Hortonworks Booth - Strata 2014Red Hat in Financial Services - Presentation at Hortonworks Booth - Strata 2014
Red Hat in Financial Services - Presentation at Hortonworks Booth - Strata 2014
 
Getting your Big Data on with HDInsight
Getting your Big Data on with HDInsightGetting your Big Data on with HDInsight
Getting your Big Data on with HDInsight
 
Logical Data Warehouse: How to Build a Virtualized Data Services Layer
Logical Data Warehouse: How to Build a Virtualized Data Services LayerLogical Data Warehouse: How to Build a Virtualized Data Services Layer
Logical Data Warehouse: How to Build a Virtualized Data Services Layer
 
Windows CE
Windows CEWindows CE
Windows CE
 
Vdi in-a-box
Vdi in-a-boxVdi in-a-box
Vdi in-a-box
 
Accelerate your digital transformation
Accelerate your digital transformationAccelerate your digital transformation
Accelerate your digital transformation
 
Microsoft Windows Azure - Cloud Platforms Today A Comparison Presentation
Microsoft Windows Azure - Cloud Platforms Today A Comparison PresentationMicrosoft Windows Azure - Cloud Platforms Today A Comparison Presentation
Microsoft Windows Azure - Cloud Platforms Today A Comparison Presentation
 
Virtuoso ODBC Driver Configuration & Usage (Mac OS X)
Virtuoso ODBC Driver Configuration & Usage (Mac OS X)Virtuoso ODBC Driver Configuration & Usage (Mac OS X)
Virtuoso ODBC Driver Configuration & Usage (Mac OS X)
 
Microsoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewMicrosoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overview
 
VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and Uses
VDI-in-a-Box:  Microsoft Desktop Virtualization for Smaller Businesses and UsesVDI-in-a-Box:  Microsoft Desktop Virtualization for Smaller Businesses and Uses
VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and Uses
 
An Overview of MS VDI With XenDesktop on Hyper V
An Overview of MS VDI With XenDesktop on Hyper VAn Overview of MS VDI With XenDesktop on Hyper V
An Overview of MS VDI With XenDesktop on Hyper V
 
2 Boot To Vhd
2 Boot To Vhd2 Boot To Vhd
2 Boot To Vhd
 
Thu-310pm-Impetus-SachinAndAjay
Thu-310pm-Impetus-SachinAndAjayThu-310pm-Impetus-SachinAndAjay
Thu-310pm-Impetus-SachinAndAjay
 
12 Things You Must Know About VDI
12 Things You Must Know About VDI12 Things You Must Know About VDI
12 Things You Must Know About VDI
 
Administration von ADF Anwendungen
Administration von ADF AnwendungenAdministration von ADF Anwendungen
Administration von ADF Anwendungen
 
Administration for Oracle ADF Applications
Administration for Oracle ADF ApplicationsAdministration for Oracle ADF Applications
Administration for Oracle ADF Applications
 
IBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphoneIBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphone
 
The database is half done
The database is half doneThe database is half done
The database is half done
 
Engineering muscle training interface
Engineering muscle training interfaceEngineering muscle training interface
Engineering muscle training interface
 
Partying with PHP (…and the Microsoft Platform)
Partying with PHP (…and the Microsoft Platform)Partying with PHP (…and the Microsoft Platform)
Partying with PHP (…and the Microsoft Platform)
 

Kürzlich hochgeladen

Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 

Kürzlich hochgeladen (20)

Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 

HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps

  • 1. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps Topic - HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps About Writer: Karan Gulati (SSAS Maestro) Page 1
  • 2. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps What are we covering? o Hive  Create table  Load Data  Query Data o Configure ODBC o Create PowerPivot  With DataSource as HDInsight  Import Data from HDInsight o Create Pivot Chat using imported data (1)Open Hadoop Command Line After installing HDInsight for Windows you will get Hadoop Command Line Shortcut on desktop Click on Hadoop Command Line Shortcut and it will open Cmd Line for Hadoop (2)Type Hive and it will change to Hive Command Karan Gulati (SSAS Maestro) Page 2
  • 3. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (3)Create Tables CREATE TABLE emp(id int,name string)ROW FORMAT DELIMITED FIELDS TERMINATED BY ','; CREATE TABLE sales(id int,sales int)ROW FORMAT DELIMITED FIELDS TERMINATED BY ','; (4)Load Data using CSV Files LOAD DATA LOCAL INPATH 'c:/data/emp.csv' OVERWRITE INTO TABLE emp; LOAD DATA LOCAL INPATH 'c:/data/sales.csv' OVERWRITE INTO TABLE sales; (5) Open HDInsight Dashboard (You will find shortcut on desktop) and click on Download Karan Gulati (SSAS Maestro) Page 3
  • 4. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (6)Click on the appropriate link for your Excel. (7)Configure ODBC For configuring ODBC, Click start and type in ODBC. This will bring up the Data Sources dialog. Go to the System DSN tab and click Add. Configure it with a Data Source Name, Your Host Information, and a Username. In Single Node HDInsight Installation you don’t need to provide Username but if you are using HDInsight on Azure you can provide Username. Karan Gulati (SSAS Maestro) Page 4
  • 5. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (8) Provider Data Source Name and Default Port is 10000 (9)Open Excel Sheet, select PowerPivot in ribbon and click on Manage Karan Gulati (SSAS Maestro) Page 5
  • 6. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (10)Click on Get External Data Karan Gulati (SSAS Maestro) Page 6
  • 7. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (11)Select – Get External Data and Data Import window and Select Others(OLEDB/ODBC) (12)Click Build Karan Gulati (SSAS Maestro) Page 7
  • 8. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (13)Select OLE DB Provider for ODBC (14)Select DSN which we have created earlier in step number 8, Select Database (In Single Node HDInsight installation you don’t need to provider User Name and Password in current release but in case of HDInsight on Azure you need to provide User Name and Password) and follow the wizard for selecting tables in our case its EMP and Sales Karan Gulati (SSAS Maestro) Page 8
  • 9. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps Karan Gulati (SSAS Maestro) Page 9
  • 10. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (15)If you Notice Relationship between Emp and Sales is absent so with one click we can create relationship Karan Gulati (SSAS Maestro) Page 10
  • 11. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (16)Added feature like Calculated Measure name Sales and created a KPI (17)Select Pivot of your Choice from PivotTable Karan Gulati (SSAS Maestro) Page 11
  • 12. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (18) Finally - you are good to go with PowerPivot Report based on Hive Refer HDInsight – What is it? Configuring: PowerPivot for Excel 2013 Contact Speaker http://karanspeaks.com http://blogs.msdn.com/karang https://twitter.com/karangspeaks http://in.linkedin.com/in/karanspeaks Karan Gulati (SSAS Maestro) Page 12