{ "paragraphs": [ { "text": "%md\n## Welcome to Zeppelin.\n##### This is a live tutorial, you can run the code yourself. (Shift-Enter to Run)", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.919", "config": { "tableHide": false, "editorSetting": { "language": "markdown", "editOnDblClick": true, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/markdown", "fontSize": 9.0, "editorHide": true, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "HTML", "data": "\u003cdiv class\u003d\"markdown-body\"\u003e\n\u003ch2\u003eWelcome to Zeppelin.\u003c/h2\u003e\n\u003ch5\u003eThis is a live tutorial, you can run the code yourself. (Shift-Enter to Run)\u003c/h5\u003e\n\u003c/div\u003e" } ] }, "apps": [], "jobName": "paragraph_1574063655918_1072227622", "id": "20191113-084312_71033313", "dateCreated": "2019-11-18 07:54:15.919", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%md\n#### 1. Clone a tutorial repository.\n\nThe repository includes a tool for generating sample data and a notebook for tutorial.", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.920", "config": { "tableHide": false, "editorSetting": { "language": "markdown", "editOnDblClick": true, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/markdown", "fontSize": 9.0, "editorHide": true, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "HTML", "data": "\u003cdiv class\u003d\"markdown-body\"\u003e\n\u003ch4\u003e1. Clone a tutorial repository.\u003c/h4\u003e\n\u003cp\u003eThe repository includes a tool for generating sample data and a notebook for tutorial.\u003c/p\u003e\n\u003c/div\u003e" } ] }, "apps": [], "jobName": "paragraph_1574063655919_-547816658", "id": "20191118-044249_1240062393", "dateCreated": "2019-11-18 07:54:15.919", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sh\ncd ~/\ngit clone https://github.com/mnms/tutorials.git", "user": "anonymous", "dateUpdated": "2019-11-18 07:57:07.177", "config": { "editorSetting": { "language": "sh", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/sh", "fontSize": 9.0, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "apps": [], "jobName": "paragraph_1574063655920_354536472", "id": "20191114-042102_932829872", "dateCreated": "2019-11-18 07:54:15.920", "dateStarted": "2019-11-18 07:57:07.198", "dateFinished": "2019-11-18 07:57:10.254", "status": "FINISHED", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%md\n#### 2. Generate sample data\n\nYou can find various options of generator in this [page](https://github.com/mnms/tutorials/tree/master/prep-sample-data#options).\nNow, generate 24 csv files in /nvme/data_01/loadData. Each file has 2,296,622 rows.", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.920", "config": { "tableHide": false, "editorSetting": { "language": "markdown", "editOnDblClick": true, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/markdown", "fontSize": 9.0, "editorHide": true, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "HTML", "data": "\u003cdiv class\u003d\"markdown-body\"\u003e\n\u003ch4\u003e2. Generate sample data\u003c/h4\u003e\n\u003cp\u003eYou can find various options of generator in this \u003ca href\u003d\"https://github.com/mnms/tutorials/tree/master/prep-sample-data#options\"\u003epage\u003c/a\u003e.\u003cbr/\u003eNow, generate 24 csv files in /nvme/data_01/loadData. Each file has 2,296,622 rows.\u003c/p\u003e\n\u003c/div\u003e" } ] }, "apps": [], "jobName": "paragraph_1574063655920_-1536591945", "id": "20191118-054547_1991349652", "dateCreated": "2019-11-18 07:54:15.920", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sh\ncd ~/tutorials/prep-sample-data\npython3 prep.py --outdir /nvme/data_01/loadData", "user": "anonymous", "dateUpdated": "2019-11-18 07:58:21.699", "config": { "editorSetting": { "language": "sh", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/sh", "fontSize": 9.0, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TEXT", "data": "* generating sample data...\n* 24 files generated.\n" } ] }, "apps": [], "jobName": "paragraph_1574063655920_500130433", "id": "20191118-044237_1397043835", "dateCreated": "2019-11-18 07:54:15.920", "dateStarted": "2019-11-18 07:58:21.721", "dateFinished": "2019-11-18 07:59:54.633", "status": "FINISHED", "progressUpdateIntervalMs": 500 }, { "text": "%md\n#### 3. Create a temporary view of CSV data\n\nLoad CSV data, and create a temporary view. This view will be used to insert into a table of LightningDB.", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.920", "config": { "tableHide": false, "editorSetting": { "language": "markdown", "editOnDblClick": true, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/markdown", "fontSize": 9.0, "editorHide": true, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "HTML", "data": "\u003cdiv class\u003d\"markdown-body\"\u003e\n\u003ch4\u003e3. Create a temporary view of CSV data\u003c/h4\u003e\n\u003cp\u003eLoad CSV data, and create a temporary view. This view will be used to insert into a table of LightningDB.\u003c/p\u003e\n\u003c/div\u003e" } ] }, "apps": [], "jobName": "paragraph_1574063655920_1701126021", "id": "20191118-055616_1455560182", "dateCreated": "2019-11-18 07:54:15.920", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%spark\nval csvDf \u003d spark.sqlContext.read\n .format(\"csv\")\n .option(\"header\", \"true\")\n .option(\"inferSchema\", \"true\")\n .load(\"file:///nvme/data_01/loadData\")\n\ncsvDf.createOrReplaceTempView(\"CSV_DATA\")\n", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.921", "config": { "editorSetting": { "language": "scala", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/scala", "fontSize": 9.0, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TEXT", "data": "csvDf: org.apache.spark.sql.DataFrame \u003d [event_time: bigint, name: string ... 6 more fields]\n" } ] }, "apps": [], "jobName": "paragraph_1574063655921_203023979", "id": "20191113-084356_929059768", "dateCreated": "2019-11-18 07:54:15.921", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%md\n#### 4. Table schema of CSV data\n\nCSV data include event_time, name, sur_name, sex, city, latitude, longitude and country.\nThe latitude and longitude are the coordinate of the city.\n", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.921", "config": { "tableHide": false, "editorSetting": { "language": "markdown", "editOnDblClick": true, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/markdown", "fontSize": 9.0, "editorHide": true, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "HTML", "data": "\u003cdiv class\u003d\"markdown-body\"\u003e\n\u003ch4\u003e4. Table schema of CSV data\u003c/h4\u003e\n\u003cp\u003eCSV data include event_time, name, sur_name, sex, city, latitude, longitude and country.\u003cbr/\u003eThe latitude and longitude are the coordinate of the city.\u003c/p\u003e\n\u003c/div\u003e" } ] }, "apps": [], "jobName": "paragraph_1574063655921_-1380611131", "id": "20191118-061105_1997766542", "dateCreated": "2019-11-18 07:54:15.921", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%spark\ncsvDf.show()", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.921", "config": { "editorSetting": { "language": "scala", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/scala", "fontSize": 9.0, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TEXT", "data": "+------------+-----------+-----------+----+--------------+--------+---------+--------------+\n| event_time| name| sur_name| sex| city|latitude|longitude| country|\n+------------+-----------+-----------+----+--------------+--------+---------+--------------+\n|201903011400| Prince| DUHL| boy| Woodbury| 41.3284| -74.1004| United States|\n|201903011400| Spencer| CUCE| boy| Bolu| 40.7363| 31.6061| Turkey|\n|201903011400| Arleen| HEFFLIN|girl| Downpatrick| 54.3269| -5.7113|United Kingdom|\n|201903011400| Lovina| CROZE|girl| Fruita| 39.154|-108.7285| United States|\n|201903011400| Esmeralda| OESTMANN|girl| Hungnam| 39.8231| 127.6232| Korea, North|\n|201903011400| Florine| MONETTI|girl| Logatec| 45.9144| 14.2258| Slovenia|\n|201903011400| Rashawn| BARTLESON| boy| Golfito| 8.65| -83.15| Costa Rica|\n|201903011400| Lee| RADEL| boy| Garissa| -0.4396| 39.67| Kenya|\n|201903011400| Vernon| SCHNAUFER| boy| Fada Ngourma| 12.055| 0.361| Burkina Faso|\n|201903011400| Josef| DOSEY| boy| Tegal| -6.8696| 109.12| Indonesia|\n|201903011400| Josefina| LEBOUF|girl| Tell City| 37.9528| -86.7596| United States|\n|201903011400| Floyd| NICCUM| boy| Arandelovac| 44.3077| 20.5612| Serbia|\n|201903011400| Grace| SOLTYSIAK|girl| Djenne| 13.9| -4.55| Mali|\n|201903011400| Jame| ZAIN| boy| Gdansk| 54.36| 18.64| Poland|\n|201903011400| Dawn| LAUFMAN|girl| Al Musayyib| 32.7786| 44.29| Iraq|\n|201903011400| Roslyn| LEHENY|girl| Salina Cruz| 16.1671| -95.2| Mexico|\n|201903011400|Christopher|ATTENBERGER|girl| Chimboy| 42.9311| 59.7708| Uzbekistan|\n|201903011400| Vincent| STARMER| boy| Little Falls| 45.9836| -94.3599| United States|\n|201903011400| Nannette| GILFOIL|girl|North Caldwell| 40.8629| -74.2576| United States|\n|201903011400| Alvie| RESTELLI| boy| Ahvaz| 31.28| 48.72| Iran|\n+------------+-----------+-----------+----+--------------+--------+---------+--------------+\nonly showing top 20 rows\n\n" } ] }, "apps": [], "jobName": "paragraph_1574063655921_-997071330", "id": "20191118-060008_627652660", "dateCreated": "2019-11-18 07:54:15.921", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%md\n#### 5. Create Table of LightningDB\n\nThe name of data source is \"r2\", which means \"redis + rockdb\".\nThe data source has various options, and you can check it in [this page](https://mnms.github.io/docs/data-ingestion-and-querying/)\nThe columns of EVENT_TIME and CITY are used as partition column. The partitions columns are important for performance because they are not only norms for distributing data during ingestion, but keys of filtering data during querying.\n", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.921", "config": { "tableHide": false, "editorSetting": { "language": "markdown", "editOnDblClick": true, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/markdown", "fontSize": 9.0, "editorHide": true, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "HTML", "data": "\u003cdiv class\u003d\"markdown-body\"\u003e\n\u003ch4\u003e5. Create Table of LightningDB\u003c/h4\u003e\n\u003cp\u003eThe name of data source is \u0026ldquo;r2\u0026rdquo;, which means \u0026ldquo;redis + rockdb\u0026rdquo;.\u003cbr/\u003eThe data source has various options, and you can check it in \u003ca href\u003d\"https://mnms.github.io/docs/data-ingestion-and-querying/\"\u003ethis page\u003c/a\u003e\u003cbr/\u003eThe columns of EVENT_TIME and CITY are used as partition column. The partitions columns are important for performance because they are not only norms for distributing data during ingestion, but keys of filtering data during querying.\u003c/p\u003e\n\u003c/div\u003e" } ] }, "apps": [], "jobName": "paragraph_1574063655921_2057982780", "id": "20191118-063513_271509080", "dateCreated": "2019-11-18 07:54:15.921", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%spark\nspark.sql(\"\"\"CREATE OR REPLACE TEMPORARY VIEW LIGHTNING_TUTORIAL\n |(EVENT_TIME STRING, NAME STRING, SUR_NAME STRING, SEX STRING, CITY STRING, LATITUDE DOUBLE, LONGITUDE DOUBLE, COUNTRY STRING)\n |USING r2\n |OPTIONS (table \u0027100\u0027, host \u0027127.0.0.1\u0027, port \u002718100\u0027, partitions \u0027EVENT_TIME CITY\u0027, mode \u0027nvkvs\u0027, rowstore \u0027true\u0027, at_least_one_partition_enabled \u0027no\u0027)\"\"\".stripMargin).show()\n", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.921", "config": { "editorSetting": { "language": "scala", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/scala", "fontSize": 9.0, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TEXT", "data": "++\n||\n++\n++\n\n" } ] }, "apps": [], "jobName": "paragraph_1574063655921_-1512698927", "id": "20191113-090030_1825956406", "dateCreated": "2019-11-18 07:54:15.921", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%md\n#### 6. Insert CSV data into LightningDB.\n\nInsert CSV data into LightningDB.", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.922", "config": { "tableHide": true, "editorSetting": { "language": "markdown", "editOnDblClick": true, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/markdown", "fontSize": 9.0, "editorHide": false, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "HTML", "data": "\u003cdiv class\u003d\"markdown-body\"\u003e\n\u003ch4\u003e6. Insert CSV data into LightningDB.\u003c/h4\u003e\n\u003cp\u003eInsert CSV data into LightningDB.\u003c/p\u003e\n\u003c/div\u003e" } ] }, "apps": [], "jobName": "paragraph_1574063655922_547118594", "id": "20191118-064532_280573780", "dateCreated": "2019-11-18 07:54:15.922", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%spark\nspark.sql(\"INSERT INTO LIGHTNING_TUTORIAL SELECT * FROM CSV_DATA\").show", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.922", "config": { "editorSetting": { "language": "scala", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/scala", "fontSize": 9.0, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TEXT", "data": "++\n||\n++\n++\n\n" } ] }, "apps": [], "jobName": "paragraph_1574063655922_-1712891052", "id": "20191113-111055_1491832496", "dateCreated": "2019-11-18 07:54:15.922", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%md\n#### 7. Querying data from LightningDB.\n\nNow, you can query data from LightningDB.\nEach redis node of LightningDB is assigned to a single Spark partition.", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.922", "config": { "tableHide": false, "editorSetting": { "language": "markdown", "editOnDblClick": true, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/markdown", "fontSize": 9.0, "editorHide": true, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "HTML", "data": "\u003cdiv class\u003d\"markdown-body\"\u003e\n\u003ch4\u003e7. Querying data from LightningDB.\u003c/h4\u003e\n\u003cp\u003eNow, you can query data from LightningDB.\u003cbr/\u003eEach redis node of LightningDB is assigned to a single Spark partition.\u003c/p\u003e\n\u003c/div\u003e" } ] }, "apps": [], "jobName": "paragraph_1574063655922_-363826407", "id": "20191118-071740_398829111", "dateCreated": "2019-11-18 07:54:15.922", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sql\nSELECT COUNT(*) FROM LIGHTNING_TUTORIAL", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.922", "config": { "editorSetting": { "language": "sql", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/sql", "fontSize": 9.0, "results": { "0": { "graph": { "mode": "table", "height": 300.0, "optionOpen": false, "setting": { "table": { "tableGridState": {}, "tableColumnTypeState": { "names": { "count(1)": "string" }, "updated": false }, "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]", "tableOptionValue": { "useFilter": false, "showPagination": false, "showAggregationFooter": false }, "updated": false, "initialized": false }, "multiBarChart": { "rotate": { "degree": "-45" }, "xLabelStatus": "default" } }, "commonSetting": {}, "keys": [ { "name": "count(1)", "index": 0.0, "aggr": "sum" } ], "groups": [], "values": [] }, "helium": {} } }, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TABLE", "data": "count(1)\n51518954\n" }, { "type": "TEXT", "data": "" } ] }, "apps": [], "jobName": "paragraph_1574063655922_-393319583", "id": "20191113-090111_1840793847", "dateCreated": "2019-11-18 07:54:15.922", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sql\nSELECT * FROM LIGHTNING_TUTORIAL LIMIT 20", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.923", "config": { "editorSetting": { "language": "sql", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/sql", "fontSize": 9.0, "results": { "0": { "graph": { "mode": "table", "height": 300.0, "optionOpen": false, "setting": { "table": { "tableGridState": {}, "tableColumnTypeState": { "names": { "EVENT_TIME": "string", "NAME": "string", "SUR_NAME": "string", "SEX": "string", "CITY": "string", "LATITUDE": "string", "LONGITUDE": "string", "COUNTRY": "string" }, "updated": false }, "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]", "tableOptionValue": { "useFilter": false, "showPagination": false, "showAggregationFooter": false }, "updated": false, "initialized": false } }, "commonSetting": {} } } }, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TABLE", "data": "EVENT_TIME\tNAME\tSUR_NAME\tSEX\tCITY\tLATITUDE\tLONGITUDE\tCOUNTRY\n201903011340\tLora\tPOPS\tgirl\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tDenis\tALE\tboy\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tDee\tURBANEC\tboy\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tMarcia\tNEDBALEK\tgirl\tOregon\t42.9252\t-89.3887\tUnited States\n201903011340\tVerne\tTREPAGNIER\tboy\tOregon\t42.9252\t-89.3887\tUnited States\n201903011340\tDevon\tPALJEVIC\tboy\tOregon\t42.9252\t-89.3887\tUnited States\n201903011340\tWelton\tARELIANES\tboy\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tJabari\tLITWACK\tboy\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tAlonso\tKARKLINS\tboy\tOregon\t42.9252\t-89.3887\tUnited States\n201903011340\tWoodrow\tMCCONCHIE\tboy\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tVicente\tSCANDONE\tboy\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tWilliam\tMATOSSIAN\tgirl\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tJohnie\tMARHEFKA\tgirl\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tWright\tSANDHAUS\tboy\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tNoah\tBRIMM\tboy\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tDanica\tHERSCHLEB\tgirl\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tLenard\tFANZ\tboy\tOregon\t42.9252\t-89.3887\tUnited States\n201903011340\tJocelyn\tIACOPELLI\tgirl\tOregon\t42.9252\t-89.3887\tUnited States\n201903011340\tEttie\tHOLZSCHUH\tgirl\tOregon\t41.6528\t-83.432\tUnited States\n201903011340\tArtie\tTREBINO\tboy\tOregon\t42.9252\t-89.3887\tUnited States\n" }, { "type": "TEXT", "data": "" } ] }, "apps": [], "jobName": "paragraph_1574063655922_267452823", "id": "20191114-100117_88920203", "dateCreated": "2019-11-18 07:54:15.922", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sql\nSELECT COUNTRY, COUNT(*) AS PEOPLE_COUNT FROM LIGHTNING_TUTORIAL WHERE EVENT_TIME \u003d \u0027201903011425\u0027 GROUP BY COUNTRY ORDER BY PEOPLE_COUNT DESC LIMIT 100", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.923", "config": { "editorSetting": { "language": "sql", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/sql", "fontSize": 9.0, "results": { "0": { "graph": { "mode": "multiBarChart", "height": 300.0, "optionOpen": false, "setting": { "table": { "tableGridState": {}, "tableColumnTypeState": { "names": { "COUNTRY": "string", "PEOPLE_COUNT": "string" }, "updated": false }, "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]", "tableOptionValue": { "useFilter": false, "showPagination": false, "showAggregationFooter": false }, "updated": false, "initialized": false }, "multiBarChart": { "rotate": { "degree": "-45" }, "xLabelStatus": "default", "stacked": false } }, "commonSetting": {}, "keys": [ { "name": "COUNTRY", "index": 0.0, "aggr": "sum" } ], "groups": [], "values": [ { "name": "PEOPLE_COUNT", "index": 1.0, "aggr": "sum" } ] }, "helium": {} } }, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TABLE", "data": "COUNTRY\tPEOPLE_COUNT\nUnited States\t787379\nRussia\t91754\nChina\t64079\nBrazil\t62902\nCanada\t40621\nUnited Kingdom\t36601\nAustralia\t35233\nSlovenia\t34506\nIndia\t34352\nMexico\t30405\nArgentina\t25124\nSerbia\t23423\nUganda\t20131\nPhilippines\t18860\nLatvia\t18534\nIndonesia\t17335\nKazakhstan\t15515\nTurkey\t14776\nPeru\t14375\nCongo (Kinshasa)\t14236\nChile\t13563\nThailand\t13530\nAzerbaijan\t12253\nJapan\t12051\nVietnam\t11841\nSouth Africa\t11772\nNigeria\t11660\nColombia\t11611\nMacedonia\t11442\nBolivia\t11320\nMalta\t10965\nIran\t10509\nTanzania\t10201\nKenya\t9838\nAlgeria\t9668\nFrance\t9303\nGermany\t9258\nItaly\t9005\nLithuania\t8584\nUkraine\t8232\nVenezuela\t8130\nAngola\t7860\nSpain\t7762\nNew Zealand\t7690\nRomania\t6719\nEgypt\t6670\nAfghanistan\t6665\nEcuador\t6571\nPakistan\t6461\nLibya\t6311\nParaguay\t6139\nMoldova\t6097\nBurma\t6025\nKosovo\t5998\nNorway\t5788\nEthiopia\t5713\nSudan\t5693\nSweden\t5546\nIreland\t5538\nMozambique\t5500\nZambia\t5471\nUruguay\t5416\nMalaysia\t5326\nBurkina Faso\t5306\nDominican Republic\t5222\nSwitzerland\t5129\nMali\t5081\nSaudi Arabia\t5066\nKorea, South\t5059\nNamibia\t5027\nGreece\t4978\nCameroon\t4923\nGuinea\t4868\nUzbekistan\t4777\nFaroe Islands\t4772\nKorea, North\t4756\nMalawi\t4666\nSomalia\t4564\nMadagascar\t4522\nCuba\t4400\nChad\t4381\nMongolia\t4323\nTaiwan\t4306\nIraq\t4306\nBulgaria\t4286\nCambodia\t4284\nGuatemala\t4262\nTunisia\t4238\nYemen\t4186\nCôte D’Ivoire\t4182\nAlbania\t4134\nHungary\t4047\nBotswana\t3976\nPortugal\t3894\nPoland\t3892\nFinland\t3853\nMontenegro\t3732\nZimbabwe\t3729\nPapua New Guinea\t3656\nCentral African Republic\t3606\n" }, { "type": "TEXT", "data": "" } ] }, "apps": [], "jobName": "paragraph_1574063655923_1688709214", "id": "20191114-064455_366662871", "dateCreated": "2019-11-18 07:54:15.923", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sql\nSELECT CITY, COUNT(*) AS PEOPLE_COUNT FROM LIGHTNING_TUTORIAL WHERE EVENT_TIME \u003d \u0027201903011425\u0027 AND COUNTRY \u003d \u0027United States\u0027 GROUP BY CITY ORDER BY PEOPLE_COUNT DESC LIMIT 100", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.923", "config": { "editorSetting": { "language": "sql", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/sql", "fontSize": 9.0, "results": { "0": { "graph": { "mode": "multiBarChart", "height": 300.0, "optionOpen": false, "setting": { "table": { "tableGridState": { "columns": [ { "name": "CITY", "visible": true, "width": "*", "sort": {}, "filters": [ {} ], "pinned": "" }, { "name": "PEOPLE_COUNT", "visible": true, "width": "*", "sort": {}, "filters": [ {} ], "pinned": "" } ], "scrollFocus": {}, "selection": [], "grouping": { "grouping": [], "aggregations": [], "rowExpandedStates": {} }, "treeView": {}, "pagination": { "paginationCurrentPage": 1.0, "paginationPageSize": 250.0 } }, "tableColumnTypeState": { "updated": false, "names": { "CITY": "string", "PEOPLE_COUNT": "string" } }, "updated": false, "initialized": false, "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]", "tableOptionValue": { "useFilter": false, "showPagination": false, "showAggregationFooter": false } }, "multiBarChart": { "rotate": { "degree": "-45" }, "xLabelStatus": "default" }, "stackedAreaChart": { "rotate": { "degree": "-45" }, "xLabelStatus": "default" }, "lineChart": { "rotate": { "degree": "-45" }, "xLabelStatus": "default" }, "pieChart": {}, "scatterChart": { "xAxis": { "name": "CITY", "index": 1.0, "aggr": "sum" }, "yAxis": { "name": "count(1)", "index": 2.0, "aggr": "sum" } } }, "keys": [ { "name": "CITY", "index": 0.0, "aggr": "sum" } ], "groups": [], "values": [ { "name": "PEOPLE_COUNT", "index": 1.0, "aggr": "sum" } ], "commonSetting": {} }, "helium": {} } }, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TABLE", "data": "CITY\tPEOPLE_COUNT\nFranklin\t1819\nClinton\t1659\nSpringfield\t1480\nGreenville\t1405\nJackson\t1404\nWashington\t1399\nMonroe\t1356\nMarion\t1299\nLebanon\t1271\nSalem\t1257\nColumbia\t1122\nRichmond\t1105\nAuburn\t1089\nLexington\t1009\nMonticello\t1007\nTroy\t1005\nLancaster\t1003\nMadison\t999\nColumbus\t987\nJacksonville\t983\nFlorence\t980\nFarmington\t979\nBurlington\t978\nMiddletown\t976\nPrinceton\t972\nIndependence\t971\nPortland\t970\nAshland\t958\nBellevue\t946\nCovington\t933\nDayton\t907\nMount Vernon\t885\nLafayette\t850\nGarden City\t843\nNewport\t842\nUnion City\t841\nMount Pleasant\t839\nClayton\t837\nGreenwood\t832\nRochester\t831\nGlendale\t826\nDover\t821\nCanton\t821\nBristol\t818\nHenderson\t811\nCleveland\t809\nDanville\t808\nNewton\t808\nHarrison\t799\nManchester\t795\nDecatur\t789\nOxford\t783\nNewark\t781\nMilton\t780\nAthens\t778\nAlexandria\t765\nPlymouth\t730\nSidney\t705\nJasper\t694\nParis\t680\nBrentwood\t679\nCharleston\t674\nMontgomery\t665\nAberdeen\t664\nWatertown\t662\nHighland Park\t662\nLincoln\t656\nGreenfield\t655\nChester\t650\nMarysville\t650\nBedford\t648\nCambridge\t641\nCenterville\t640\nLakewood\t639\nNorwalk\t638\nFayetteville\t637\nLowell\t635\nWarren\t631\nFairview\t628\nTrenton\t627\nFairfield\t626\nPortage\t625\nSaint Joseph\t621\nSelma\t620\nLawrence\t619\nUnion\t618\nHighland\t617\nLa Grange\t615\nGeorgetown\t615\nWilmington\t610\nHillsboro\t604\nMarshall\t604\nNew Castle\t602\nAlbany\t599\nQuincy\t594\nAurora\t591\nCottage Grove\t554\nHastings\t545\nHartford\t539\nNiles\t525\n" }, { "type": "TEXT", "data": "" } ] }, "apps": [], "jobName": "paragraph_1574063655923_-1473896289", "id": "20191113-104430_898966897", "dateCreated": "2019-11-18 07:54:15.923", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sql\nSELECT NAME, COUNT(*) AS PEOPLE_COUNT FROM LIGHTNING_TUTORIAL WHERE EVENT_TIME \u003e\u003d \u0027201903011330\u0027 AND EVENT_TIME \u003c\u003d \u0027201903011425\u0027 AND COUNTRY \u003d \u0027Russia\u0027 GROUP BY NAME ORDER BY PEOPLE_COUNT DESC LIMIT 100", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.923", "config": { "editorSetting": { "language": "sql", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/sql", "fontSize": 9.0, "results": { "0": { "graph": { "mode": "multiBarChart", "height": 300.0, "optionOpen": false, "setting": { "table": { "tableGridState": {}, "tableColumnTypeState": { "names": { "NAME": "string", "PEOPLE_COUNT": "string" }, "updated": false }, "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]", "tableOptionValue": { "useFilter": false, "showPagination": false, "showAggregationFooter": false }, "updated": false, "initialized": false }, "multiBarChart": { "rotate": { "degree": "-45" }, "xLabelStatus": "default" } }, "commonSetting": {}, "keys": [ { "name": "NAME", "index": 0.0, "aggr": "sum" } ], "groups": [], "values": [ { "name": "PEOPLE_COUNT", "index": 1.0, "aggr": "sum" } ] }, "helium": {} } }, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TABLE", "data": "NAME\tPEOPLE_COUNT\nLeslie\t1090\nWilliam\t1084\nJessie\t1083\nGuadalupe\t1079\nLee\t1063\nJean\t1063\nRobert\t1040\nFrancis\t1016\nJames\t1015\nWillie\t1014\nDana\t986\nJohn\t976\nMary\t973\nJohnnie\t966\nConnie\t965\nCharles\t959\nCarmen\t950\nMarion\t946\nFrankie\t920\nBillie\t904\nJoseph\t897\nEddie\t893\nJoe\t888\nThomas\t883\nCharlie\t882\nJimmie\t879\nSidney\t878\nTerry\t877\nGeorge\t873\nTommie\t866\nDale\t865\nLynn\t863\nDavid\t862\nShirley\t860\nMargaret\t859\nMichael\t858\nFrances\t854\nCarol\t849\nGene\t835\nFrank\t831\nElizabeth\t828\nHenry\t828\nFreddie\t823\nLonnie\t822\nHelen\t821\nNoel\t819\nRichard\t817\nJerry\t812\nRay\t811\nShelby\t805\nBennie\t802\nBonnie\t801\nKelly\t795\nIra\t795\nJamie\t791\nClyde\t789\nEdward\t787\nCecil\t780\nClare\t778\nTracy\t776\nAlma\t772\nOllie\t772\nAdrian\t772\nBobbie\t765\nRuby\t764\nIvy\t763\nDonnie\t761\nMerle\t760\nRuth\t760\nVivian\t754\nLaverne\t754\nDorothy\t751\nWalter\t744\nRene\t744\nGail\t742\nJewel\t738\nChristian\t735\nMorgan\t734\nAubrey\t732\nSammie\t732\nAudrey\t730\nAnnie\t729\nArthur\t727\nAlice\t726\nDonald\t725\nMarie\t725\nJesse\t720\nClaire\t716\nLillian\t715\nPatricia\t710\nSandy\t710\nChris\t703\nPearl\t703\nBilly\t700\nHazel\t700\nAugustine\t699\nDoris\t697\nFay\t697\nJoyce\t697\nLouis\t695\n" }, { "type": "TEXT", "data": "" } ] }, "apps": [], "jobName": "paragraph_1574063655923_1290780733", "id": "20191114-072730_1892952575", "dateCreated": "2019-11-18 07:54:15.923", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sql\nSELECT DISTINCT CITY, LATITUDE AS LAT, LONGITUDE AS LON FROM LIGHTNING_TUTORIAL WHERE EVENT_TIME \u003d \u0027201903011230\u0027 AND LATITUDE \u003e 0 ORDER BY LAT DESC LIMIT 20", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.924", "config": { "editorSetting": { "language": "sql", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/sql", "fontSize": 9.0, "results": { "0": { "graph": { "mode": "zeppelin-leaflet", "height": 300.0, "optionOpen": true, "setting": { "table": { "tableGridState": {}, "tableColumnTypeState": { "names": { "CITY": "string", "LAT": "string", "LON": "string" }, "updated": false }, "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]", "tableOptionValue": { "useFilter": false, "showPagination": false, "showAggregationFooter": false }, "updated": false, "initialized": false }, "multiBarChart": { "rotate": { "degree": "-45" }, "xLabelStatus": "default" }, "lineChart": { "rotate": { "degree": "-45" }, "xLabelStatus": "default" }, "stackedAreaChart": { "rotate": { "degree": "-45" }, "xLabelStatus": "default" }, "zeppelin-leaflet": { "latitude": { "name": "LAT", "index": 1.0, "aggr": "sum" }, "longitude": { "name": "LON", "index": 2.0, "aggr": "sum" }, "tooltip": { "name": "CITY", "index": 0.0, "aggr": "sum" } } }, "keys": [ { "name": "YYYYMMDDHHMM", "index": 0.0, "aggr": "sum" } ], "groups": [], "values": [ { "name": "round(avg(LATTITUDE), 2)", "index": 2.0, "aggr": "sum" }, { "name": "round(avg(LONGITUDE), 2)", "index": 3.0, "aggr": "sum" } ], "commonSetting": {} }, "helium": {} } }, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TABLE", "data": "CITY\tLAT\tLON\nAlert\t82.4833\t-62.25\nNord\t81.7166\t-17.8\nLongyearbyen\t78.2167\t15.6333\nQaanaaq\t77.4835\t-69.3322\nGrise Fiord\t76.4417\t-82.95\nSavissivik\t76.0195\t-65.1125\nZemlya Bunge\t74.8983\t142.105\nResolute\t74.6833\t-94.9\nKullorsuaq\t74.5781\t-57.225\nNuussuaq\t74.121\t-57.0674\nNordvik\t74.0165\t111.51\nDikson\t73.507\t80.5451\nKhorgo\t73.4833\t113.63\nSagastyr\t73.3779\t126.5924\nTasiusaq\t73.369\t-56.0598\nMatochkin Shar\t73.27\t56.4497\nShalaurova\t73.2204\t143.1833\nArctic Bay\t73.0333\t-85.1666\nUst Olensk\t72.9978\t119.7729\nStarorybnoye\t72.7666\t104.8\n" }, { "type": "TEXT", "data": "" } ] }, "apps": [], "jobName": "paragraph_1574063655923_-1847974385", "id": "20191113-111609_1486788551", "dateCreated": "2019-11-18 07:54:15.923", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sql\nSELECT CITY, LATITUDE AS LAT, LONGITUDE AS LON, COUNT(*) AS SURNAME_PEOPLE_COUNT FROM LIGHTNING_TUTORIAL WHERE EVENT_TIME \u003d \u0027201903011230\u0027 AND SUR_NAME IN (SELECT SUR_NAME FROM LIGHTNING_TUTORIAL WHERE EVENT_TIME \u003d \u0027201903011230\u0027 GROUP BY SUR_NAME ORDER BY COUNT(*) DESC LIMIT 1) GROUP BY CITY, LAT, LON", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.924", "config": { "editorSetting": { "language": "sql", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": true }, "colWidth": 12.0, "editorMode": "ace/mode/sql", "fontSize": 9.0, "results": { "0": { "graph": { "mode": "zeppelin-leaflet", "height": 300.0, "optionOpen": true, "setting": { "table": { "tableGridState": {}, "tableColumnTypeState": { "names": { "CITY": "string", "LAT": "string", "LON": "string", "SURNAME_PEOPLE_COUNT": "string" }, "updated": false }, "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]", "tableOptionValue": { "useFilter": false, "showPagination": false, "showAggregationFooter": false }, "updated": false, "initialized": false }, "zeppelin-leaflet": { "latitude": { "name": "LAT", "index": 1.0, "aggr": "sum" }, "longitude": { "name": "LON", "index": 2.0, "aggr": "sum" }, "tooltip": { "name": "CITY", "index": 0.0, "aggr": "sum" } } }, "commonSetting": {} }, "helium": {} } }, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "TABLE", "data": "CITY\tLAT\tLON\tSURNAME_PEOPLE_COUNT\nFort Oglethorpe\t34.9318\t-85.246\t1\nWaupun\t43.6314\t-88.7379\t1\nDivo\t5.839\t-5.36\t1\nDefiance\t41.281\t-84.366\t1\nPembroke Park\t25.9852\t-80.1779\t1\nLa Cruz\t23.9204\t-106.9\t1\nSpanish Fork\t40.1102\t-111.6405\t1\nTrebnje\t45.9042\t15.0217\t1\nZombo\t2.5135\t30.9091\t1\nGrayslake\t42.3405\t-88.0339\t1\nSocorro\t34.0543\t-106.9066\t1\nSeverobaykalsk\t55.634\t109.313\t1\nYasothon\t15.788\t104.151\t1\nMinnetonka\t44.9332\t-93.4617\t1\nNewman\t37.3157\t-121.0211\t1\nWeatherford\t32.7538\t-97.7712\t1\nJalapa\t14.633\t-89.989\t1\nKaunas\t54.9504\t23.88\t1\nJinotega\t13.091\t-86.0\t1\nLac La Biche\t54.7719\t-111.9647\t1\nViti\t42.3214\t21.3583\t1\nMandaue City\t10.3237\t123.9436\t1\nCastanhal\t-1.2896\t-47.93\t1\nFayetteville\t35.149\t-86.5634\t1\nHarper\t4.3754\t-7.717\t1\nIrig\t45.1001\t19.8603\t1\nAbeokuta\t7.1604\t3.35\t1\nPort Shepstone\t-30.7195\t30.46\t1\nXghajra\t35.8856\t14.5475\t1\nHinche\t19.143\t-72.004\t1\nRabat\t35.8822\t14.3981\t1\nGrinnell\t41.7373\t-92.7244\t1\nBellwood\t41.8829\t-87.8762\t1\nGreenville\t5.0111\t-9.0388\t1\nSt.-Benoit\t-21.0335\t55.7128\t1\nKodiak\t57.7934\t-152.4059\t1\n" }, { "type": "TEXT", "data": "" } ] }, "apps": [], "jobName": "paragraph_1574063655924_-1953306719", "id": "20191114-092708_1878508289", "dateCreated": "2019-11-18 07:54:15.924", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%md\n#### 8. Clear data from LightningDB\n\nYou can clear data from LightningDB by reseting cluster of LightningDB.", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.924", "config": { "tableHide": false, "editorSetting": { "language": "markdown", "editOnDblClick": true, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/markdown", "fontSize": 9.0, "editorHide": true, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "results": { "code": "SUCCESS", "msg": [ { "type": "HTML", "data": "\u003cdiv class\u003d\"markdown-body\"\u003e\n\u003ch4\u003e8. Clear data from LightningDB\u003c/h4\u003e\n\u003cp\u003eYou can clear data from LightningDB by reseting cluster of LightningDB.\u003c/p\u003e\n\u003c/div\u003e" } ] }, "apps": [], "jobName": "paragraph_1574063655924_-639935188", "id": "20191118-074044_343964613", "dateCreated": "2019-11-18 07:54:15.924", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 }, { "text": "%sh\necho \"cluster restart --reset\" | fbctl\n", "user": "anonymous", "dateUpdated": "2019-11-18 07:54:15.924", "config": { "editorSetting": { "language": "sh", "editOnDblClick": false, "completionKey": "TAB", "completionSupport": false }, "colWidth": 12.0, "editorMode": "ace/mode/sh", "fontSize": 9.0, "results": {}, "enabled": true }, "settings": { "params": {}, "forms": {} }, "apps": [], "jobName": "paragraph_1574063655924_1235151973", "id": "20191118-074333_201947226", "dateCreated": "2019-11-18 07:54:15.924", "status": "READY", "errorMessage": "", "progressUpdateIntervalMs": 500 } ], "name": "LightningDB Tutorial", "id": "2ESAGX565", "noteParams": {}, "noteForms": {}, "angularObjects": { "md:shared_process": [], "sh:shared_process": [], "spark:shared_process": [] }, "config": { "isZeppelinNotebookCronEnable": false }, "info": {} }