HTrace: Tracing in HBase and HDFS
HBase Meetup on the Night before Strata/HW @ Google in Chelsea
2014/10/15
NTT DATA
Masatake Iwasaki (OSS Professional Services)
The document discusses using Apache Spark's GraphX library to analyze large graph datasets. It provides an overview of graph data structures and PageRank, describes how GraphX implements graph algorithms like PageRank using a Pregel-like approach, and demonstrates analyzing large street network graphs from OpenStreetMap data to compare cities based on normalized PageRank distributions.
HTrace: Tracing in HBase and HDFS
HBase Meetup on the Night before Strata/HW @ Google in Chelsea
2014/10/15
NTT DATA
Masatake Iwasaki (OSS Professional Services)
The document discusses using Apache Spark's GraphX library to analyze large graph datasets. It provides an overview of graph data structures and PageRank, describes how GraphX implements graph algorithms like PageRank using a Pregel-like approach, and demonstrates analyzing large street network graphs from OpenStreetMap data to compare cities based on normalized PageRank distributions.
2. predictable performance is difficult to achieve. In a predictable system,
worst-case performance is crucial; average performance not so much.
It’s with the intent of modeling a world where the
Twitters, Googles, and Facebooks are no longer
superpowers… just power
- Aurora
32. Google, Borgの情報公開
今年の4月、Googleは、Borgの情報を初めて公開した。
“Large-scale cluster management at Google
with Borg” https://goo.gl/aN03bI
この発表に対して、Auroraのアーキテクトのコメントを含
む記事が、出ている。“Google Lifts the Veil on Borg,
Revealing Apache Aurora’s
Heritage”http://goo.gl/Nv8ZIQ
僕には謎だったBorgの名前の由来だが、それは、Star Trekに
登場する「宇宙種族のひとつ。蜂や蟻をモチーフにした社会的集
合意識を持っているとされ、中央制御装置としてのQueenがい
る」とのこと。Facebookで友人から教えてもらった。納得。
ようやく情報が出た。10年以上、隠していたことになる。
33. Google Borg
Google’s Borg system
is a cluster manager
that runs hundreds of
thousands of jobs,
from many thousands
of different applications,
across a number of
clusters each with up
to tens of thousands of
machines
数十万のジョブ
数千のアプリケーション
数万のマシン
34. MesosとBorg
Mesosは、GoogleのBorgにインスパイアされて生まれ
た、オープンソース・プロジェクトである。
Borgは、以前から、その存在は知られていたが、GFS,
MapReduce, BigTable とは異なって、その技術的詳細
をGoogleが明かすことはなかった。Borgは、Googleの
大規模分散の中核技術であり、ある人は、それを
「Googleの秘密兵器」「Googleの急速な進化の、もっと
もよく保たれた秘密」と呼んでいた。
“Return of the Borg: How Twitter Rebuilt Google‘s
Secret Weapon”http://goo.gl/QyhGjx
"Twitter’s Aurora and How it Relates to Google’s Borg
(Part 1)"http://goo.gl/BRhL7x
「Googleの秘密兵器」「Googleの急速な進化の、もっともよく保たれた秘密」!!
116. A A’ A’’MA MA’ MA’’
Checkpoint region
inode mapへのindex
logとは、別の固定領域に置かれる
Checkpoint Region
Checkpoint Regionで、inode map MA’’’を選べば、Foo’と
Barの値が得られるが、inode map MA’を選べば、Barとともに
古いFooの値が復元できる。
118. THE DESIGN AND IMPLEMENTATION
OF A LOG-STRUCTURED
FILE SYSTEM
M. Rosenblum and J. K. Ousterhout
University of California, Berkeley
ACM SIGOPS Operating Systems Review
1991年 http://bit.ly/1LmyTJx
150. Our new search index:
Caffeine
2010年6月8日
Google Webmaster Central Blog
http://googlewebmastercentral.blogs
pot.jp/2010/06/our-new-search-
index-caffeine.html
152. Incrementally Indexing the
Web with Percolator
2010年10月4日
Frank Dabek and Daniel Peng
at OSDI, 2010
https://docs.google.com/presentation/d/1gKD4FbaUIGtoi
mP6-ZB0iiW8V0KZt8fVET-Cfu5KiG8/present#slide=id.i0
171. Facebook Parse Cloud Code
Parse's vision is to let developers
build any mobile app without dealing
with servers.
https://parse.com/docs/cloudcode/guide
172. Cloud Codeのセットアップ
$ parse new MyCloudCode
Email: ninja@gmail.com
Password:
1:MyApp
Select an App: 1
$ cd MyCloudCode
-config/
global.json
-cloud/
main.js
-public/
index.html
176. beforeSave Triggers サンプル
Parse.Cloud.beforeSave("Review",
function(request, response) {
if (request.object.get("stars") < 1) {
response.error("you cannot give less than one star");
} else if (request.object.get("stars") > 5) {
response.error("you cannot give more than five stars");
} else {
response.success();
}
});
Parse.Cloud.beforeSave(Parse.User,
function(request, response) {
if (!request.object.get("email")) {
response.error("email is required for signup");
} else {
response.success();
}
});
妥当性チェック:
星の数は、1から5まで
妥当性チェック:サインアップ
には、e-mailが必要