SlideShare une entreprise Scribd logo
1  sur  52
Télécharger pour lire hors ligne
SAP HANA Smart Data Access using Hadoop/Hive 
SAP HANA Smart Data Access using Hadoop/Hive 
================================================================================================= 
By 
Debajit Banerjee 
Table of Contents 
Introduction about SAP HANA Smart Data Access………………………………………………………………. Page 02 
I.HDP 1.3 for Windows Installation Pre-requisite……………………………………………………………….. Page 03 
II.HDP 1.3 for Windows (Hortonworks Data Platform) Standalone Installation………………….. Page 13 
III.Validation of HDP 1.3 for Windows - Standalone Installation…………………………………………. Page 16 
IV.Data Load in Hadoop System : eBook Upload…………………………………………………………………. Page 26 
V.Unstructured Data Transformation into Table/View in Hadoop System…………………………… Page 35 
VI.ODBC Driver Installation & Configuration on SAP HANA Server………………………………………. Page 40 
VII.Smart Data Access (Hadoop Data) in SAP HANA…………………………………………………………….. Page 47 
Prepared by Debajit Banerjee Page 1
SAP HANA Smart Data Access using Hadoop/Hive 
SAP HANA Smart Data Access 
Using the feature of SAP HANA Smart Data Access, it is possible to access remote data, without having to replicate the 
data to the SAP HANA database beforehand. The following are supported as sources(till 2013): 
 Teradata database, 
 SAP Sybase ASE, 
 SAP Sybase IQ, 
 Intel Distribution for Apache Hadoop, 
 SAP HANA. 
SAP HANA handles the data like local tables on the database. Automatic data type conversion makes it possible to map 
data types from databases connected via SAP HANA Smart Data Access to SAP HANA data types. 
Steps/Procedure : 
 Hadoop Installation 
 Data Load in Hadoop system 
 Activities on Unstructured Data in Hadoop system 
 ODBC Driver installation & configuration on HANA Server for Hadoop system data access 
 Smart Data Access in SAP HANA (through SAP HANA Studio), using HADOOP as a remote data source 
Assumption – SAP HANA System is already up & running. 
Scenario / Lab Setup Details : 
1) Hadoop Installation Pre-requisite : HDP 1.3 for Windows(Hortonworks Data Platform) - Standalone 
2) Hadoop Installation : HDP 1.3 for Windows(Hortonworks Data Platform) - Standalone – on Dell Laptop, OS Win7 
64bit – 8GB) 
3) SAP HANA Sever Installation(Lab Server running on VM – 24GB Standalone HANA 1.0 SPS 70) – SLES 11 SP1 
4) Validation of Hadoop Installation 
5) Data Load in Hadoop system : eBook Upload 
6) Unstructured Data transformation into table/views, so that HANA Server can understand Hadoop data. 
7) ODBC Driver installation & configuration on HANA Server 
8) Smart Data Access in SAP HANA (through SAP HANA Studio), using Hadoop as a remote data source 
Prepared by Debajit Banerjee Page 2
SAP HANA Smart Data Access using Hadoop/Hive 
I. HDP 1.3 for Windows Installation Pre-requisite 
- On HANA Server -Simba : Apache Hive ODBC Driver – Linux 64bit 
- On Hadoop System - Microsoft Visual C++ 2010 Redistributable Package (64bit) 
- On Hadoop System - Microsoft .NET Framework 4.0 
- On Hadoop System - JAVA JDK 1.6/1.7 and PATH, JAVA_HOME environment variables setup 
- On Hadoop System - Python 2.7 and PATH environment variable setup 
In Linux 
In Windows 
Prepared by Debajit Banerjee Page 3
SAP HANA Smart Data Access using Hadoop/Hive 
MS Visual C++ 2010 
Prepared by Debajit Banerjee Page 4
SAP HANA Smart Data Access using Hadoop/Hive 
MS .NET Framework 4 
Prepared by Debajit Banerjee Page 5
SAP HANA Smart Data Access using Hadoop/Hive 
Cancelling it as it gives the option of Repair !! 
Prepared by Debajit Banerjee Page 6
SAP HANA Smart Data Access using Hadoop/Hive 
Oracle JDK 
Prepared by Debajit Banerjee Page 7
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 8
SAP HANA Smart Data Access using Hadoop/Hive 
i. Open the Control Panel -> System pane and click on Advanced system 
settings. 
ii. Click on the Advanced tab. 
iii. Click the Environment Variables button. 
iv. Under System variables, click New. 
v. Enter the Variable Name as JAVA_HOME. 
vi. Enter the Variable Value, as the installation path for the Java Development Kit. 
For example, if your JDK is installed at C:Javajdk1.6.0_31, then you must 
provide this path to the Variable Value. 
vii. Click OK. 
viii. Click OK to close the Environment Variables dialog box. 
Prepared by Debajit Banerjee Page 9
SAP HANA Smart Data Access using Hadoop/Hive 
Python 
Prepared by Debajit Banerjee Page 10
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 11
SAP HANA Smart Data Access using Hadoop/Hive 
Like Oracle JDK above, C:Python27 also to be set in PATH variable. 
Prepared by Debajit Banerjee Page 12
SAP HANA Smart Data Access using Hadoop/Hive 
II. HDP 1.3 for Windows (Hortonworks Data Platform) Standalone Installation 
Now accordingly update the C:hdp-1.3.0.0-GAclusterproperties.txt as per following: 
Prepared by Debajit Banerjee Page 13
SAP HANA Smart Data Access using Hadoop/Hive 
In Command Window(Admin Privilege): 
msiexec /i "C:hdp-1.3.0.0-GAhdp-1.3.0.0.winpkg.msi" /lv "C:DEBAJITHDhdp13hdp.log" HDP_LAYOUT="C:hdp- 
1.3.0.0-GAclusterproperties.txt" HDP_DIR="C:hdphadoop" DESTROY_DATA="Yes" 
Prepared by Debajit Banerjee Page 14
SAP HANA Smart Data Access using Hadoop/Hive 
There are 3 shortcuts created in desktop area. 
Prepared by Debajit Banerjee Page 15
SAP HANA Smart Data Access using Hadoop/Hive 
III. Validation of HDP 1.3 for Windows - Standalone Installation 
Now we have to start Hadoop. 
Prepared by Debajit Banerjee Page 16
SAP HANA Smart Data Access using Hadoop/Hive 
Services were not started due to 0 bytes in .xml files(master & regionserver) 
Also rest/thrift/thrift2.xml are also of zero bytes. 
Prepared by Debajit Banerjee Page 17
SAP HANA Smart Data Access using Hadoop/Hive 
1) Navigate to the hbase install directory: C:hdphadoophbase-0.94.6.1.3.0.0-0380bin 
2) Open the hbase.cmd in a text editor 
3) Look for the line that says: 
set PATH=%PATH%;%HADOOP_HOME%bin 
4) Delete it or comment it out with a @rem 
Now Open a command prompt and navigate to hbase install: C:hdphadoophbase-0.94.6.1.3.0.0-0380bin 
Rebuild the .xml files: 
hbase.cmd --service master start > master.xml 
hbase.cmd --service regionserver start > regionserver.xml 
hbase.cmd --service rest > rest.xml 
hbase.cmd --service thrift > thrift.xml 
hbase.cmd --service thrift2 > thrift2.xml 
Prepared by Debajit Banerjee Page 18
SAP HANA Smart Data Access using Hadoop/Hive 
Now all the above .xml files having contents. 
Stop & Start Hadoop – now it is PERFECT. No more failed services. 
Prepared by Debajit Banerjee Page 19
SAP HANA Smart Data Access using Hadoop/Hive 
Hadoop Smoketest 
Prepared by Debajit Banerjee Page 20
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 21
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 22
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 23
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 24
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 25
SAP HANA Smart Data Access using Hadoop/Hive 
IV. Data Load in Hadoop System : eBook Upload 
Prepared by Debajit Banerjee Page 26
SAP HANA Smart Data Access using Hadoop/Hive 
Now to check whether Hadoop can read the same or not… 
It can…perfect !! 
Prepared by Debajit Banerjee Page 27
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 28
SAP HANA Smart Data Access using Hadoop/Hive 
After refresh 
Prepared by Debajit Banerjee Page 29
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 30
SAP HANA Smart Data Access using Hadoop/Hive 
From the Namenode server, click on “Browse the filesystem” 
Prepared by Debajit Banerjee Page 31
SAP HANA Smart Data Access using Hadoop/Hive 
Click on “user” 
Prepared by Debajit Banerjee Page 32
SAP HANA Smart Data Access using Hadoop/Hive 
Click on .txt file…one can see the book 
If one can click on .out file, then one can see the part file 
Prepared by Debajit Banerjee Page 33
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 34
SAP HANA Smart Data Access using Hadoop/Hive 
V. Unstructured Data Transformation into Table/View in Hadoop System 
Now we have to convert those files to be readable table format for HANA. For that we will use HIVE. 
Created a table called “debajit_wc” for wordcount part file. But right now, it is empty. 
Now loading Data. 
Prepared by Debajit Banerjee Page 35
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 36
SAP HANA Smart Data Access using Hadoop/Hive 
Configuration change required in hive-site.xml file. 
Prepared by Debajit Banerjee Page 37
SAP HANA Smart Data Access using Hadoop/Hive 
Just changed from http to thrift – servermode. 
And then restart Hadoop. 
Prepared by Debajit Banerjee Page 38
SAP HANA Smart Data Access using Hadoop/Hive 
Now we can test whether SAP HANA can connect to Hadoop…. 
Download the license file from email and deployed. Problem solved. 
Prepared by Debajit Banerjee Page 39
SAP HANA Smart Data Access using Hadoop/Hive 
VI. ODBC Driver Installation & Configuration on SAP HANA Server 
Renaming done at WinSCP level…. 
Prepared by Debajit Banerjee Page 40
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 41
SAP HANA Smart Data Access using Hadoop/Hive 
Stopping HANA System 
Prepared by Debajit Banerjee Page 42
SAP HANA Smart Data Access using Hadoop/Hive 
SIMBA Driver 
Changed items are as follows: 
Prepared by Debajit Banerjee Page 43
SAP HANA Smart Data Access using Hadoop/Hive 
UNIXODBC 
We have to upgrade it because of compatibility issue with Simba. 
Prepared by Debajit Banerjee Page 44
SAP HANA Smart Data Access using Hadoop/Hive 
ODBC.INI - DSN purpose 
Prepared by Debajit Banerjee Page 45
SAP HANA Smart Data Access using Hadoop/Hive 
Now added odbc information into customer.sh 
So, now the connection is working between HANA Server and Hadoop system from OS level. 
Prepared by Debajit Banerjee Page 46
SAP HANA Smart Data Access using Hadoop/Hive 
VII. Smart Data Access (Hadoop Data) in SAP HANA 
SAP HANA Studio 
Prepared by Debajit Banerjee Page 47
SAP HANA Smart Data Access using Hadoop/Hive 
So, now the connection is working between HANA Server and Hadoop system from SAP HANA Studio. 
Creating a schema in HP7 
Prepared by Debajit Banerjee Page 48
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 49
SAP HANA Smart Data Access using Hadoop/Hive 
Prepared by Debajit Banerjee Page 50
SAP HANA Smart Data Access using Hadoop/Hive 
One can do Query and Connection Monitoring when click on “Smart Data Access” under “Provisioning”. 
Prepared by Debajit Banerjee Page 51
SAP HANA Smart Data Access using Hadoop/Hive 
That’s all. 
**** END OF DOCUMENT **** 
Prepared by Debajit Banerjee Page 52

Contenu connexe

Tendances

Leveraging SAP HANA with Apache Hadoop and SAP Analytics
Leveraging SAP HANA with Apache Hadoop and SAP AnalyticsLeveraging SAP HANA with Apache Hadoop and SAP Analytics
Leveraging SAP HANA with Apache Hadoop and SAP AnalyticsMethod360
 
Sap hana platform sps 11 introduces new sap hana hadoop integration features
Sap hana platform sps 11 introduces new sap hana hadoop integration featuresSap hana platform sps 11 introduces new sap hana hadoop integration features
Sap hana platform sps 11 introduces new sap hana hadoop integration featuresAvinash Kumar Gautam
 
Leveraging SAP, Hadoop, and Big Data to Redefine Business
Leveraging SAP, Hadoop, and Big Data to Redefine BusinessLeveraging SAP, Hadoop, and Big Data to Redefine Business
Leveraging SAP, Hadoop, and Big Data to Redefine BusinessDataWorks Summit
 
HANA SPS07 Smart Data Access
HANA SPS07 Smart Data AccessHANA SPS07 Smart Data Access
HANA SPS07 Smart Data AccessSAP Technology
 
Building Information Platform - Integration of Hadoop with SAP HANA and HANA ...
Building Information Platform - Integration of Hadoop with SAP HANA and HANA ...Building Information Platform - Integration of Hadoop with SAP HANA and HANA ...
Building Information Platform - Integration of Hadoop with SAP HANA and HANA ...DataWorks Summit/Hadoop Summit
 
CIO Guide to Using SAP HANA Platform For Big Data
CIO Guide to Using SAP HANA Platform For Big DataCIO Guide to Using SAP HANA Platform For Big Data
CIO Guide to Using SAP HANA Platform For Big DataSnehanshu Shah
 
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...Ocean9, Inc.
 
What's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data QualityWhat's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data QualitySAP Technology
 
SAP HANA SPS09 - HANA IM Services
SAP HANA SPS09 - HANA IM ServicesSAP HANA SPS09 - HANA IM Services
SAP HANA SPS09 - HANA IM ServicesSAP Technology
 
Best Practices to Administer, Operate, and Monitor an SAP HANA System
Best Practices to Administer, Operate, and Monitor an SAP HANA SystemBest Practices to Administer, Operate, and Monitor an SAP HANA System
Best Practices to Administer, Operate, and Monitor an SAP HANA SystemSAPinsider Events
 
SAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development ToolsSAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development ToolsSAP Technology
 
SAP HANA and Apache Hadoop for Big Data Management (SF Scalable Systems Meetup)
SAP HANA and Apache Hadoop for Big Data Management (SF Scalable Systems Meetup)SAP HANA and Apache Hadoop for Big Data Management (SF Scalable Systems Meetup)
SAP HANA and Apache Hadoop for Big Data Management (SF Scalable Systems Meetup)Will Gardella
 
SAP HANA SPS09 - Dynamic Tiering
SAP HANA SPS09 - Dynamic TieringSAP HANA SPS09 - Dynamic Tiering
SAP HANA SPS09 - Dynamic TieringSAP Technology
 
SAP HANA Training - For Technical/BASIS administrators.
SAP HANA Training - For Technical/BASIS administrators. SAP HANA Training - For Technical/BASIS administrators.
SAP HANA Training - For Technical/BASIS administrators. Gaganpreet Singh
 
SAP HANA SPS09 - Smart Data Streaming
SAP HANA SPS09 - Smart Data StreamingSAP HANA SPS09 - Smart Data Streaming
SAP HANA SPS09 - Smart Data StreamingSAP Technology
 
Spark Usage in Enterprise Business Operations
Spark Usage in Enterprise Business OperationsSpark Usage in Enterprise Business Operations
Spark Usage in Enterprise Business OperationsSAP Technology
 

Tendances (20)

Leveraging SAP HANA with Apache Hadoop and SAP Analytics
Leveraging SAP HANA with Apache Hadoop and SAP AnalyticsLeveraging SAP HANA with Apache Hadoop and SAP Analytics
Leveraging SAP HANA with Apache Hadoop and SAP Analytics
 
SDA - POC
SDA - POCSDA - POC
SDA - POC
 
SAP HANA on Red Hat
SAP HANA on Red HatSAP HANA on Red Hat
SAP HANA on Red Hat
 
Sap hana platform sps 11 introduces new sap hana hadoop integration features
Sap hana platform sps 11 introduces new sap hana hadoop integration featuresSap hana platform sps 11 introduces new sap hana hadoop integration features
Sap hana platform sps 11 introduces new sap hana hadoop integration features
 
Leveraging SAP, Hadoop, and Big Data to Redefine Business
Leveraging SAP, Hadoop, and Big Data to Redefine BusinessLeveraging SAP, Hadoop, and Big Data to Redefine Business
Leveraging SAP, Hadoop, and Big Data to Redefine Business
 
HANA SPS07 Smart Data Access
HANA SPS07 Smart Data AccessHANA SPS07 Smart Data Access
HANA SPS07 Smart Data Access
 
Building Information Platform - Integration of Hadoop with SAP HANA and HANA ...
Building Information Platform - Integration of Hadoop with SAP HANA and HANA ...Building Information Platform - Integration of Hadoop with SAP HANA and HANA ...
Building Information Platform - Integration of Hadoop with SAP HANA and HANA ...
 
CIO Guide to Using SAP HANA Platform For Big Data
CIO Guide to Using SAP HANA Platform For Big DataCIO Guide to Using SAP HANA Platform For Big Data
CIO Guide to Using SAP HANA Platform For Big Data
 
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
Hadoop, Spark and Big Data Summit presentation with SAP HANA Vora and a path ...
 
What's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data QualityWhat's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data Quality
 
SAP HANA SPS09 - HANA IM Services
SAP HANA SPS09 - HANA IM ServicesSAP HANA SPS09 - HANA IM Services
SAP HANA SPS09 - HANA IM Services
 
Autodesk Technical Webinar: SAP HANA in-memory database
Autodesk Technical Webinar: SAP HANA in-memory databaseAutodesk Technical Webinar: SAP HANA in-memory database
Autodesk Technical Webinar: SAP HANA in-memory database
 
Best Practices to Administer, Operate, and Monitor an SAP HANA System
Best Practices to Administer, Operate, and Monitor an SAP HANA SystemBest Practices to Administer, Operate, and Monitor an SAP HANA System
Best Practices to Administer, Operate, and Monitor an SAP HANA System
 
Big data/Hadoop/HANA Basics
Big data/Hadoop/HANA BasicsBig data/Hadoop/HANA Basics
Big data/Hadoop/HANA Basics
 
SAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development ToolsSAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development Tools
 
SAP HANA and Apache Hadoop for Big Data Management (SF Scalable Systems Meetup)
SAP HANA and Apache Hadoop for Big Data Management (SF Scalable Systems Meetup)SAP HANA and Apache Hadoop for Big Data Management (SF Scalable Systems Meetup)
SAP HANA and Apache Hadoop for Big Data Management (SF Scalable Systems Meetup)
 
SAP HANA SPS09 - Dynamic Tiering
SAP HANA SPS09 - Dynamic TieringSAP HANA SPS09 - Dynamic Tiering
SAP HANA SPS09 - Dynamic Tiering
 
SAP HANA Training - For Technical/BASIS administrators.
SAP HANA Training - For Technical/BASIS administrators. SAP HANA Training - For Technical/BASIS administrators.
SAP HANA Training - For Technical/BASIS administrators.
 
SAP HANA SPS09 - Smart Data Streaming
SAP HANA SPS09 - Smart Data StreamingSAP HANA SPS09 - Smart Data Streaming
SAP HANA SPS09 - Smart Data Streaming
 
Spark Usage in Enterprise Business Operations
Spark Usage in Enterprise Business OperationsSpark Usage in Enterprise Business Operations
Spark Usage in Enterprise Business Operations
 

En vedette

SSL Configuration within SAP HANA
SSL Configuration within SAP HANASSL Configuration within SAP HANA
SSL Configuration within SAP HANADebajit Banerjee
 
An Overview of SAP S4/HANA
An Overview of SAP S4/HANAAn Overview of SAP S4/HANA
An Overview of SAP S4/HANADebajit Banerjee
 
How to free up memory in SAP HANA
How to free up memory in SAP HANAHow to free up memory in SAP HANA
How to free up memory in SAP HANADebajit Banerjee
 
Various Table Partitioning in SAP HANA
Various Table Partitioning in SAP HANAVarious Table Partitioning in SAP HANA
Various Table Partitioning in SAP HANADebajit Banerjee
 
Sybase job interview_preparation_guide
Sybase job interview_preparation_guideSybase job interview_preparation_guide
Sybase job interview_preparation_guideNV Suresh Kumar
 
Advanced analytics with sap hana and r
Advanced analytics with sap hana and rAdvanced analytics with sap hana and r
Advanced analytics with sap hana and rSAP Technology
 
Loading text data from SAP source systems
Loading text data from SAP source systemsLoading text data from SAP source systems
Loading text data from SAP source systemsMarcelo Honores
 
Oracle dataguard overview
Oracle dataguard overviewOracle dataguard overview
Oracle dataguard overviewaguswahyudi09
 
5004 implementing aggregate_awareness_in_sap_business_objects
5004 implementing aggregate_awareness_in_sap_business_objects5004 implementing aggregate_awareness_in_sap_business_objects
5004 implementing aggregate_awareness_in_sap_business_objectsYogeeswar Reddy
 
Accelerating the Journey to Your Cloud
Accelerating the Journey to Your CloudAccelerating the Journey to Your Cloud
Accelerating the Journey to Your CloudArraya Solutions
 
Hybrid Cloud A Journey to the Cloud by Peter Hellemans
Hybrid Cloud A Journey to the Cloud by Peter HellemansHybrid Cloud A Journey to the Cloud by Peter Hellemans
Hybrid Cloud A Journey to the Cloud by Peter HellemansNRB
 
sap sales and distribution tutorial ppt
sap sales and distribution tutorial pptsap sales and distribution tutorial ppt
sap sales and distribution tutorial pptchandusapsd
 
Data Science with Apache Spark - Crash Course - HS16SJ
Data Science with Apache Spark - Crash Course - HS16SJData Science with Apache Spark - Crash Course - HS16SJ
Data Science with Apache Spark - Crash Course - HS16SJDataWorks Summit/Hadoop Summit
 

En vedette (15)

SSL Configuration within SAP HANA
SSL Configuration within SAP HANASSL Configuration within SAP HANA
SSL Configuration within SAP HANA
 
An Overview of SAP S4/HANA
An Overview of SAP S4/HANAAn Overview of SAP S4/HANA
An Overview of SAP S4/HANA
 
How to free up memory in SAP HANA
How to free up memory in SAP HANAHow to free up memory in SAP HANA
How to free up memory in SAP HANA
 
Various Table Partitioning in SAP HANA
Various Table Partitioning in SAP HANAVarious Table Partitioning in SAP HANA
Various Table Partitioning in SAP HANA
 
Computacón tema 2
Computacón tema 2Computacón tema 2
Computacón tema 2
 
Sybase job interview_preparation_guide
Sybase job interview_preparation_guideSybase job interview_preparation_guide
Sybase job interview_preparation_guide
 
Advanced analytics with sap hana and r
Advanced analytics with sap hana and rAdvanced analytics with sap hana and r
Advanced analytics with sap hana and r
 
Loading text data from SAP source systems
Loading text data from SAP source systemsLoading text data from SAP source systems
Loading text data from SAP source systems
 
RDS Supporting SAP HANA
RDS Supporting SAP HANARDS Supporting SAP HANA
RDS Supporting SAP HANA
 
Oracle dataguard overview
Oracle dataguard overviewOracle dataguard overview
Oracle dataguard overview
 
5004 implementing aggregate_awareness_in_sap_business_objects
5004 implementing aggregate_awareness_in_sap_business_objects5004 implementing aggregate_awareness_in_sap_business_objects
5004 implementing aggregate_awareness_in_sap_business_objects
 
Accelerating the Journey to Your Cloud
Accelerating the Journey to Your CloudAccelerating the Journey to Your Cloud
Accelerating the Journey to Your Cloud
 
Hybrid Cloud A Journey to the Cloud by Peter Hellemans
Hybrid Cloud A Journey to the Cloud by Peter HellemansHybrid Cloud A Journey to the Cloud by Peter Hellemans
Hybrid Cloud A Journey to the Cloud by Peter Hellemans
 
sap sales and distribution tutorial ppt
sap sales and distribution tutorial pptsap sales and distribution tutorial ppt
sap sales and distribution tutorial ppt
 
Data Science with Apache Spark - Crash Course - HS16SJ
Data Science with Apache Spark - Crash Course - HS16SJData Science with Apache Spark - Crash Course - HS16SJ
Data Science with Apache Spark - Crash Course - HS16SJ
 

Similaire à Hadoop integration with SAP HANA

[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...RUPAK BHATTACHARJEE
 
Hadoop Administration Training | Hadoop Administration Tutorial | Hadoop Admi...
Hadoop Administration Training | Hadoop Administration Tutorial | Hadoop Admi...Hadoop Administration Training | Hadoop Administration Tutorial | Hadoop Admi...
Hadoop Administration Training | Hadoop Administration Tutorial | Hadoop Admi...Edureka!
 
Big data Hadoop Analytic and Data warehouse comparison guide
Big data Hadoop Analytic and Data warehouse comparison guideBig data Hadoop Analytic and Data warehouse comparison guide
Big data Hadoop Analytic and Data warehouse comparison guideDanairat Thanabodithammachari
 
Srikanth hadoop 3.6yrs_hyd
Srikanth hadoop 3.6yrs_hydSrikanth hadoop 3.6yrs_hyd
Srikanth hadoop 3.6yrs_hydsrikanth K
 
Big data hadooop analytic and data warehouse comparison guide
Big data hadooop analytic and data warehouse comparison guideBig data hadooop analytic and data warehouse comparison guide
Big data hadooop analytic and data warehouse comparison guideDanairat Thanabodithammachari
 
Webinar: Ways to Succeed with Hadoop in 2015
Webinar: Ways to Succeed with Hadoop in 2015Webinar: Ways to Succeed with Hadoop in 2015
Webinar: Ways to Succeed with Hadoop in 2015Edureka!
 
SAP HANA - Big Data and Fast Data
SAP HANA - Big Data and Fast DataSAP HANA - Big Data and Fast Data
SAP HANA - Big Data and Fast DataVitaliy Rudnytskiy
 
HDInsight Informative articles
HDInsight Informative articlesHDInsight Informative articles
HDInsight Informative articlesKaran Gulati
 
HBase Global Indexing to support large-scale data ingestion at Uber
HBase Global Indexing to support large-scale data ingestion at UberHBase Global Indexing to support large-scale data ingestion at Uber
HBase Global Indexing to support large-scale data ingestion at UberDataWorks Summit
 
Hadoop installation, Configuration, and Mapreduce program
Hadoop installation, Configuration, and Mapreduce programHadoop installation, Configuration, and Mapreduce program
Hadoop installation, Configuration, and Mapreduce programPraveen Kumar Donta
 
Data 360 Conference: Introduction to Big Data, Hadoop and Big Data Analytics
Data 360 Conference: Introduction to Big Data, Hadoop and Big Data AnalyticsData 360 Conference: Introduction to Big Data, Hadoop and Big Data Analytics
Data 360 Conference: Introduction to Big Data, Hadoop and Big Data AnalyticsAvkash Chauhan
 
How is sap data services unique for sap hana integration
How is sap data services unique for sap hana integrationHow is sap data services unique for sap hana integration
How is sap data services unique for sap hana integrationFlavio Alejandro Corradini
 
Using Hot and Cold Data in your SAP Analytics Landscape
Using Hot and Cold Data in your SAP Analytics LandscapeUsing Hot and Cold Data in your SAP Analytics Landscape
Using Hot and Cold Data in your SAP Analytics Landscapesapbisignz
 
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA reportSAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA reportRonald Konijnenburg
 
Windows Azure HDInsight Service
Windows Azure HDInsight ServiceWindows Azure HDInsight Service
Windows Azure HDInsight ServiceNeil Mackenzie
 

Similaire à Hadoop integration with SAP HANA (20)

[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
[BTP HANA Cloud Database] _ How to access HANA Cloud Database & HDI Container...
 
Hadoop Administration Training | Hadoop Administration Tutorial | Hadoop Admi...
Hadoop Administration Training | Hadoop Administration Tutorial | Hadoop Admi...Hadoop Administration Training | Hadoop Administration Tutorial | Hadoop Admi...
Hadoop Administration Training | Hadoop Administration Tutorial | Hadoop Admi...
 
Big data Hadoop Analytic and Data warehouse comparison guide
Big data Hadoop Analytic and Data warehouse comparison guideBig data Hadoop Analytic and Data warehouse comparison guide
Big data Hadoop Analytic and Data warehouse comparison guide
 
Srikanth hadoop 3.6yrs_hyd
Srikanth hadoop 3.6yrs_hydSrikanth hadoop 3.6yrs_hyd
Srikanth hadoop 3.6yrs_hyd
 
Big data hadooop analytic and data warehouse comparison guide
Big data hadooop analytic and data warehouse comparison guideBig data hadooop analytic and data warehouse comparison guide
Big data hadooop analytic and data warehouse comparison guide
 
Webinar: Ways to Succeed with Hadoop in 2015
Webinar: Ways to Succeed with Hadoop in 2015Webinar: Ways to Succeed with Hadoop in 2015
Webinar: Ways to Succeed with Hadoop in 2015
 
Hadoop in action
Hadoop in actionHadoop in action
Hadoop in action
 
SAP HANA - Big Data and Fast Data
SAP HANA - Big Data and Fast DataSAP HANA - Big Data and Fast Data
SAP HANA - Big Data and Fast Data
 
HDInsight Informative articles
HDInsight Informative articlesHDInsight Informative articles
HDInsight Informative articles
 
HBase Global Indexing to support large-scale data ingestion at Uber
HBase Global Indexing to support large-scale data ingestion at UberHBase Global Indexing to support large-scale data ingestion at Uber
HBase Global Indexing to support large-scale data ingestion at Uber
 
Hadoop installation, Configuration, and Mapreduce program
Hadoop installation, Configuration, and Mapreduce programHadoop installation, Configuration, and Mapreduce program
Hadoop installation, Configuration, and Mapreduce program
 
Data 360 Conference: Introduction to Big Data, Hadoop and Big Data Analytics
Data 360 Conference: Introduction to Big Data, Hadoop and Big Data AnalyticsData 360 Conference: Introduction to Big Data, Hadoop and Big Data Analytics
Data 360 Conference: Introduction to Big Data, Hadoop and Big Data Analytics
 
Hadoop
HadoopHadoop
Hadoop
 
Hadoop content
Hadoop contentHadoop content
Hadoop content
 
How is sap data services unique for sap hana integration
How is sap data services unique for sap hana integrationHow is sap data services unique for sap hana integration
How is sap data services unique for sap hana integration
 
Using Hot and Cold Data in your SAP Analytics Landscape
Using Hot and Cold Data in your SAP Analytics LandscapeUsing Hot and Cold Data in your SAP Analytics Landscape
Using Hot and Cold Data in your SAP Analytics Landscape
 
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA reportSAP HANA Developer Access Beta program - 7 steps towards your first HANA report
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
 
Bigdata
BigdataBigdata
Bigdata
 
Run a hive query from azure portal
Run a hive query from azure portalRun a hive query from azure portal
Run a hive query from azure portal
 
Windows Azure HDInsight Service
Windows Azure HDInsight ServiceWindows Azure HDInsight Service
Windows Azure HDInsight Service
 

Dernier

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Dernier (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Hadoop integration with SAP HANA

  • 1. SAP HANA Smart Data Access using Hadoop/Hive SAP HANA Smart Data Access using Hadoop/Hive ================================================================================================= By Debajit Banerjee Table of Contents Introduction about SAP HANA Smart Data Access………………………………………………………………. Page 02 I.HDP 1.3 for Windows Installation Pre-requisite……………………………………………………………….. Page 03 II.HDP 1.3 for Windows (Hortonworks Data Platform) Standalone Installation………………….. Page 13 III.Validation of HDP 1.3 for Windows - Standalone Installation…………………………………………. Page 16 IV.Data Load in Hadoop System : eBook Upload…………………………………………………………………. Page 26 V.Unstructured Data Transformation into Table/View in Hadoop System…………………………… Page 35 VI.ODBC Driver Installation & Configuration on SAP HANA Server………………………………………. Page 40 VII.Smart Data Access (Hadoop Data) in SAP HANA…………………………………………………………….. Page 47 Prepared by Debajit Banerjee Page 1
  • 2. SAP HANA Smart Data Access using Hadoop/Hive SAP HANA Smart Data Access Using the feature of SAP HANA Smart Data Access, it is possible to access remote data, without having to replicate the data to the SAP HANA database beforehand. The following are supported as sources(till 2013):  Teradata database,  SAP Sybase ASE,  SAP Sybase IQ,  Intel Distribution for Apache Hadoop,  SAP HANA. SAP HANA handles the data like local tables on the database. Automatic data type conversion makes it possible to map data types from databases connected via SAP HANA Smart Data Access to SAP HANA data types. Steps/Procedure :  Hadoop Installation  Data Load in Hadoop system  Activities on Unstructured Data in Hadoop system  ODBC Driver installation & configuration on HANA Server for Hadoop system data access  Smart Data Access in SAP HANA (through SAP HANA Studio), using HADOOP as a remote data source Assumption – SAP HANA System is already up & running. Scenario / Lab Setup Details : 1) Hadoop Installation Pre-requisite : HDP 1.3 for Windows(Hortonworks Data Platform) - Standalone 2) Hadoop Installation : HDP 1.3 for Windows(Hortonworks Data Platform) - Standalone – on Dell Laptop, OS Win7 64bit – 8GB) 3) SAP HANA Sever Installation(Lab Server running on VM – 24GB Standalone HANA 1.0 SPS 70) – SLES 11 SP1 4) Validation of Hadoop Installation 5) Data Load in Hadoop system : eBook Upload 6) Unstructured Data transformation into table/views, so that HANA Server can understand Hadoop data. 7) ODBC Driver installation & configuration on HANA Server 8) Smart Data Access in SAP HANA (through SAP HANA Studio), using Hadoop as a remote data source Prepared by Debajit Banerjee Page 2
  • 3. SAP HANA Smart Data Access using Hadoop/Hive I. HDP 1.3 for Windows Installation Pre-requisite - On HANA Server -Simba : Apache Hive ODBC Driver – Linux 64bit - On Hadoop System - Microsoft Visual C++ 2010 Redistributable Package (64bit) - On Hadoop System - Microsoft .NET Framework 4.0 - On Hadoop System - JAVA JDK 1.6/1.7 and PATH, JAVA_HOME environment variables setup - On Hadoop System - Python 2.7 and PATH environment variable setup In Linux In Windows Prepared by Debajit Banerjee Page 3
  • 4. SAP HANA Smart Data Access using Hadoop/Hive MS Visual C++ 2010 Prepared by Debajit Banerjee Page 4
  • 5. SAP HANA Smart Data Access using Hadoop/Hive MS .NET Framework 4 Prepared by Debajit Banerjee Page 5
  • 6. SAP HANA Smart Data Access using Hadoop/Hive Cancelling it as it gives the option of Repair !! Prepared by Debajit Banerjee Page 6
  • 7. SAP HANA Smart Data Access using Hadoop/Hive Oracle JDK Prepared by Debajit Banerjee Page 7
  • 8. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 8
  • 9. SAP HANA Smart Data Access using Hadoop/Hive i. Open the Control Panel -> System pane and click on Advanced system settings. ii. Click on the Advanced tab. iii. Click the Environment Variables button. iv. Under System variables, click New. v. Enter the Variable Name as JAVA_HOME. vi. Enter the Variable Value, as the installation path for the Java Development Kit. For example, if your JDK is installed at C:Javajdk1.6.0_31, then you must provide this path to the Variable Value. vii. Click OK. viii. Click OK to close the Environment Variables dialog box. Prepared by Debajit Banerjee Page 9
  • 10. SAP HANA Smart Data Access using Hadoop/Hive Python Prepared by Debajit Banerjee Page 10
  • 11. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 11
  • 12. SAP HANA Smart Data Access using Hadoop/Hive Like Oracle JDK above, C:Python27 also to be set in PATH variable. Prepared by Debajit Banerjee Page 12
  • 13. SAP HANA Smart Data Access using Hadoop/Hive II. HDP 1.3 for Windows (Hortonworks Data Platform) Standalone Installation Now accordingly update the C:hdp-1.3.0.0-GAclusterproperties.txt as per following: Prepared by Debajit Banerjee Page 13
  • 14. SAP HANA Smart Data Access using Hadoop/Hive In Command Window(Admin Privilege): msiexec /i "C:hdp-1.3.0.0-GAhdp-1.3.0.0.winpkg.msi" /lv "C:DEBAJITHDhdp13hdp.log" HDP_LAYOUT="C:hdp- 1.3.0.0-GAclusterproperties.txt" HDP_DIR="C:hdphadoop" DESTROY_DATA="Yes" Prepared by Debajit Banerjee Page 14
  • 15. SAP HANA Smart Data Access using Hadoop/Hive There are 3 shortcuts created in desktop area. Prepared by Debajit Banerjee Page 15
  • 16. SAP HANA Smart Data Access using Hadoop/Hive III. Validation of HDP 1.3 for Windows - Standalone Installation Now we have to start Hadoop. Prepared by Debajit Banerjee Page 16
  • 17. SAP HANA Smart Data Access using Hadoop/Hive Services were not started due to 0 bytes in .xml files(master & regionserver) Also rest/thrift/thrift2.xml are also of zero bytes. Prepared by Debajit Banerjee Page 17
  • 18. SAP HANA Smart Data Access using Hadoop/Hive 1) Navigate to the hbase install directory: C:hdphadoophbase-0.94.6.1.3.0.0-0380bin 2) Open the hbase.cmd in a text editor 3) Look for the line that says: set PATH=%PATH%;%HADOOP_HOME%bin 4) Delete it or comment it out with a @rem Now Open a command prompt and navigate to hbase install: C:hdphadoophbase-0.94.6.1.3.0.0-0380bin Rebuild the .xml files: hbase.cmd --service master start > master.xml hbase.cmd --service regionserver start > regionserver.xml hbase.cmd --service rest > rest.xml hbase.cmd --service thrift > thrift.xml hbase.cmd --service thrift2 > thrift2.xml Prepared by Debajit Banerjee Page 18
  • 19. SAP HANA Smart Data Access using Hadoop/Hive Now all the above .xml files having contents. Stop & Start Hadoop – now it is PERFECT. No more failed services. Prepared by Debajit Banerjee Page 19
  • 20. SAP HANA Smart Data Access using Hadoop/Hive Hadoop Smoketest Prepared by Debajit Banerjee Page 20
  • 21. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 21
  • 22. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 22
  • 23. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 23
  • 24. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 24
  • 25. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 25
  • 26. SAP HANA Smart Data Access using Hadoop/Hive IV. Data Load in Hadoop System : eBook Upload Prepared by Debajit Banerjee Page 26
  • 27. SAP HANA Smart Data Access using Hadoop/Hive Now to check whether Hadoop can read the same or not… It can…perfect !! Prepared by Debajit Banerjee Page 27
  • 28. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 28
  • 29. SAP HANA Smart Data Access using Hadoop/Hive After refresh Prepared by Debajit Banerjee Page 29
  • 30. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 30
  • 31. SAP HANA Smart Data Access using Hadoop/Hive From the Namenode server, click on “Browse the filesystem” Prepared by Debajit Banerjee Page 31
  • 32. SAP HANA Smart Data Access using Hadoop/Hive Click on “user” Prepared by Debajit Banerjee Page 32
  • 33. SAP HANA Smart Data Access using Hadoop/Hive Click on .txt file…one can see the book If one can click on .out file, then one can see the part file Prepared by Debajit Banerjee Page 33
  • 34. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 34
  • 35. SAP HANA Smart Data Access using Hadoop/Hive V. Unstructured Data Transformation into Table/View in Hadoop System Now we have to convert those files to be readable table format for HANA. For that we will use HIVE. Created a table called “debajit_wc” for wordcount part file. But right now, it is empty. Now loading Data. Prepared by Debajit Banerjee Page 35
  • 36. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 36
  • 37. SAP HANA Smart Data Access using Hadoop/Hive Configuration change required in hive-site.xml file. Prepared by Debajit Banerjee Page 37
  • 38. SAP HANA Smart Data Access using Hadoop/Hive Just changed from http to thrift – servermode. And then restart Hadoop. Prepared by Debajit Banerjee Page 38
  • 39. SAP HANA Smart Data Access using Hadoop/Hive Now we can test whether SAP HANA can connect to Hadoop…. Download the license file from email and deployed. Problem solved. Prepared by Debajit Banerjee Page 39
  • 40. SAP HANA Smart Data Access using Hadoop/Hive VI. ODBC Driver Installation & Configuration on SAP HANA Server Renaming done at WinSCP level…. Prepared by Debajit Banerjee Page 40
  • 41. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 41
  • 42. SAP HANA Smart Data Access using Hadoop/Hive Stopping HANA System Prepared by Debajit Banerjee Page 42
  • 43. SAP HANA Smart Data Access using Hadoop/Hive SIMBA Driver Changed items are as follows: Prepared by Debajit Banerjee Page 43
  • 44. SAP HANA Smart Data Access using Hadoop/Hive UNIXODBC We have to upgrade it because of compatibility issue with Simba. Prepared by Debajit Banerjee Page 44
  • 45. SAP HANA Smart Data Access using Hadoop/Hive ODBC.INI - DSN purpose Prepared by Debajit Banerjee Page 45
  • 46. SAP HANA Smart Data Access using Hadoop/Hive Now added odbc information into customer.sh So, now the connection is working between HANA Server and Hadoop system from OS level. Prepared by Debajit Banerjee Page 46
  • 47. SAP HANA Smart Data Access using Hadoop/Hive VII. Smart Data Access (Hadoop Data) in SAP HANA SAP HANA Studio Prepared by Debajit Banerjee Page 47
  • 48. SAP HANA Smart Data Access using Hadoop/Hive So, now the connection is working between HANA Server and Hadoop system from SAP HANA Studio. Creating a schema in HP7 Prepared by Debajit Banerjee Page 48
  • 49. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 49
  • 50. SAP HANA Smart Data Access using Hadoop/Hive Prepared by Debajit Banerjee Page 50
  • 51. SAP HANA Smart Data Access using Hadoop/Hive One can do Query and Connection Monitoring when click on “Smart Data Access” under “Provisioning”. Prepared by Debajit Banerjee Page 51
  • 52. SAP HANA Smart Data Access using Hadoop/Hive That’s all. **** END OF DOCUMENT **** Prepared by Debajit Banerjee Page 52