-
Notifications
You must be signed in to change notification settings - Fork 2
/
praca.tex
170 lines (122 loc) · 4.6 KB
/
praca.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
\documentclass{pracamgr}
\usepackage{amsmath, amsfonts,amssymb,amsthm,epsfig,epstopdf,url,array,bm,color}
%\usepackage{polski}
%\usepackage[english,polish]{babel}
\usepackage[utf8]{inputenc}
\usepackage[OT4]{fontenc}
\usepackage{verbatim}
\usepackage{lmodern}
\usepackage[section]{placeins}
\usepackage[font=small]{caption}
\usepackage{color}
\usepackage[section]{placeins}
\usepackage{fancyvrb}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{clrscode3e}
\usepackage[percent]{overpic}
\usepackage{tikz}
\usepackage{varwidth}
\usetikzlibrary{arrows}
\usepackage{xspace}
%\overfullrule=2cm
\fvset{frame=single,framesep=1mm,fontsize=\scriptsize,numbers=left,framerule=.3mm,numbersep=1mm,commandchars=\\\{\}}
\definecolor{vdarkgray}{gray}{0.25}
% kindle page geometry (no page numbers)
%\usepackage[papersize={3.6in,4.8in},hmargin=0.1in,vmargin={0.1in,0.1in}]{geometry}
%\usepackage{microtype} % microtypography, reduces hyphenation
\usepackage{program}
%\usepackage{tikz}
%\usetikzlibrary{arrows}
% Dane magistranta:
\author{Marek Rogala}
\nralbumu{277570}
\title{Declarative queries on large graphs and their distributed evaluation}
\tytulang{Deklaratywne zapytania na dużych grafach i ich rozproszone wyliczanie}
\kierunek{Computer Science}
\opiekun{dr Jacek Sroka\\
Institute of Informatics\\
}
\date{December 2014}
\dziedzina{
11.3 Computer Science\\
}
\klasyfikacja{Information Systems: Query languages}
% Słowa kluczowe:
%\keywords{Przetwarzanie dużych grafów, Deklaratywne języki zapytań, Obliczenia na dużych zbiorach danych, Datalog, SociaLite, Apache Spark, Hadoop.}
\keywords{Large graphs processing, Declarative query languages, Computations on large datasets, Datalog, SociaLite, Apache Spark, RDD, Hadoop, Pregel}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem*{cor}{Corollary}
\theoremstyle{definition}
\newtheorem{defn}{Definition}[section]
\newtheorem{conj}{Conjecture}[section]
\newtheorem{exmp}{Example}[section]
\theoremstyle{remark}
\newtheorem*{rem}{Remark}
\newtheorem*{note}{Note}
\newtheorem*{prof}{Proof}
\renewcommand\qedsymbol{$\blacksquare$}
\newcommand{\todo}[1]{\textcolor{red}{\fbox{TODO} #1}}
\newcommand{\pomysl}[1]{\textcolor{cyan}{\fbox{DO ROZWAŻENIA} #1}}
\newcommand{\datalogra}{Datalog$^{RA}$\xspace}
\newcommand{\datalogneg}{Datalog$^{\neg}$\xspace}
\newcommand{\aggfun}{\textit{aggfun}\xspace}
\newcommand{\aggcol}{\textit{aggcol}\xspace}
\newcommand{\assign}{:-}
\newcommand{\margp}[2]{{{\color{magenta} \emph{#1} \color{blue} #2}}}
\newcommand{\ps}{\mathcal{P} }
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
\newenvironment{centab}[1]{\begin{center}\begin{tabular}{#1}}{\end{tabular}\end{center}}
\newcommand*{\QEDA}{\hfill\ensuremath{\blacksquare}}
\newcommand{\edb}{\textit{edb}\xspace}
\newcommand{\idb}{\textit{idb}\xspace}
\newcommand{\inst}{\textit{inst}\xspace}
\newcommand{\sch}{\textit{sch}\xspace}
\newcommand{\adom}{\textit{adom}\xspace}
\newcommand{\narrow}[1]{\begin{changemargin}{2cm}{2cm} #1 \end{changemargin}}
\newcommand{\relat}[2]{$\textsc{#1}#2$}
\newcommand{\rdprog}[2]{
\narrow{
#1
\begin{flalign*}
#2
\end{flalign*}
}
}
\newcommand{\dprog}[4]{
\begin{figure}[!htbp]
\narrow{
#1
\begin{flalign*}
#2
\end{flalign*}
\caption{#3}
\label{#4}
}
\end{figure}
}
% koniec definicji
\begin{document}
\maketitle
\begin{abstract}
Distributed computations on graphs are becoming increasingly important with the emergence of large graphs such as social networks and the Web that contain huge amounts of useful information.
Currently existing solutions, such as iterated MapReduce, Pregel and GraphLab are relatively difficult and require a significant level of fluency in programming.
This thesis presents an implementation of a tool which extends a distributed computations platform, Apache Spark, with the capability of executing queries written in a variant of a declarative query language, Datalog, especially extended to better support graph algorithms.
This approach makes it possible to express graph algorithms in a declarative query language, accessible to a broader group of users than typical programming languages, and execute them on an existing infrastructure for distributed computations.
\end{abstract}
\tableofcontents
%\listoffigures
%\listoftables
\input{0introduction.tex}
\input{1datalog.tex}
\input{2pregel.tex}
\input{3socialite.tex}
\input{5implementation.tex}
\input{6summary.tex}
\appendix
\input{appendix.tex}
\input{7bibliography.tex}
\end{document}