Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
2018-04-27T16:45:19 INFO **********************************************
2018-04-27T16:45:19 INFO **************** DRY RUN MODE ****************
2018-04-27T16:45:19 INFO **** Only logging, no action in this mode ****
2018-04-27T16:45:19 INFO **********************************************
2018-04-27T16:45:19 DEBUG Started Shell with with --tables --mappers --partition-name --output-dir --processors --from-timestamp --password-file --force --partition-value --wiki-file --job-name --to-timestamp --user --jdbc-host --log-file --verbose --max-tries --jar-file --labsdb --dry-run
2018-04-27T16:45:19 DEBUG Running: /usr/bin/yarn application -list 2>/dev/null | grep -q "\(sqoop-mediawiki-tables\).*\(RUNNING\|ACCEPTED\)"
2018-04-27T16:45:20 DEBUG No other running instances, proceeding
2018-04-27T16:45:20 INFO Checking HDFS paths
2018-04-27T16:45:20 DEBUG Running: hdfs dfs -ls -d /user/fdans/cu_changes/month=4
2018-04-27T16:45:30 DEBUG All table paths are empty or force cleaned
.CDB-InputText,.CDB-Textarea{font-size:12px;line-height:16px}.CDB-HeaderInfo-TitleText,.u-ellipsis{text-overflow:ellipsis;white-space:nowrap}.CDB-Range,.u-ellipsis,svg:not(:root){overflow:hidden}.CDB-CarouselItem,.CDB-Checkbox-face,.CDB-HeaderNumeration,.CDB-LoaderIcon,.CDB-Radio-face,button{box-sizing:border-box}.CDB-hook-image-inner,.CDB-infowindow-mask,.CDB-infowindow-navigation-info{pointer-events:none}.CDB-AvatarList{padding-left:12px}.CDB-AvatarList-item{display:inline-block;margin-left:-12px;border:2px solid #fff;border-radius:50%;vertical-align:middle}.CDB-AvatarList-itemMore{display:inline-block;margin-left:-12px;padding:2px 6px;border-left:2px solid #fff;border-radius:50px;background:#EEE}.CDB-AvatarList-itemMedia{width:16px;height:16px;border-radius:50%}.CDB-Box-Modal{border:1px solid #DDD;border-radius:4px;background:#fff;box-shadow:0 8px 16px 0 rgba(0,0,0,.16)}.CDB-BoxLoader{padding:0 24px;border-top:1px solid #DDD}.CDB-BoxLoader-inner{padding:12px 0;border-top:1px solid #DDD}.CDB-BoxLoader-inner
@fdansv
fdansv / index.html
Last active January 7, 2016 15:10 — forked from milkbread/index.html
JavaScript: Leaflet Polygon Example
<!DOCTYPE html>
<html>
<head>
<title>Simple polygon visualisation</title>
<meta charset="utf-8" />
<script src="http://cdn.leafletjs.com/leaflet/v0.6.1/leaflet-src.js"></script>
<script src="http://d3js.org/d3.v3.min.js"></script>
<style>
@import url(http://cdn.leafletjs.com/leaflet-0.6.1/leaflet.css);
</style>
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.cartodb = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
},{}],2:[function(require,module,exports){
// http://wiki.commonjs.org/wiki/Unit_Testing/1.0
//
// THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!
//
// Originally from narw
<html>
<link rel="stylesheet" href="vendor/leaflet.css" />
<style>
#map, html, body {
width: 100%; height: 100%; padding: 0; margin: 0;
}
</style>
<body>
<div id="map"></div>
<html>
<link rel="stylesheet" href="vendor/leaflet.css" />
<style>
#map, html, body {
width: 100%; height: 100%; padding: 0; margin: 0;
}
</style>
<body>
<div id="map"></div>
public static void main(String[] args) {
range(0, 100)
.mapToObj(i -> randomString(new Random(), 'A', 'Z', 10))
.sorted()
.collect(groupingBy(name -> name.charAt(0)))
.forEach((letter, names) -> System.out.println(letter + "\n\t" + names.stream().collect(joining("\n\t"))));
}
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Point",
"coordinates": [
-4.454301595687866,
@fdansv
fdansv / gist:7447669
Last active December 28, 2015 05:09
OSM + MapBox demo
import java.util.ArrayList;
import org.osmdroid.DefaultResourceProxyImpl;
import org.osmdroid.api.IMapController;
import org.osmdroid.tileprovider.MapTileProviderBasic;
import org.osmdroid.tileprovider.tilesource.ITileSource;
import org.osmdroid.tileprovider.tilesource.XYTileSource;
import org.osmdroid.util.GeoPoint;
import org.osmdroid.views.MapView;
import org.osmdroid.views.overlay.ItemizedIconOverlay;
@fdansv
fdansv / SimpleMapBoxExample.java
Created October 23, 2013 01:03
MapBox Android simplest app
import com.mapbox.MapBoxView
public class SimpleMapBoxExample extends ApplicationContext {
MapBoxView map;
protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
// We can initialize the map with the MapBox name, coordinates and zoom level
map = new MapBoxView("examples.map-9ijuk24y", 42.65742, 2.347682, 12);