Skip to content

Instantly share code, notes, and snippets.

INFO global: Vagrant version: 1.7.4
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_OLD_ENV_SPARK_HOME="/Users/quasiben/Research/GitClones/spark"
INFO global: VAGRANT_OLD_ENV_HOME="/Users/quasiben"
INFO global: VAGRANT_OLD_ENV__="/usr/local/bin/vagrant"
INFO global: VAGRANT_OLD_ENV_XPC_FLAGS="0x0"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_OLD_ENV_VAGRANT_LOG="debug"
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 78:31:c1:d6:b4:be
INFO global: Vagrant version: 1.7.4
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM="iTerm.app"
INFO global: VAGRANT_OLD_ENV_Apple_PubSub_Socket_Render="/private/tmp/com.apple.launchd.KW13obTzd8/Render"
INFO global: VAGRANT_OLD_ENV_ACHE_HOME="/Users/quasiben/anaconda/envs/memex-explorer/lib/python2.7/site-packages/ache/"
INFO global: VAGRANT_OLD_ENV_JDK_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/"
INFO global: VAGRANT_OLD_ENV_HOME="/Users/quasiben"
discovery.zen.ping.multicast.enabled: false
cluster.name: elasticsearch2
node.name: "ip-172-31-63-233"
node.master: true
node.data: false
discovery.zen.ping.unicast.hosts: ["ip-172-31-63-233"]
network.publish_host: 172.31.63.233
input { stdin { } }
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}" }
}
date {
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
}
}
Got error to send bulk of actions: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];[SERVICE_UNAVAILABLE/2/no master]; {:level=>:error}
Failed to flush outgoing items {:outgoing_count=>1, :exception=>org.elasticsearch.cluster.block.ClusterBlockException: blocked by:
[SERVICE_UNAVAILABLE/1/state not recovered / initialized];[SERVICE_UNAVAILABLE/2/no master];, :backtrace=>["org.elasticsearch.cluster
.block.ClusterBlocks.globalBlockedException(org/elasticsearch/cluster/block/ClusterBlocks.java:151)", "org.elasticsearch.cluster.block
.ClusterBlocks.globalBlockedRaiseException(org/elasticsearch/cluster/block/ClusterBlocks.java:141)", "org.elasticsearch.action.bulk
.TransportBulkAction.executeBulk(org/elasticsearch/action/bulk/TransportBulkAction.java:210)", "org.elasticsearch.action.bulk.TransportBu
lkAction.access$000(org/elasticsearch/action/bulk/TransportBulkAction.java:73)", "org.elasticsearch.action.bulk.TransportBulkAction$1
.onFailure(org/elasticsearch/action/bulk/TransportBulkAction.ja
{
"name": "Anaconda",
"packages": [
{
"name": "abstract-rendering",
"version": "0.5.1-np110py27_0"
},
{
"name": "alabaster",
"version": "0.7.6-py27_0"
import pandas as pd
from bokeh.plotting import ColumnDataSource, figure, show, output_file
from bokeh.models import HoverTool
from utils import within_bbox
df = pd.read_csv("POIWorld.csv")
@quasiben
quasiben / dataframe_barplot.py
Created April 22, 2016 23:48
sorted bokeh bar plot
import pandas as pd
import numpy as np
from bokeh.plotting import figure, output_file, show
from bokeh.charts import Bar
from bokeh.charts.attributes import ColorAttr, CatAttr
from bokeh.charts.builders.bar_builder import BarBuilder
output_file('try_select.html')
df = pd.DataFrame(np.random.randint(0,100,size=(100, 2)), columns=['other_values', 'values'])
df.sort_values('values', inplace=True)

Keybase proof

I hereby claim:

  • I am quasiben on github.
  • I am quasiben (https://keybase.io/quasiben) on keybase.
  • I have a public key whose fingerprint is 1A11 C2A9 2CDF A1AF F775 38CC 2D91 3569 1385 0607

To claim this, I am signing this object: