email trust in mobicloud using hadoop framework updates

18
CSE 548 Advanced Computer Network Security Email Trust in MobiCloud using Hadoop Framework Updates Sayan Kole Jaya Chakladar Group No: 1

Upload: mercedes-douglas

Post on 02-Jan-2016

34 views

Category:

Documents


0 download

DESCRIPTION

Email Trust in MobiCloud using Hadoop Framework Updates. Sayan Kole Jaya Chakladar Group No: 1. Overview. Installation of Hadoop Single node Distributed cluster Understanding the existing email trust system and its suitability as a MapReduce application. Project Tasks (updated). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Email Trust in MobiCloud using Hadoop Framework Updates

CSE 548 Advanced Computer Network Security

Email Trust in MobiCloud using Hadoop Framework

Updates

Sayan Kole

Jaya Chakladar

Group No: 1

Page 2: Email Trust in MobiCloud using Hadoop Framework Updates

Overview

• Installation of Hadoop– Single node– Distributed cluster

• Understanding the existing email trust system and its suitability as a MapReduce application

Page 3: Email Trust in MobiCloud using Hadoop Framework Updates

Project Tasks (updated)

Tasks Responsible Status

Learn MapReduce and Hadoop Jaya & Sayan 100 %

Install and configure Hadoop in MobiCloud

Jaya & Sayan 60 %

Develop UI web application Jaya 15 %

Search mapper algorithm Sayan 25 %

Search reduction algorithm Jaya 25 %

HDFS data store creation and updates

Jaya & Sayan 60 %

Testing and problem resolution Jaya & Sayan Not started

Delivery and demo Jaya & Sayan Not started

Page 4: Email Trust in MobiCloud using Hadoop Framework Updates

Software and Hardware Requirements

• Hadoop

• Java 6

• SSH

• Database software e.g. MySQL or Apache HDFS

• 4 virtual machines

Page 5: Email Trust in MobiCloud using Hadoop Framework Updates

MapReduce EMT Application

• Tier 1 is not suitable as Map Reduce application – onetime job

• Tier 2 Email Trust

• Unknown trust evaluation

• Propagate trust amongst a web of users.

• Directed graph

Page 6: Email Trust in MobiCloud using Hadoop Framework Updates

MapReduce EMT Application

• Find paths between s and d

• Use path weights as trust values

• Incorporate number of hops

Page 7: Email Trust in MobiCloud using Hadoop Framework Updates

Hadoop Single Cluster Installation Prerequisites

• Java 6– Add the canonical partner repository to the apt repository– Update the source list– Install JDK– Select Sun’s Java as the default on the machine

• Add a dedicated Hadoop system user• Configure SSH

– Configure SSH access for Hadoop system user– Generate an SSH key for Hadoop user– Enable SSH access to local mahine with the new key created

• Disable IPv6

Page 8: Email Trust in MobiCloud using Hadoop Framework Updates

Hadoop Single Cluster Installation

• Download Hadoop from Apache mirror sites and extract

• Set JAVA_HOME in /conf/hadoop-env.sh• Configure core-site.xml

– Set path for hadoop.tmp.dir to local directory– Set the HDFS variable

• Configure mapred-site.xml to set the host and port of mapReduce job tracker.

• Configure hdfs-site.xml to specify the number of replications for each file in the system.

Page 9: Email Trust in MobiCloud using Hadoop Framework Updates

Hadoop Single Cluster Installation

• Format the Hadoop HDFS name node – make sure data is backed up

• Start a single node cluster, this starts the name node, data node, job tracker & task tracker.

Page 10: Email Trust in MobiCloud using Hadoop Framework Updates

Hadoop Multiple Cluster Installation

• Setup two single node clusters• Designate one as master and the other one as slave• Shutdown clusters in both machines• Update /etc/hosts on both machines with appropriate names (master and

slave) and addresses• SSH configuration between master and slave

– Hadoop user must connect to users master and slave– Password less connection

Page 11: Email Trust in MobiCloud using Hadoop Framework Updates

Hadoop Multiple Cluster Installation

• Master node runs master daemons like name node for HDFS and job tracker•Both nodes run slave daemons like data node for HDFS and task tracker

Page 12: Email Trust in MobiCloud using Hadoop Framework Updates

Hadoop Multiple Cluster Installation

• Master vs. Slave configuration– On master /conf/master lists the master– On slaves, /conf/slaves lists two entries master and slave

• Update core-site.xml on all machines to setup fs.default.name as hdfs://master:<Port number>

• Update mapred-site.xml on all sites to fix mapread.job.tracker as master:<port number>• Change dfs.replication variable in hdfs-site.xml to the number of sites avaiable , 4 in our

case.• Format the name node

Page 13: Email Trust in MobiCloud using Hadoop Framework Updates

Hadoop Multiple Cluster Installation

• Start up the multi-node cluster– Start HDFS daemons like name node and data node

daemons in master and slaves respectively– Start Map reduce daemons like job tracker on master

and task tracker in slaves

Page 14: Email Trust in MobiCloud using Hadoop Framework Updates

Word Count Application – Single Node Hadoop

Page 15: Email Trust in MobiCloud using Hadoop Framework Updates

Word Count Output

Page 16: Email Trust in MobiCloud using Hadoop Framework Updates

Challenges faced so far

• Multi node setup errors• Setup SSH without password requests• Typically Hadoop is distributed across multiple IPs, here is

MobiCloud it is being distributed in the same IP within multiple VMs

• Big assumption – Tier 2 Email Trust is a good MapReduce application

Page 17: Email Trust in MobiCloud using Hadoop Framework Updates

Project Time Line

Page 18: Email Trust in MobiCloud using Hadoop Framework Updates

Q & A