Skip to content

Instantly share code, notes, and snippets.

@jyates
jyates / .log
Last active July 15, 2020 18:31
alpakka #1159 logs
2020-07-15 17:53:23 INFO [KafkaRawToCanonical-akka.actor.default-dispatcher-3] a.e.s.Slf4jLogger:101 - Slf4jLogger started
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:92 - ---- Initializing KafkaRawToCanonical channel ---
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:19 - Current configuration:
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - LOG_OUTPUT_LEVEL: "INFO"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - LOG_OUTPUT_TYPE: "stdout"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.allow-java-serialization: "on"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.creation-timeout: "20s"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.debug.autoreceive: "off"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.debug.event-stream: "off"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.debug.fsm: "off"
@jyates
jyates / .log
Created July 15, 2020 18:23
alpakka #1159 logs
2020-07-15 17:53:23 INFO [KafkaRawToCanonical-akka.actor.default-dispatcher-3] a.e.s.Slf4jLogger:101 - Slf4jLogger started
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:92 - ---- Initializing KafkaRawToCanonical channel ---
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:19 - Current configuration:
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - LOG_OUTPUT_LEVEL: "INFO"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - LOG_OUTPUT_TYPE: "stdout"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.allow-java-serialization: "on"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.creation-timeout: "20s"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.debug.autoreceive: "off"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.debug.event-stream: "off"
2020-07-15 17:53:23 INFO [main] c.t.d.c.KafkaRawToCanonical:25 - akka.actor.debug.fsm: "off"
@jyates
jyates / README.md
Created February 21, 2017 20:14 — forked from rcknr/README.md
Using Let's Encrypt certificates with Amazon API Gateway

##Using Let's Encrypt certificates with AWS API Gateway

Before starting off with API Gateway set up it's worth mentioning that certificate configuration for this particular service is so far isn't well integrated, therefore different from other AWS services. Despite it using CloudFrount to serve on custom domains it won't let you customize distributions it creates, however all the limitations of CloudFront naturally apply to API Gateway. The most important in this case is the size of the key, which is limited by 2048 bit. Many tutorials provide ready to use terminal commands that have the key size preset at 4096 bit for the sake of better security. This won't work with API Gateway and you'll get an error message about certificate's validity or incorrect chain which won't suggest you the real cause of the issue. Another consideration is that to add a custom domain to API Gateway you have to have a certif

@jyates
jyates / drill-to-rel-table-example.java
Last active June 2, 2016 07:20
Drill User List - rewriting table for joining logical partitions
package io.fineo.read.drill.exec.store.rel;
import org.apache.calcite.plan.Convention;
import org.apache.calcite.plan.RelOptCluster;
import org.apache.calcite.plan.RelOptTable;
import org.apache.calcite.rel.RelNode;
import org.apache.calcite.rel.core.JoinRelType;
import org.apache.calcite.rel.logical.LogicalTableScan;
import org.apache.calcite.rel.type.RelDataType;
import org.apache.calcite.rel.type.RelDataTypeField;
@jyates
jyates / hbase-maven-plugin.xml
Last active October 29, 2015 18:13
hbase-maven-plugin IP clearance
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>XYZ Codebase Intellectual Property (IP) Clearance Status</title>
</properties>
<body>
<section id="Codebase+IP+Clearance+TEMPLATE">
<title>Codebase IP Clearance TEMPLATE</title>
</section>
<section id="hbase-maven-plugin+Codebase+Intellectual+Property+%28IP%29+Clearance+Status">
@jyates
jyates / Vagrantfile
Last active November 8, 2017 11:49
Vagrantfile for centOS docker cloudbreak instance
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# Base Box
config.vm.box = "CentOS-7.1.1503_64"
config.vm.box_url = "https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box"
# Base IP address range used for VMs. Pretty sure not to be already used on the local network.
$BASE_RANGE = ENV.fetch("BASE_RANGE", "10.200.0.")
@jyates
jyates / shade-basic-pom.xml
Last active October 21, 2019 18:30
pom example for maven-shade-plugin blog
<project>
<groupId>com.jyates</groupId>
<artifactId>camel-netty4-http-shaded</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Shaded Camel Netty4 Http</name>
<description>Version of camel-netty4-http that shades the netty dependency so we can
leverage other versions of netty elsewhere</description>
<build>
<plugins>
<plugin>
@jyates
jyates / hbase-todo.txt
Created May 30, 2012 20:29
Future work on HBase
CURRENT
- HBASE-50, -6055: Snapshots
- HBASE-5547: HFile backup
- HBASE-4336: Modularization
- HBASE-6087: Add hbase-commons
-
FUTURE
- wire compatibility for security
- crontab for servers as new CP type
@jyates
jyates / fix-bin-hbase.patch
Created May 24, 2012 20:42
Fix bin/hbase for my branch
diff --git a/bin/hbase b/bin/hbase
index 126052b..caf9eef 100755
--- a/bin/hbase
+++ b/bin/hbase
@@ -124,6 +124,7 @@ if [ "$HBASE_HEAPSIZE" != "" ]; then
fi
# so that filenames w/ spaces are handled correctly in loops below
+ORIG_IFS=$IFS
IFS=
@jyates
jyates / about.md
Last active September 26, 2015 17:47 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer