A SAP HANA and HADOOP Rapid Deployment Open Source Solutions (Draft More to Come) Draft
1
Community Contributors: Minesh Amin and Jothi Periasamy
2
Community Contributors: Minesh Amin and Jothi Periasamy
3
Community Contributors: Minesh Amin and Jothi Periasamy
SAP HANA
4
Community Contributors: Minesh Amin and Jothi Periasamy
Query 1 runs against SAP HANA and takes 1 second to run Query2 runs against Hadoop/Hive table and takes 66 seconds to run (which is normal for Hadoop)
When executing above Query2 under the covers in Hadoop a map-reduce job get executed to get the data from Hive table.
5
Community Contributors: Minesh Amin and Jothi Periasamy
6
Community Contributors: Minesh Amin and Jothi Periasamy
7
Community Contributors: Minesh Amin and Jothi Periasamy
8
Community Contributors: Minesh Amin and Jothi Periasamy
Copied to Hadoop fs
[root@n1 test]# hadoop fs -ls /tmp/test/2012_weblog* Found 1 items -rw-r--r-- 3 root hdfs 12170 2012-09-10 11:10 /tmp/test/2012_weblog.txt
9
Community Contributors: Minesh Amin and Jothi Periasamy
Step 2 In SAP Information Design Tool, created 2 connections 1) To Hadoop (hive.cns) 2) To HANA (hana.cnx) see below
Steps for Hadoop: 1) Create New Relational Connection (hive.cnx) where I specified my Hadoop nodename server ie. n1.example.com:10000
10
Community Contributors: Minesh Amin and Jothi Periasamy
2) Create Data Foundation hive 2012 weblog.dfx 3) Create Business Layer Hadoop WebLogDM.blx 4) Publish the connection hive.cnx to CMC (Central Management Control server) 5) Publish Business Layer Hadoop WebLogDM.blx to CMC 6) Once connection and Business Layer is published to CMC, they can be then accessed in Webi.
Steps for HANA: 1) Create New Relational Connection (hana.cnx) where I specified my HANA database ie. hanasrv:30015
11
Community Contributors: Minesh Amin and Jothi Periasamy
12
Community Contributors: Minesh Amin and Jothi Periasamy
Note: As a community service , Our open source rapid deployment solutions group currently focuses on developing an end-to-end Customer Behavioral and Fraud Analysis using SAP CRM , SAP SD and SAP FICO data along with social media information We will keep informed about our progress on this open source rapid deployment solutions, and also our SAP HANA book project.
13
Community Contributors: Minesh Amin and Jothi Periasamy