drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [9/9] drill git commit: DRILL-2056: Remove "sandbox" folder from Drill source
Date Thu, 22 Jan 2015 23:14:18 GMT
DRILL-2056: Remove "sandbox" folder from Drill source


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/9a48e688
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/9a48e688
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/9a48e688

Branch: refs/heads/master
Commit: 9a48e688aa791532a52bfe32beed0770cb752965
Parents: 8d1e1af
Author: Aditya Kishore <adi@apache.org>
Authored: Thu Jan 22 15:04:46 2015 -0800
Committer: Aditya Kishore <adi@apache.org>
Committed: Thu Jan 22 15:04:46 2015 -0800

----------------------------------------------------------------------
 sandbox/logos/ApacheDrill.eps                   |    Bin 493730 -> 0 bytes
 sandbox/logos/ApacheDrill.jpg                   |    Bin 72227 -> 0 bytes
 sandbox/logos/ApacheDrill.png                   |    Bin 20508 -> 0 bytes
 .../logos/drill-vector-logo.graffle/data.plist  |    830 -
 .../logos/drill-vector-logo.graffle/image1.tiff |    Bin 42272 -> 0 bytes
 sandbox/logos/drill-vector-logo.pdf             |    Bin 16997 -> 0 bytes
 .../common/logical/LogicalPlanBuilderTest.java  |     64 -
 .../common/logical/data/ScanBuilderTest.java    |     48 -
 .../common/logical/data/StoreBuilderTest.java   |     48 -
 sandbox/synth-log/README.md                     |     55 -
 sandbox/synth-log/pom.xml                       |     83 -
 .../apache/drill/synth/ChineseRestaurant.java   |    118 -
 .../org/apache/drill/synth/LogGenerator.java    |     74 -
 .../java/org/apache/drill/synth/LogLine.java    |     54 -
 .../java/org/apache/drill/synth/LongTail.java   |     62 -
 .../main/java/org/apache/drill/synth/Main.java  |     74 -
 .../org/apache/drill/synth/TermGenerator.java   |     56 -
 .../main/java/org/apache/drill/synth/User.java  |     74 -
 .../org/apache/drill/synth/WordGenerator.java   |    124 -
 sandbox/synth-log/src/main/resources/geo-codes  |    297 -
 .../src/main/resources/log4j.properties         |     27 -
 .../synth-log/src/main/resources/other-words    | 117184 ----------------
 .../src/main/resources/word-frequency-seed      |   5003 -
 .../apache/drill/synth/LogGeneratorTest.java    |     37 -
 .../apache/drill/synth/TermGeneratorTest.java   |     97 -
 .../apache/drill/synth/WordGeneratorTest.java   |     39 -
 sandbox/web-frontend/.htaccess                  |      2 -
 sandbox/web-frontend/README.md                  |      5 -
 sandbox/web-frontend/drill.css                  |     98 -
 sandbox/web-frontend/drill.js                   |    449 -
 sandbox/web-frontend/dummy-drill/README.md      |    151 -
 sandbox/web-frontend/dummy-drill/dummy_drill.py |     86 -
 sandbox/web-frontend/dummy-drill/gen_ds.py      |    100 -
 sandbox/web-frontend/img/feather-small.gif      |    Bin 7500 -> 0 bytes
 sandbox/web-frontend/index.html                 |    162 -
 .../lib/bootstrap/css/bootstrap-responsive.css  |   1058 -
 .../bootstrap/css/bootstrap-responsive.min.css  |      9 -
 .../lib/bootstrap/css/bootstrap.css             |   5774 -
 .../lib/bootstrap/css/bootstrap.min.css         |      9 -
 .../img/glyphicons-halflings-white.png          |    Bin 8777 -> 0 bytes
 .../lib/bootstrap/img/glyphicons-halflings.png  |    Bin 12799 -> 0 bytes
 .../web-frontend/lib/bootstrap/js/bootstrap.js  |   2027 -
 .../lib/bootstrap/js/bootstrap.min.js           |      6 -
 sandbox/web-frontend/lib/jquery.js              |   9440 --
 sandbox/web-frontend/lib/jquery.renderjson.js   |     61 -
 src/main/resources/logos/ApacheDrill.eps        |    Bin 0 -> 493730 bytes
 src/main/resources/logos/ApacheDrill.jpg        |    Bin 0 -> 72227 bytes
 src/main/resources/logos/ApacheDrill.png        |    Bin 0 -> 20508 bytes
 .../logos/drill-vector-logo.graffle/data.plist  |    830 +
 .../logos/drill-vector-logo.graffle/image1.tiff |    Bin 0 -> 42272 bytes
 src/main/resources/logos/drill-vector-logo.pdf  |    Bin 0 -> 16997 bytes
 51 files changed, 830 insertions(+), 143885 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/logos/ApacheDrill.eps
----------------------------------------------------------------------
diff --git a/sandbox/logos/ApacheDrill.eps b/sandbox/logos/ApacheDrill.eps
deleted file mode 100644
index a98d2ed..0000000
Binary files a/sandbox/logos/ApacheDrill.eps and /dev/null differ

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/logos/ApacheDrill.jpg
----------------------------------------------------------------------
diff --git a/sandbox/logos/ApacheDrill.jpg b/sandbox/logos/ApacheDrill.jpg
deleted file mode 100644
index 4885f82..0000000
Binary files a/sandbox/logos/ApacheDrill.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/logos/ApacheDrill.png
----------------------------------------------------------------------
diff --git a/sandbox/logos/ApacheDrill.png b/sandbox/logos/ApacheDrill.png
deleted file mode 100644
index 7ea1cb9..0000000
Binary files a/sandbox/logos/ApacheDrill.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/logos/drill-vector-logo.graffle/data.plist
----------------------------------------------------------------------
diff --git a/sandbox/logos/drill-vector-logo.graffle/data.plist b/sandbox/logos/drill-vector-logo.graffle/data.plist
deleted file mode 100644
index 5a63e8b..0000000
--- a/sandbox/logos/drill-vector-logo.graffle/data.plist
+++ /dev/null
@@ -1,830 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>ActiveLayerIndex</key>
-	<integer>0</integer>
-	<key>ApplicationVersion</key>
-	<array>
-		<string>com.omnigroup.OmniGrafflePro</string>
-		<string>139.16.0.171715</string>
-	</array>
-	<key>AutoAdjust</key>
-	<true/>
-	<key>BackgroundGraphic</key>
-	<dict>
-		<key>Bounds</key>
-		<string>{{0, 0}, {576, 733}}</string>
-		<key>Class</key>
-		<string>SolidGraphic</string>
-		<key>ID</key>
-		<integer>2</integer>
-		<key>Style</key>
-		<dict>
-			<key>shadow</key>
-			<dict>
-				<key>Draws</key>
-				<string>NO</string>
-			</dict>
-			<key>stroke</key>
-			<dict>
-				<key>Draws</key>
-				<string>NO</string>
-			</dict>
-		</dict>
-	</dict>
-	<key>BaseZoom</key>
-	<integer>0</integer>
-	<key>CanvasOrigin</key>
-	<string>{0, 0}</string>
-	<key>ColumnAlign</key>
-	<integer>1</integer>
-	<key>ColumnSpacing</key>
-	<real>36</real>
-	<key>CreationDate</key>
-	<string>2013-02-04 20:34:57 +0000</string>
-	<key>Creator</key>
-	<string>Ted Dunning</string>
-	<key>DisplayScale</key>
-	<string>1 0/72 in = 1 0/72 in</string>
-	<key>GraphDocumentVersion</key>
-	<integer>8</integer>
-	<key>GraphicsList</key>
-	<array>
-		<dict>
-			<key>Bounds</key>
-			<string>{{179.5, 286}, {311.5, 74}}</string>
-			<key>Class</key>
-			<string>ShapedGraphic</string>
-			<key>FitText</key>
-			<string>Vertical</string>
-			<key>Flow</key>
-			<string>Resize</string>
-			<key>FontInfo</key>
-			<dict>
-				<key>Color</key>
-				<dict>
-					<key>b</key>
-					<string>0.424977</string>
-					<key>g</key>
-					<string>0.21538</string>
-					<key>r</key>
-					<string>0.0409678</string>
-				</dict>
-				<key>Font</key>
-				<string>BlairMdITCTT-Medium</string>
-				<key>Size</key>
-				<real>61</real>
-			</dict>
-			<key>ID</key>
-			<integer>12</integer>
-			<key>Layer</key>
-			<integer>0</integer>
-			<key>Shape</key>
-			<string>Rectangle</string>
-			<key>Style</key>
-			<dict>
-				<key>fill</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>shadow</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>stroke</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-			</dict>
-			<key>Text</key>
-			<dict>
-				<key>Pad</key>
-				<integer>0</integer>
-				<key>RTFD</key>
-				<data>
-				BAtzdHJlYW10eXBlZIHoA4QBQISEhBJOU0F0dHJpYnV0
-				ZWRTdHJpbmcAhIQITlNPYmplY3QAhZKEhIQITlNTdHJp
-				bmcBlIQBKwVEUklMTIaEAmlJAQWShISEDE5TRGljdGlv
-				bmFyeQCUhAFpBJKElpYOTlNPcmlnaW5hbEZvbnSGkoSE
-				hAZOU0ZvbnQelJkwhAVbNDhjXQYAAAAoAAAA//5CAGwA
-				YQBpAHIATQBkAEkAVABDAFQAVAAtAE0AZQBkAGkAdQBt
-				AIQBZjeEAWMAnQGdAJ0AhpKElpYQTlNQYXJhZ3JhcGhT
-				dHlsZYaShISEEE5TUGFyYWdyYXBoU3R5bGUAlIQEQ0NA
-				UwIAhISEB05TQXJyYXkAlJkMkoSEhAlOU1RleHRUYWIA
-				lIQCQ2YAHIaShKKiADiGkoSiogBUhpKEoqIAcIaShKKi
-				AIGMAIaShKKiAIGoAIaShKKiAIHEAIaShKKiAIHgAIaS
-				hKKiAIH8AIaShKKiAIEYAYaShKKiAIE0AYaShKKiAIFQ
-				AYaGgQAIhARbMWZdg83MTD2GkoSWlgZOU0ZvbnSGkoSb
-				mTCbBgAAACgAAAD//kIAbABhAGkAcgBNAGQASQBUAEMA
-				VABUAC0ATQBlAGQAaQB1AG0AnD2dAJ0BnQCdAIaShJaW
-				B05TQ29sb3KGkoSEhAdOU0NvbG9yAJSdAoQEZmZmZgCD
-				lZSUPoP6+Pg+AYaGhg==
-				</data>
-				<key>Text</key>
-				<string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf510
-{\fonttbl\f0\fnil\fcharset0 BlairMdITCTT-Medium;}
-{\colortbl;\red255\green255\blue255;\red10\green55\blue108;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
-
-\f0\fs122 \cf2 DRILL}</string>
-				<key>VerticalPad</key>
-				<integer>0</integer>
-			</dict>
-		</dict>
-		<dict>
-			<key>Bounds</key>
-			<string>{{155.5, 252}, {311.5, 46}}</string>
-			<key>Class</key>
-			<string>ShapedGraphic</string>
-			<key>FitText</key>
-			<string>Vertical</string>
-			<key>Flow</key>
-			<string>Resize</string>
-			<key>FontInfo</key>
-			<dict>
-				<key>Color</key>
-				<dict>
-					<key>b</key>
-					<string>0.376062</string>
-					<key>g</key>
-					<string>0.367328</string>
-					<key>r</key>
-					<string>0.367509</string>
-				</dict>
-				<key>Font</key>
-				<string>BlairMdITCTT-Medium</string>
-				<key>Size</key>
-				<real>38</real>
-			</dict>
-			<key>ID</key>
-			<integer>11</integer>
-			<key>Layer</key>
-			<integer>0</integer>
-			<key>Shape</key>
-			<string>Rectangle</string>
-			<key>Style</key>
-			<dict>
-				<key>fill</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>shadow</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>stroke</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-			</dict>
-			<key>Text</key>
-			<dict>
-				<key>Pad</key>
-				<integer>0</integer>
-				<key>RTFD</key>
-				<data>
-				BAtzdHJlYW10eXBlZIHoA4QBQISEhBJOU0F0dHJpYnV0
-				ZWRTdHJpbmcAhIQITlNPYmplY3QAhZKEhIQITlNTdHJp
-				bmcBlIQBKwZBUEFDSEWGhAJpSQEGkoSEhAxOU0RpY3Rp
-				b25hcnkAlIQBaQSShJaWDk5TT3JpZ2luYWxGb250hpKE
-				hIQGTlNGb250HpSZJIQFWzM2Y10GAAAAHAAAAP/+SABl
-				AGwAdgBlAHQAaQBjAGEATgBlAHUAZQCEAWYghAFjAJ0B
-				nQCdAIaShJaWEE5TUGFyYWdyYXBoU3R5bGWGkoSEhBdO
-				U011dGFibGVQYXJhZ3JhcGhTdHlsZQCEhBBOU1BhcmFn
-				cmFwaFN0eWxlAJSEBENDQFMCAIWBAAiEBFsxZl2DzcxM
-				PYaShJaWBk5TRm9udIaShJuZMIQFWzQ4Y10GAAAAKAAA
-				AP/+QgBsAGEAaQByAE0AZABJAFQAQwBUAFQALQBNAGUA
-				ZABpAHUAbQCcJp0AnQGdAJ0AhpKElpYHTlNDb2xvcoaS
-				hISEB05TQ29sb3IAlJ0ChARmZmZmg+Ti4j6D5OLiPoPo
-				5uY+AYaGhg==
-				</data>
-				<key>Text</key>
-				<string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf510
-{\fonttbl\f0\fnil\fcharset0 BlairMdITCTT-Medium;}
-{\colortbl;\red255\green255\blue255;\red94\green94\blue96;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
-
-\f0\fs76 \cf2 APACHE}</string>
-				<key>VerticalPad</key>
-				<integer>0</integer>
-			</dict>
-		</dict>
-		<dict>
-			<key>Bounds</key>
-			<string>{{96.25, 245.25}, {91.5, 144}}</string>
-			<key>Class</key>
-			<string>ShapedGraphic</string>
-			<key>ID</key>
-			<integer>10</integer>
-			<key>Layer</key>
-			<integer>0</integer>
-			<key>Shape</key>
-			<string>Bezier</string>
-			<key>ShapeData</key>
-			<dict>
-				<key>UnitPoints</key>
-				<array>
-					<string>{-0.37704918032786883, -0.39236111111111116}</string>
-					<string>{-0.37704918032786883, -0.39236111111111116}</string>
-					<string>{-0.060109289617486183, -0.50000000000000022}</string>
-					<string>{-0.060109289617486183, -0.50000000000000022}</string>
-					<string>{-0.060109289617486183, -0.50000000000000022}</string>
-					<string>{-0.35245901639344268, -0.28645833333333348}</string>
-					<string>{-0.35245901639344268, -0.28645833333333348}</string>
-					<string>{-0.35245901639344268, -0.28645833333333348}</string>
-					<string>{-0.25409836065573765, -0.22048611111111116}</string>
-					<string>{-0.25409836065573765, -0.22048611111111116}</string>
-					<string>{-0.25409836065573765, -0.22048611111111116}</string>
-					<string>{0.051912568306010876, -0.33506944444444464}</string>
-					<string>{0.051912568306010876, -0.33506944444444464}</string>
-					<string>{0.051912568306010876, -0.33506944444444464}</string>
-					<string>{-0.22950819672131151, -0.1024305555555558}</string>
-					<string>{-0.22950819672131151, -0.1024305555555558}</string>
-					<string>{-0.22950819672131151, -0.1024305555555558}</string>
-					<string>{-0.17759562841530041, -0.053819444444444642}</string>
-					<string>{-0.17759562841530041, -0.053819444444444642}</string>
-					<string>{-0.17759562841530041, -0.053819444444444642}</string>
-					<string>{0.16666666666666674, -0.1649305555555558}</string>
-					<string>{0.16666666666666674, -0.1649305555555558}</string>
-					<string>{0.16666666666666674, -0.1649305555555558}</string>
-					<string>{-0.11748633879781423, 0.071180555555555358}</string>
-					<string>{-0.11748633879781423, 0.071180555555555358}</string>
-					<string>{-0.11748633879781423, 0.071180555555555358}</string>
-					<string>{-0.060109289617486183, 0.12673611111111072}</string>
-					<string>{-0.060109289617486183, 0.12673611111111072}</string>
-					<string>{-0.060109289617486183, 0.12673611111111072}</string>
-					<string>{0.27868852459016402, 0.0034722222222218768}</string>
-					<string>{0.27868852459016402, 0.0034722222222218768}</string>
-					<string>{0.27868852459016402, 0.0034722222222218768}</string>
-					<string>{-0.030054644808743092, 0.25520833333333304}</string>
-					<string>{-0.030054644808743092, 0.25520833333333304}</string>
-					<string>{-0.030054644808743092, 0.25520833333333304}</string>
-					<string>{0.098360655737705027, 0.29513888888888884}</string>
-					<string>{0.098360655737705027, 0.29513888888888884}</string>
-					<string>{0.098360655737705027, 0.29513888888888884}</string>
-					<string>{0.36612021857923494, 0.18055555555555536}</string>
-					<string>{0.36612021857923494, 0.18055555555555536}</string>
-					<string>{0.36612021857923494, 0.18055555555555536}</string>
-					<string>{0.20765027322404372, 0.3975694444444442}</string>
-					<string>{0.20765027322404372, 0.3975694444444442}</string>
-					<string>{0.20765027322404372, 0.3975694444444442}</string>
-					<string>{0.35792349726775963, 0.38715277777777768}</string>
-					<string>{0.35792349726775963, 0.38715277777777768}</string>
-					<string>{0.35792349726775963, 0.38715277777777768}</string>
-					<string>{0.5, 0.31597222222222188}</string>
-					<string>{0.5, 0.31597222222222188}</string>
-					<string>{0.5, 0.31597222222222188}</string>
-					<string>{0.36885245901639352, 0.47395833333333304}</string>
-					<string>{0.36885245901639352, 0.47395833333333304}</string>
-					<string>{0.36885245901639352, 0.47395833333333304}</string>
-					<string>{0.005464480874316946, 0.5}</string>
-					<string>{0.005464480874316946, 0.5}</string>
-					<string>{0.005464480874316946, 0.5}</string>
-					<string>{-0.5, -0.28472222222222232}</string>
-					<string>{-0.5, -0.28472222222222232}</string>
-					<string>{-0.5, -0.28472222222222232}</string>
-					<string>{-0.37704918032786883, -0.39236111111111116}</string>
-				</array>
-			</dict>
-			<key>Style</key>
-			<dict>
-				<key>shadow</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>stroke</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-			</dict>
-		</dict>
-		<dict>
-			<key>Bounds</key>
-			<string>{{118.5, 231.25000000000009}, {78.500000000000114, 156.24999999999983}}</string>
-			<key>Class</key>
-			<string>ShapedGraphic</string>
-			<key>ID</key>
-			<integer>4</integer>
-			<key>Layer</key>
-			<integer>1</integer>
-			<key>Shape</key>
-			<string>Bezier</string>
-			<key>ShapeData</key>
-			<dict>
-				<key>UnitPoints</key>
-				<array>
-					<string>{-0.089171974522294528, -0.50000000000000044}</string>
-					<string>{-0.089171974522294528, -0.50000000000000044}</string>
-					<string>{0.23756344363219561, -0.14178110846319347}</string>
-					<string>{0.34076433121018912, 0.0071999999999998732}</string>
-					<string>{0.44396516971700573, 0.15618113207548512}</string>
-					<string>{0.49999999999999956, 0.49999999999999978}</string>
-					<string>{0.49999999999999956, 0.49999999999999978}</string>
-					<string>{0.49999999999999956, 0.49999999999999978}</string>
-					<string>{0.017697331290818408, 0.2167698113207599}</string>
-					<string>{-0.12420382165605748, 0.045600000000000973}</string>
-					<string>{-0.26610497460291826, -0.1255698113207715}</string>
-					<string>{-0.50000000000000022, -0.40880000000000072}</string>
-					<string>{-0.50000000000000022, -0.40880000000000072}</string>
-					<string>{-0.50000000000000022, -0.40880000000000183}</string>
-					<string>{-0.089171974522294528, -0.50000000000000044}</string>
-				</array>
-			</dict>
-			<key>Style</key>
-			<dict>
-				<key>fill</key>
-				<dict>
-					<key>Color</key>
-					<dict>
-						<key>b</key>
-						<string>0.160395</string>
-						<key>g</key>
-						<string>0.160395</string>
-						<key>r</key>
-						<string>0.160395</string>
-					</dict>
-					<key>FillType</key>
-					<integer>2</integer>
-					<key>GradientAngle</key>
-					<real>154</real>
-					<key>GradientColor</key>
-					<dict>
-						<key>b</key>
-						<string>1</string>
-						<key>g</key>
-						<string>1</string>
-						<key>r</key>
-						<string>1</string>
-					</dict>
-					<key>MiddleFraction</key>
-					<real>0.47637647390365601</real>
-				</dict>
-				<key>shadow</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>stroke</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-			</dict>
-		</dict>
-		<dict>
-			<key>Bounds</key>
-			<string>{{122.00000000000021, 250.00000000000011}, {63.999999999999801, 113.75}}</string>
-			<key>Class</key>
-			<string>ShapedGraphic</string>
-			<key>ID</key>
-			<integer>9</integer>
-			<key>Layer</key>
-			<integer>2</integer>
-			<key>Shape</key>
-			<string>Bezier</string>
-			<key>ShapeData</key>
-			<dict>
-				<key>UnitPoints</key>
-				<array>
-					<string>{-0.43750000000000044, -0.44725274725274877}</string>
-					<string>{-0.43750000000000044, -0.44725274725274877}</string>
-					<string>{-0.50000000000000022, -0.30879120879120991}</string>
-					<string>{-0.50000000000000022, -0.30879120879120991}</string>
-					<string>{-0.50000000000000022, -0.30879120879120991}</string>
-					<string>{-0.23046875000000089, -0.31318681318681429}</string>
-					<string>{-0.23046875000000089, -0.31318681318681429}</string>
-					<string>{-0.23046875000000089, -0.31318681318681429}</string>
-					<string>{-0.32812500000000044, -0.089010989010988695}</string>
-					<string>{-0.32812500000000044, -0.089010989010988695}</string>
-					<string>{-0.32812500000000044, -0.089010989010988695}</string>
-					<string>{-0.074218749999999556, -0.071428571428573395}</string>
-					<string>{-0.074218749999999556, -0.071428571428573395}</string>
-					<string>{-0.074218749999999556, -0.071428571428573395}</string>
-					<string>{-0.167968750000004, 0.12857142857142589}</string>
-					<string>{-0.167968750000004, 0.12857142857142589}</string>
-					<string>{-0.167968750000004, 0.12857142857142589}</string>
-					<string>{0.042968750000000444, 0.13516483516483602}</string>
-					<string>{0.042968750000000444, 0.13516483516483602}</string>
-					<string>{0.042968750000000444, 0.13516483516483602}</string>
-					<string>{0.011718750000001776, 0.32197802197802083}</string>
-					<string>{0.011718750000001776, 0.32197802197802083}</string>
-					<string>{0.011718750000001776, 0.32197802197802083}</string>
-					<string>{0.28906249999999689, 0.31318681318681207}</string>
-					<string>{0.28906249999999689, 0.31318681318681207}</string>
-					<string>{0.28906249999999689, 0.31318681318681207}</string>
-					<string>{0.24218749999999911, 0.5}</string>
-					<string>{0.24218749999999911, 0.5}</string>
-					<string>{0.24218749999999911, 0.5}</string>
-					<string>{0.49999999999999956, 0.49560439560439473}</string>
-					<string>{0.49999999999999956, 0.49560439560439473}</string>
-					<string>{0.49999999999999956, 0.49560439560439473}</string>
-					<string>{0.30468749999999645, 0.212087912087914}</string>
-					<string>{0.30468749999999645, 0.212087912087914}</string>
-					<string>{0.30468749999999645, 0.212087912087914}</string>
-					<string>{-0.17187500000000222, -0.5}</string>
-					<string>{-0.17187500000000222, -0.5}</string>
-					<string>{-0.17187500000000222, -0.49999999999999956}</string>
-					<string>{-0.43750000000000044, -0.44725274725274877}</string>
-				</array>
-			</dict>
-			<key>Style</key>
-			<dict>
-				<key>fill</key>
-				<dict>
-					<key>Color</key>
-					<dict>
-						<key>b</key>
-						<string>0.448441</string>
-						<key>g</key>
-						<string>0.448441</string>
-						<key>r</key>
-						<string>0.448441</string>
-					</dict>
-					<key>FillType</key>
-					<integer>2</integer>
-					<key>GradientAngle</key>
-					<real>149</real>
-					<key>GradientColor</key>
-					<dict>
-						<key>b</key>
-						<string>0.811563</string>
-						<key>g</key>
-						<string>0.811563</string>
-						<key>r</key>
-						<string>0.811563</string>
-					</dict>
-				</dict>
-				<key>shadow</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>stroke</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-			</dict>
-		</dict>
-		<dict>
-			<key>Bounds</key>
-			<string>{{142.50000000000014, 235.25000000000028}, {56.749999999999886, 144.24999999999977}}</string>
-			<key>Class</key>
-			<string>ShapedGraphic</string>
-			<key>ID</key>
-			<integer>7</integer>
-			<key>Layer</key>
-			<integer>2</integer>
-			<key>Shape</key>
-			<string>Bezier</string>
-			<key>ShapeData</key>
-			<dict>
-				<key>UnitPoints</key>
-				<array>
-					<string>{-0.37665198237885322, -0.5}</string>
-					<string>{-0.37665198237885322, -0.5}</string>
-					<string>{-0.15198237885462218, -0.5}</string>
-					<string>{-0.15198237885462218, -0.5}</string>
-					<string>{-0.15198237885462218, -0.5}</string>
-					<string>{-0.30176211453744139, -0.3214904679376076}</string>
-					<string>{-0.30176211453744139, -0.3214904679376076}</string>
-					<string>{-0.30176211453744139, -0.3214904679376076}</string>
-					<string>{0.028634361233480288, -0.32842287694974281}</string>
-					<string>{0.028634361233480288, -0.32842287694974281}</string>
-					<string>{0.028634361233480288, -0.32842287694974281}</string>
-					<string>{-0.14317180616740055, -0.15337954939341447}</string>
-					<string>{-0.14317180616740055, -0.15337954939341447}</string>
-					<string>{-0.14317180616740055, -0.15337954939341447}</string>
-					<string>{0.20044052863436379, -0.15684575389948407}</string>
-					<string>{0.20044052863436379, -0.15684575389948407}</string>
-					<string>{0.20044052863436379, -0.15684575389948407}</string>
-					<string>{0.077092511013216125, 0.012998266897748856}</string>
-					<string>{0.077092511013216125, 0.012998266897748856}</string>
-					<string>{0.077092511013216125, 0.012998266897748856}</string>
-					<string>{0.35462555066079782, 0.0077989601386518892}</string>
-					<string>{0.35462555066079782, 0.0077989601386518892}</string>
-					<string>{0.35462555066079782, 0.0077989601386518892}</string>
-					<string>{0.20925110132158542, 0.2001733102253036}</string>
-					<string>{0.20925110132158542, 0.2001733102253036}</string>
-					<string>{0.20925110132158542, 0.2001733102253036}</string>
-					<string>{0.45594713656387675, 0.19844020797227113}</string>
-					<string>{0.45594713656387675, 0.19844020797227113}</string>
-					<string>{0.45594713656387675, 0.19844020797227113}</string>
-					<string>{0.34140969162995782, 0.41854419410745169}</string>
-					<string>{0.34140969162995782, 0.41854419410745169}</string>
-					<string>{0.34140969162995782, 0.41854419410745169}</string>
-					<string>{0.50000000000000222, 0.42201039861352019}</string>
-					<string>{0.5, 0.42201039861351841}</string>
-					<string>{0.50000000000000222, 0.42201039861352019}</string>
-					<string>{0.39427312775330048, 0.5}</string>
-					<string>{0.39427312775330448, 0.5}</string>
-					<string>{0.39427312775330048, 0.5}</string>
-					<string>{-0.5, -0.39948006932408986}</string>
-					<string>{-0.5, -0.39948006932408986}</string>
-					<string>{-0.5, -0.39948006932408986}</string>
-					<string>{-0.37665198237885322, -0.5}</string>
-				</array>
-			</dict>
-			<key>Style</key>
-			<dict>
-				<key>fill</key>
-				<dict>
-					<key>Color</key>
-					<dict>
-						<key>b</key>
-						<string>0.344627</string>
-						<key>g</key>
-						<string>0.344627</string>
-						<key>r</key>
-						<string>0.344627</string>
-					</dict>
-					<key>FillType</key>
-					<integer>2</integer>
-					<key>GradientAngle</key>
-					<real>141</real>
-					<key>GradientColor</key>
-					<dict>
-						<key>b</key>
-						<string>0.625279</string>
-						<key>g</key>
-						<string>0.625279</string>
-						<key>r</key>
-						<string>0.625279</string>
-					</dict>
-				</dict>
-				<key>shadow</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>stroke</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-			</dict>
-		</dict>
-		<dict>
-			<key>Bounds</key>
-			<string>{{90, 207}, {403, 204}}</string>
-			<key>Class</key>
-			<string>ShapedGraphic</string>
-			<key>ID</key>
-			<integer>3</integer>
-			<key>ImageID</key>
-			<integer>1</integer>
-			<key>IsLocked</key>
-			<string>YES</string>
-			<key>Layer</key>
-			<integer>3</integer>
-			<key>Shape</key>
-			<string>Rectangle</string>
-			<key>Style</key>
-			<dict>
-				<key>fill</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>shadow</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-				<key>stroke</key>
-				<dict>
-					<key>Draws</key>
-					<string>NO</string>
-				</dict>
-			</dict>
-		</dict>
-	</array>
-	<key>GridInfo</key>
-	<dict/>
-	<key>GuidesLocked</key>
-	<string>NO</string>
-	<key>GuidesVisible</key>
-	<string>YES</string>
-	<key>HPages</key>
-	<integer>1</integer>
-	<key>ImageCounter</key>
-	<integer>2</integer>
-	<key>ImageLinkBack</key>
-	<array>
-		<dict/>
-	</array>
-	<key>ImageList</key>
-	<array>
-		<string>image1.tiff</string>
-	</array>
-	<key>KeepToScale</key>
-	<false/>
-	<key>Layers</key>
-	<array>
-		<dict>
-			<key>Lock</key>
-			<string>NO</string>
-			<key>Name</key>
-			<string>Layer 4</string>
-			<key>Print</key>
-			<string>YES</string>
-			<key>View</key>
-			<string>YES</string>
-		</dict>
-		<dict>
-			<key>Lock</key>
-			<string>NO</string>
-			<key>Name</key>
-			<string>Layer 2</string>
-			<key>Print</key>
-			<string>YES</string>
-			<key>View</key>
-			<string>YES</string>
-		</dict>
-		<dict>
-			<key>Lock</key>
-			<string>NO</string>
-			<key>Name</key>
-			<string>Layer 3</string>
-			<key>Print</key>
-			<string>YES</string>
-			<key>View</key>
-			<string>YES</string>
-		</dict>
-		<dict>
-			<key>Lock</key>
-			<string>YES</string>
-			<key>Name</key>
-			<string>Layer 1</string>
-			<key>Print</key>
-			<string>YES</string>
-			<key>View</key>
-			<string>NO</string>
-		</dict>
-	</array>
-	<key>LayoutInfo</key>
-	<dict>
-		<key>Animate</key>
-		<string>NO</string>
-		<key>circoMinDist</key>
-		<real>18</real>
-		<key>circoSeparation</key>
-		<real>0.0</real>
-		<key>layoutEngine</key>
-		<string>dot</string>
-		<key>neatoSeparation</key>
-		<real>0.0</real>
-		<key>twopiSeparation</key>
-		<real>0.0</real>
-	</dict>
-	<key>LinksVisible</key>
-	<string>NO</string>
-	<key>MagnetsVisible</key>
-	<string>NO</string>
-	<key>MasterSheets</key>
-	<array/>
-	<key>ModificationDate</key>
-	<string>2013-02-04 21:35:59 +0000</string>
-	<key>Modifier</key>
-	<string>Ted Dunning</string>
-	<key>NotesVisible</key>
-	<string>NO</string>
-	<key>Orientation</key>
-	<integer>2</integer>
-	<key>OriginVisible</key>
-	<string>NO</string>
-	<key>PageBreaks</key>
-	<string>YES</string>
-	<key>PrintInfo</key>
-	<dict>
-		<key>NSBottomMargin</key>
-		<array>
-			<string>float</string>
-			<string>41</string>
-		</array>
-		<key>NSHorizonalPagination</key>
-		<array>
-			<string>coded</string>
-			<string>BAtzdHJlYW10eXBlZIHoA4QBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFxlwCG</string>
-		</array>
-		<key>NSLeftMargin</key>
-		<array>
-			<string>float</string>
-			<string>18</string>
-		</array>
-		<key>NSPaperSize</key>
-		<array>
-			<string>size</string>
-			<string>{612, 792}</string>
-		</array>
-		<key>NSPrintReverseOrientation</key>
-		<array>
-			<string>int</string>
-			<string>0</string>
-		</array>
-		<key>NSPrinter</key>
-		<array>
-			<string>coded</string>
-			<string>BAtzdHJlYW10eXBlZIHoA4QBQISEhAlOU1ByaW50ZXIAhIQITlNPYmplY3QAhZKEhIQITlNTdHJpbmcBlIQBKxJCcm90aGVyIE1GQy04ODkwRFeGhg==</string>
-		</array>
-		<key>NSPrinterName</key>
-		<array>
-			<string>string</string>
-			<string>Brother MFC-8890DW</string>
-		</array>
-		<key>NSRightMargin</key>
-		<array>
-			<string>float</string>
-			<string>18</string>
-		</array>
-		<key>NSTopMargin</key>
-		<array>
-			<string>float</string>
-			<string>18</string>
-		</array>
-	</dict>
-	<key>PrintOnePage</key>
-	<false/>
-	<key>ReadOnly</key>
-	<string>NO</string>
-	<key>RowAlign</key>
-	<integer>1</integer>
-	<key>RowSpacing</key>
-	<real>36</real>
-	<key>SheetTitle</key>
-	<string>Canvas 1</string>
-	<key>SmartAlignmentGuidesActive</key>
-	<string>YES</string>
-	<key>SmartDistanceGuidesActive</key>
-	<string>YES</string>
-	<key>UniqueID</key>
-	<integer>1</integer>
-	<key>UseEntirePage</key>
-	<false/>
-	<key>VPages</key>
-	<integer>1</integer>
-	<key>WindowInfo</key>
-	<dict>
-		<key>CurrentSheet</key>
-		<integer>0</integer>
-		<key>ExpandedCanvases</key>
-		<array>
-			<dict>
-				<key>name</key>
-				<string>Canvas 1</string>
-			</dict>
-		</array>
-		<key>Frame</key>
-		<string>{{102, 4}, {1178, 774}}</string>
-		<key>ListView</key>
-		<true/>
-		<key>OutlineWidth</key>
-		<integer>142</integer>
-		<key>RightSidebar</key>
-		<false/>
-		<key>ShowRuler</key>
-		<true/>
-		<key>Sidebar</key>
-		<true/>
-		<key>SidebarWidth</key>
-		<integer>120</integer>
-		<key>VisibleRegion</key>
-		<string>{{26.5, 168.5}, {521.5, 309.5}}</string>
-		<key>Zoom</key>
-		<real>2</real>
-		<key>ZoomValues</key>
-		<array>
-			<array>
-				<string>Canvas 1</string>
-				<real>2</real>
-				<real>1</real>
-			</array>
-		</array>
-	</dict>
-</dict>
-</plist>

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/logos/drill-vector-logo.graffle/image1.tiff
----------------------------------------------------------------------
diff --git a/sandbox/logos/drill-vector-logo.graffle/image1.tiff b/sandbox/logos/drill-vector-logo.graffle/image1.tiff
deleted file mode 100644
index 7bbdae3..0000000
Binary files a/sandbox/logos/drill-vector-logo.graffle/image1.tiff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/logos/drill-vector-logo.pdf
----------------------------------------------------------------------
diff --git a/sandbox/logos/drill-vector-logo.pdf b/sandbox/logos/drill-vector-logo.pdf
deleted file mode 100644
index 387d841..0000000
Binary files a/sandbox/logos/drill-vector-logo.pdf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/LogicalPlanBuilderTest.java
----------------------------------------------------------------------
diff --git a/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/LogicalPlanBuilderTest.java b/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/LogicalPlanBuilderTest.java
deleted file mode 100644
index efe946b..0000000
--- a/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/LogicalPlanBuilderTest.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- ******************************************************************************/
-package org.apache.drill.common.logical;
-
-import org.apache.drill.common.config.DrillConfig;
-import org.apache.drill.common.logical.data.Scan;
-import org.apache.drill.common.logical.data.Store;
-import org.apache.drill.common.util.FileUtils;
-import org.apache.drill.storage.MockStorageEngineConfig;
-import org.junit.Test;
-
-import java.io.IOException;
-
-import static junit.framework.TestCase.assertEquals;
-
-public class LogicalPlanBuilderTest {
-
-
-   /**
-    * Tests assembling the same plan as simple_engine_plan.json
-    */
-   @Test
-   public void testBuildSimplePlan() throws IOException {
-
-     PlanProperties planProperties = PlanProperties.builder()
-       .generator("manual", "na")
-       .version(1)
-       .type(PlanProperties.PlanType.APACHE_DRILL_LOGICAL)
-       .build();
-
-     Scan scan = new Scan("mock-engine", null, null);
-     Store store = new Store("mock-engine", null, null);
-     store.setInput(scan);
-
-     LogicalPlanBuilder builder = LogicalPlan.builder()
-       .planProperties(planProperties)
-       .addStorageEngine("mock-engine", new MockStorageEngineConfig("http://www.apache.org/"))
-       .addLogicalOperator(scan)
-       .addLogicalOperator(store);
-
-     LogicalPlan fromBuilder = builder.build();
-
-     DrillConfig config = DrillConfig.create();
-     LogicalPlan fromJson = LogicalPlan.parse(config, FileUtils.getResourceAsString("/storage_engine_plan.json"));
-
-     assertEquals(fromJson.toJsonString(config), fromBuilder.toJsonString(config));
-
-   }
-}

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/data/ScanBuilderTest.java
----------------------------------------------------------------------
diff --git a/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/data/ScanBuilderTest.java b/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/data/ScanBuilderTest.java
deleted file mode 100644
index b318b3d..0000000
--- a/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/data/ScanBuilderTest.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- ******************************************************************************/
-package org.apache.drill.common.logical.data;
-
-import org.apache.drill.common.JSONOptions;
-import org.apache.drill.common.expression.FieldReference;
-import org.junit.Test;
-
-import static org.junit.Assert.assertEquals;
-
-public class ScanBuilderTest{
-
-  /**
-   * Build a Scan operator and validate each field
-   */
-  @Test
-  public void testBuild() {
-    FieldReference outputFieldReference = new FieldReference("Flavour");
-    JSONOptions selection = null;
-    String storageEngine = "mock-storage";
-
-    Scan scanOp = Scan.builder()
-        .storageEngine(storageEngine)
-        .outputReference(outputFieldReference)
-        .selection(selection)
-        .build();
-
-    assertEquals(scanOp.getOutputReference(), outputFieldReference);
-    assertEquals(scanOp.getSelection(), selection);
-    assertEquals(scanOp.getStorageEngine(), storageEngine);
-  }
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/data/StoreBuilderTest.java
----------------------------------------------------------------------
diff --git a/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/data/StoreBuilderTest.java b/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/data/StoreBuilderTest.java
deleted file mode 100644
index 73f0402..0000000
--- a/sandbox/prototype/common/src/test/java/org/apache/drill/common/logical/data/StoreBuilderTest.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- ******************************************************************************/
-package org.apache.drill.common.logical.data;
-
-import org.apache.drill.common.JSONOptions;
-import org.apache.drill.common.defs.PartitionDef;
-import org.junit.Test;
-
-import static org.junit.Assert.assertEquals;
-
-public class StoreBuilderTest{
-
-  /**
-   * Build a Store operator and validate each field
-   */
-  @Test
-  public void testBuild() {
-    String storageEngine = "mock-storage";
-    PartitionDef partition = new PartitionDef(PartitionDef.PartitionType.RANGE, null, null);
-    JSONOptions target = null;
-
-    Store storeOp = Store.builder()
-        .storageEngine(storageEngine)
-        .partition(partition)
-        .target(target)
-        .build();
-
-    assertEquals(storeOp.getStorageEngine(), storageEngine);
-    assertEquals(storeOp.getPartition(), partition);
-    assertEquals(storeOp.getTarget(), target);
-  }
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/README.md
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/README.md b/sandbox/synth-log/README.md
deleted file mode 100644
index b4efc63..0000000
--- a/sandbox/synth-log/README.md
+++ /dev/null
@@ -1,55 +0,0 @@
-log-synth
-=========
-
-The basic idea here is to have a random log generator build fairly realistic log files for analysis. The analyses specified here are fairly typical use cases for trying to figure out where the load on a web-site is coming from.
-
-How to Run It
-============
-
-Install Java 7, maven and get this software using git.
-
-On a mac, this can help get the right version of Java
-
-    export JAVA_HOME=$(/usr/libexec/java_home)
-
-Then do this to build a jar file with all dependencies included
-
-    mvn package
-
-Then use this to write one million log lines into the file "log" and to write the associated user database into the file "users".
-
-    java -cp target/log-synth-0.1-SNAPSHOT-jar-with-dependencies.jar org.apache.drill.synth.Main 1M log users
-
-This program will produce a line of output on the standard output for each 10,000 lines of log produced.  Each line will contain the number of log lines produced so far and the number of unique users in the user profile database.
-
-
-The Data Source
-==============
-The data source here is a set of heavily biased random numbers to generate traffic sources, response times and queries. In order to give a realistic long-tail experience the data are generated using special random number generators available in the Mahout library.
-
-There are three basic entities involved in the random process that generates these logs that are IP addresses, users and queries. Users have a basic traffic rate and a variable number of users sit behind each IP address. Queries are composed of words which are generated somewhat differently by each user. The response time for each query is determined based on the terms in the queries with a very few terms causing much longer queries than others. Each log line contains an IP address, a user cookie, a query and a response time.
-
-Logs of various sizes can be generated using the generator tools.
-
-The Queries
-==============
-The general goal of the queries is to find out what and/or who is causing long query times and where lots of traffic is coming from.
-
-The questions we would like to answer include:
-
-* What are the top IP addresses by request count?
-* What are the top IP addresses by unique user?
-* What are the most common search terms?
-* What are the most common search terms in the slowest 5% of the queries?
-* What is the daily number of searches, (approximate) number of unique users, (approximate) number of unique IP addresses and distribution of response times (average, min, max, 25, 50 and 75%-iles).
-
-Methods
-========
-The general process for generating log lines is to select a user, possibly one we have not seen before. If the user is new, then we need to select an IP address for the user. Otherwise, we remember the IP address for each user.
-
-Queries have an overall frequency distribution that is long-tailed, but each user has a variation on that distribution. In order to model this, we sample each user's queries from a per-user Pittman-Yor process. In order to make users have similar query term distributions, each user's query term distribution is initialized from a Pittman-Yor process that has already been sampled a number of times.
-
-We also need to maintain an average response time per term. The response time for each query is exponentially distributed with a mean equal to the sum of the average response times for the terms. Response times for words are sampled either from an exponential distribution, from a log-gamma distribution or from a gamma distribution with a moderately low shape parameter so that we can have interestingly long tails for response time.
-
-Users are assigned to IP addresses using a Pittman-Yor process with a discount of 0.9. This gives long-tailed distribution to the number of users per IP address. This results in 90% of all IP addresses having only a single user.
-

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/pom.xml b/sandbox/synth-log/pom.xml
deleted file mode 100644
index b46d869..0000000
--- a/sandbox/synth-log/pom.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>log-synth</groupId>
-  <artifactId>log-synth</artifactId>
-  <version>0.1-SNAPSHOT</version>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.mahout</groupId>
-      <artifactId>mahout-math</artifactId>
-      <version>0.8-SNAPSHOT</version>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.8.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-      <version>1.6.6</version>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-log4j12</artifactId>
-      <version>1.6.6</version>
-      <scope>runtime</scope>
-    </dependency>
-  </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.4</version>
-        <configuration>
-          <descriptorRefs>
-            <descriptorRef>jar-with-dependencies</descriptorRef>
-          </descriptorRefs>
-        </configuration>
-        <executions>
-          <execution>
-            <id>make-assembly</id>
-            <phase>package</phase>
-            <!-- bind to the packaging phase -->
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.0</version>
-        <configuration>
-          <verbose>true</verbose>
-          <compilerVersion>1.7</compilerVersion>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
deleted file mode 100644
index 54b671b..0000000
--- a/sandbox/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import com.google.common.base.Preconditions;
-import org.apache.mahout.common.RandomUtils;
-import org.apache.mahout.math.list.DoubleArrayList;
-import org.apache.mahout.math.random.Sampler;
-
-import java.util.Random;
-
-/**
- *
- * Generates samples from a generalized Chinese restaurant process (or Pittman-Yor process).
- *
- * The number of values drawn exactly once will asymptotically be equal to the discount parameter
- * as the total number of draws T increases without bound.  The number of unique values sampled will
- * increase as O(alpha * log T) if discount = 0 or O(alpha * T^discount) for discount > 0.
- */
-public final class ChineseRestaurant implements Sampler<Integer> {
-    private final double alpha;
-    private double weight = 0;
-    private double discount = 0;
-    private final DoubleArrayList weights = new DoubleArrayList();
-    private final Random rand = RandomUtils.getRandom();
-
-    /**
-     * Constructs a Dirichlet process sampler.  This is done by setting discount = 0.
-     * @param alpha  The strength parameter for the Dirichlet process.
-     */
-    public ChineseRestaurant(double alpha) {
-        this(alpha, 0);
-    }
-
-    /**
-     * Constructs a Pitman-Yor sampler.
-     *
-     * @param alpha     The strength parameter that drives the number of unique values as a function of draws.
-     * @param discount  The discount parameter that drives the percentage of values that occur once in a large sample.
-     */
-    public ChineseRestaurant(double alpha, double discount) {
-        Preconditions.checkArgument(alpha > 0);
-        Preconditions.checkArgument(discount >= 0 && discount <= 1);
-        this.alpha = alpha;
-        this.discount = discount;
-    }
-
-    public Integer sample() {
-        double u = rand.nextDouble() * (alpha + weight);
-        for (int j = 0; j < weights.size(); j++) {
-            // select existing options with probability (w_j - d) / (alpha + w)
-            if (u < weights.get(j) - discount) {
-                weights.set(j, weights.get(j) + 1);
-                weight++;
-                return j;
-            } else {
-                u -= weights.get(j) - discount;
-            }
-        }
-
-        // if no existing item selected, pick new item with probability (alpha - d*t) / (alpha + w)
-        // where t is number of pre-existing cases
-        weights.add(1);
-        weight++;
-        return weights.size() - 1;
-    }
-
-    /**
-     * @return the number of unique values that have been returned.
-     */
-    public int size() {
-        return weights.size();
-    }
-
-    /**
-     * @return the number draws so far.
-     */
-    public int count() {
-        return (int) weight;
-    }
-
-    /**
-     * @param j Which value to test.
-     * @return  The number of times that j has been returned so far.
-     */
-    public int count(int j) {
-        Preconditions.checkArgument(j >= 0);
-
-        if (j < weights.size()) {
-            return (int) weights.get(j);
-        } else {
-            return 0;
-        }
-    }
-
-    public void setCount(int term, double count) {
-        while (weights.size() <= term) {
-            weights.add(0);
-        }
-        weight += (count - weights.get(term));
-        weights.set(term, count);
-    }
-}

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
deleted file mode 100644
index a030501..0000000
--- a/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import org.apache.mahout.math.random.Sampler;
-
-import java.net.Inet4Address;
-import java.net.InetAddress;
-import java.net.UnknownHostException;
-import java.util.Random;
-
-/**
- * Generates kind of realistic log lines consisting of a user id (a cookie), an IP address and a query.
- */
-public class LogGenerator implements Sampler<LogLine> {
-    private LongTail<InetAddress> ipGenerator = new LongTail<InetAddress>(1, 0.5) {
-        Random gen = new Random();
-
-        @Override
-        protected InetAddress createThing() {
-            int address = gen.nextInt();
-            try {
-                return Inet4Address.getByAddress(new byte[]{
-                        (byte) (address >>> 24),
-                        (byte) (0xff & (address >>> 16)),
-                        (byte) (0xff & (address >>> 8)),
-                        (byte) (0xff & (address))
-                });
-            } catch (UnknownHostException e) {
-                throw new RuntimeException("Can't happen with numeric IP address", e);
-            }
-        }
-    };
-
-    private WordGenerator words = new WordGenerator("word-frequency-seed", "other-words");
-    private TermGenerator terms = new TermGenerator(words, 1, 0.8);
-    private TermGenerator geo = new TermGenerator(new WordGenerator(null, "geo-codes"), 10, 0
-    );
-
-    private LongTail<User> userGenerator = new LongTail<User>(50000, 0) {
-        @Override
-        protected User createThing() {
-            return new User(ipGenerator.sample(), geo, terms);
-        }
-    };
-
-    public Iterable<User> getUsers() {
-        return userGenerator.getThings();
-    }
-
-    public LogLine sample() {
-        // pick a user
-        return new LogLine(userGenerator.sample());
-    }
-
-    public int getUserCount() {
-        return userGenerator.getThings().size();
-    }
-}

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogLine.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
deleted file mode 100644
index d15b53d..0000000
--- a/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import java.net.InetAddress;
-import java.util.Formatter;
-import java.util.List;
-
-/**
- * A log line contains a user id, an IP address and a query.
- */
-public class LogLine {
-    private InetAddress ip;
-    private long cookie;
-    private List<String> query;
-
-    public LogLine(InetAddress ip, long cookie, List<String> query) {
-        this.cookie = cookie;
-        this.ip = ip;
-        this.query = query;
-    }
-
-    public LogLine(User user) {
-        this(user.getAddress(), user.getCookie(), user.getQuery());
-    }
-
-    @Override
-    public String toString() {
-        Formatter r = new Formatter();
-        r.format("{cookie:\"%08x\", ip:\"%s\", query:", cookie, ip.getHostAddress());
-        String sep = "[";
-        for (String term : query) {
-            r.format("%s\"%s\"", sep, term);
-            sep = ", ";
-        }
-        r.format("]}");
-        return r.toString();
-    }
-}

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/LongTail.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
deleted file mode 100644
index bf88852..0000000
--- a/sandbox/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import com.google.common.collect.Lists;
-import org.apache.mahout.math.random.Sampler;
-
-import java.util.List;
-
-/**
- * Samples from a set of things based on a long-tailed distribution.  This converts
- * the ChineseRestaurant distribution from a distribution over integers into a distribution
- * over more plausible looking things like words.
- */
-public abstract class LongTail<T> implements Sampler<T> {
-    private ChineseRestaurant base;
-    private List<T> things = Lists.newArrayList();
-
-    protected LongTail(double alpha, double discount) {
-        base = new ChineseRestaurant(alpha, discount);
-    }
-
-    public T sample() {
-        int n = base.sample();
-        while (n >= things.size()) {
-            things.add(createThing());
-        }
-        return things.get(n);
-    }
-
-    public ChineseRestaurant getBaseDistribution() {
-        return base;
-    }
-
-    protected abstract T createThing();
-
-    public List<T> getThings() {
-        return things;
-    }
-
-    public void setThing(int i, T thing) {
-        while (things.size() <= i) {
-            things.add(null);
-        }
-        things.set(i, thing);
-    }
-}

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/java/org/apache/drill/synth/Main.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/Main.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/Main.java
deleted file mode 100644
index e95b9a7..0000000
--- a/sandbox/synth-log/src/main/java/org/apache/drill/synth/Main.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-
-import com.google.common.base.Charsets;
-import com.google.common.io.Files;
-
-import java.io.BufferedWriter;
-import java.io.File;
-import java.io.IOException;
-
-/**
- * Create a query log with a specified number of log lines and an associated user profile database.
- * <p/>
- * Command line args include number of log lines to generate, the name of the log file to generate and the
- * name of the file to store the user profile database in.
- * <p/>
- * Log lines and user profile entries are single line JSON.
- */
-public class Main {
-    public static void main(String[] args) throws IOException {
-
-        int n = Integer.parseInt(args[0].replaceAll("[KMG]?$", ""));
-
-        switch (args[0].charAt(args[0].length() - 1)) {
-            case 'G':
-                n *= 1e9;
-                break;
-            case 'M':
-                n *= 1e6;
-                break;
-            case 'K':
-                n *= 1e3;
-                break;
-            default:
-                // no suffix leads here
-                break;
-        }
-
-        LogGenerator lg = new LogGenerator();
-        BufferedWriter log = Files.newWriter(new File(args[1]), Charsets.UTF_8);
-        for (int i = 0; i < n; i++) {
-            if (i % 10000 == 0) {
-                System.out.printf("%d %d\n", i, lg.getUserCount());
-            }
-            log.write(lg.sample().toString());
-            log.newLine();
-        }
-        log.close();
-
-        BufferedWriter profile = Files.newWriter(new File(args[2]), Charsets.UTF_8);
-        for (User user : lg.getUsers()) {
-            profile.write(user.toString());
-            profile.newLine();
-        }
-        profile.close();
-    }
-}

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
deleted file mode 100644
index 9ddd61b..0000000
--- a/sandbox/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import org.apache.mahout.math.random.Sampler;
-
-/**
- * Generate words at random from a specialized vocabulary.  Every term generator's
- * frequency distribution has a common basis, but each will diverge after initialization.
- */
-public class TermGenerator implements Sampler<String> {
-    // the word generator handles the problem of making up new words
-    // it also provides the seed frequencies
-    private WordGenerator words;
-
-    private LongTail<String> distribution;
-
-    public TermGenerator(WordGenerator words, final int alpha, final double discount) {
-        this.words = words;
-        distribution = new LongTail<String>(alpha, discount) {
-            private int count = TermGenerator.this.words.size();
-
-            @Override
-            protected String createThing() {
-                return TermGenerator.this.words.getString(count++);
-            }
-        };
-
-        int i = 0;
-        for (String word : this.words.getBaseWeights().keySet()) {
-            distribution.getBaseDistribution().setCount(i, this.words.getBaseWeights().get(word));
-            distribution.setThing(i, word);
-            i++;
-        }
-
-    }
-
-    public String sample() {
-        return distribution.sample();
-    }
-}

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/java/org/apache/drill/synth/User.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/User.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/User.java
deleted file mode 100644
index 194a666..0000000
--- a/sandbox/synth-log/src/main/java/org/apache/drill/synth/User.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import com.google.common.collect.Lists;
-import org.apache.mahout.common.RandomUtils;
-import org.apache.mahout.math.jet.random.Exponential;
-
-import java.net.InetAddress;
-import java.util.List;
-
-/**
- * Created with IntelliJ IDEA.
- * User: tdunning
- * Date: 2/2/13
- * Time: 6:15 PM
- * To change this template use File | Settings | File Templates.
- */
-public class User {
-    private Exponential queryLengthDistribution = new Exponential(0.4, RandomUtils.getRandom());
-
-    private long cookie = RandomUtils.getRandom().nextLong();
-
-    private TermGenerator terms;
-    private InetAddress address;
-    private String geoCode;
-
-    public User(InetAddress address, TermGenerator geoCoder, TermGenerator terms) {
-        this.terms = terms;
-        geoCode = geoCoder.sample();
-        this.address = address;
-    }
-
-    public InetAddress getAddress() {
-        return address;
-    }
-
-    public long getCookie() {
-        return cookie;
-    }
-
-    public List<String> getQuery() {
-        int n = queryLengthDistribution.nextInt() + 1;
-        List<String> r = Lists.newArrayList();
-        for (int i = 0; i < n; i++) {
-            r.add(terms.sample());
-        }
-        return r;
-    }
-
-    public String getGeoCode() {
-        return geoCode;
-    }
-
-    @Override
-    public String toString() {
-        return String.format("{ip:\"%s\", cookie:\"%08x\", geo:\"%s\"}", address, cookie, geoCode);
-    }
-}

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
deleted file mode 100644
index 0167308..0000000
--- a/sandbox/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import com.google.common.base.Charsets;
-import com.google.common.base.Splitter;
-import com.google.common.collect.Lists;
-import com.google.common.collect.Maps;
-import com.google.common.io.LineProcessor;
-import com.google.common.io.Resources;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.nio.file.Paths;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-/**
- * Emulates an infinite list of words, a prefix of which are taken from lists of plausible words.  The first words
- * are taken from a resource that has frequencies in it.  These frequencies can be used to initialize term
- * generators to a common language.  The next batch of words are taken from a long list of words with no frequencies.
- * After that, words are coined by using an integer count.
- */
-public class WordGenerator {
-    private final Logger log = LoggerFactory.getLogger(WordGenerator.class);
-
-    private BufferedReader wordReader;
-    private final List<String> words = Lists.newArrayList();
-    private final Map<String, Integer> baseWeights = Maps.newLinkedHashMap();
-
-    public WordGenerator(String seed, String others) {
-        // read the common words
-        if (seed != null) {
-            try {
-                Resources.readLines(Resources.getResource(seed), Charsets.UTF_8,
-                        new LineProcessor<Object>() {
-                            private boolean header = true;
-                            private final Splitter onTabs = Splitter.on("\t");
-
-                            public boolean processLine(String s) throws IOException {
-                                if (!s.startsWith("#")) {
-                                    if (!header) {
-                                        Iterator<String> fields = onTabs.split(s).iterator();
-                                        fields.next();
-                                        String word = fields.next();
-                                        words.add(word);
-                                        int count = (int) Math.rint(Double.parseDouble(fields.next()));
-                                        baseWeights.put(word, count);
-                                    } else {
-                                        header = false;
-                                    }
-                                }
-                                return true;
-                            }
-
-                            public Object getResult() {
-                                return null;
-                            }
-                        });
-            } catch (IOException e) {
-                log.error("Can't read resource \"{}\", will continue without realistic words", seed);
-            }
-        }
-
-        try {
-          wordReader = new BufferedReader(Resources.newReaderSupplier(Resources.getResource(others), Charsets.UTF_8).getInput());
-        } catch (IOException e) {
-            log.error("Can't read resource \"{}\", will continue without realistic words", others);
-            wordReader = null;
-        }
-
-    }
-
-    public String getString(int n) {
-        if (n >= words.size()) {
-            synchronized (this) {
-                while (n >= words.size()) {
-                    try {
-                        String w = wordReader.readLine();
-                        if (w != null) {
-                            words.add(w);
-                        } else {
-                            words.add("w-" + n);
-                        }
-                    } catch (IOException e) {
-                        log.error("Error reading other words resource", e);
-                        words.add("w-" + n);
-                    }
-                }
-            }
-        }
-        return words.get(n);
-    }
-
-    public Map<String, Integer> getBaseWeights() {
-        return baseWeights;
-    }
-
-    public int size() {
-        return words.size();
-    }
-}

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/resources/geo-codes
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/resources/geo-codes b/sandbox/synth-log/src/main/resources/geo-codes
deleted file mode 100644
index f08d1fc..0000000
--- a/sandbox/synth-log/src/main/resources/geo-codes
+++ /dev/null
@@ -1,297 +0,0 @@
-AL
-AK
-AZ
-AR
-CA
-CO
-CT
-DE
-FL
-GA
-HI
-ID
-IL
-IN
-IA
-KS
-KY
-LA
-ME
-MD
-MA
-MI
-MN
-MS
-MO
-MT
-NE
-NV
-NH
-NJ
-NM
-NY
-NC
-ND
-OH
-OK
-OR
-PA
-RI
-SC
-SD
-TN
-TX
-UT
-VT
-VA
-WA
-WV
-WI
-WY
-AS
-DC
-FM
-GU
-MH
-MP
-PW
-PR
-VI
-AF
-AL
-DZ
-AS
-AD
-AO
-AI
-AQ
-AG
-AR
-AM
-AW
-AU
-AT
-AZ
-BS
-BH
-BD
-BB
-BY
-BE
-BZ
-BJ
-BM
-BT
-BO
-BA
-BW
-BV
-BR
-IO
-BN
-BG
-BF
-BI
-KH
-CM
-CA
-CV
-KY
-CF
-TD
-CL
-CN
-CX
-CC
-CO
-KM
-CG
-CD
-CK
-CR
-CI
-HR
-CU
-CY
-CZ
-DK
-DJ
-DM
-DO
-TP
-EC
-EG
-SV
-GQ
-ER
-EE
-ET
-FK
-FO
-FJ
-FI
-FR
-FX
-GF
-PF
-TF
-GA
-GM
-GE
-DE
-GH
-GI
-GR
-GL
-GD
-GP
-GU
-GT
-GN
-GW
-GY
-HT
-HM
-VA
-HN
-HK
-HU
-IS
-IN
-ID
-IR
-IQ
-IE
-IL
-IT
-JM
-JP
-JO
-KZ
-KE
-KI
-KP
-KR
-KW
-KG
-LA
-LV
-LB
-LS
-LR
-LY
-LI
-LT
-LU
-MO
-MK
-MG
-MW
-MY
-MV
-ML
-MT
-MH
-MQ
-MR
-MU
-YT
-MX
-FM
-MD
-MC
-MN
-MS
-MA
-MZ
-MM
-NA
-NR
-NP
-NL
-AN
-NC
-NZ
-NI
-NE
-NG
-NU
-NF
-MP
-NO
-OM
-PK
-PW
-PA
-PG
-PY
-PE
-PH
-PN
-PL
-PT
-PR
-QA
-RE
-RO
-RU
-RW
-KN
-LC
-VC
-WS
-SM
-ST
-SA
-SN
-SC
-SL
-SG
-SK
-SI
-SB
-SO
-ZA
-GS
-ES
-LK
-SH
-PM
-SD
-SR
-SJ
-SZ
-SE
-CH
-SY
-TW
-TJ
-TZ
-TH
-TG
-TK
-TO
-TT
-TN
-TR
-TM
-TC
-TV
-UG
-UA
-AE
-GB
-US
-UM
-UY
-UZ
-VU
-VE
-VN
-VG
-VI
-WF
-EH
-YE
-ZM
-ZW
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/9a48e688/sandbox/synth-log/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/resources/log4j.properties b/sandbox/synth-log/src/main/resources/log4j.properties
deleted file mode 100644
index b445615..0000000
--- a/sandbox/synth-log/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-# http:# www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Set root logger level to DEBUG and its only appender to A1.
-log4j.rootLogger=DEBUG, A1
-
-# A1 is set to be a ConsoleAppender.
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-
-# A1 uses PatternLayout.
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
-
-log4j.logger.org.apache=off


Mime
View raw message