File is put as follows:
➜ pyop-test tree .
.
├── py-test.dig
└── simple_task.py
0 directories, 2 files
File is put as follows:
➜ pyop-test tree .
.
├── py-test.dig
└── simple_task.py
0 directories, 2 files
{ | |
"title": "Kinesis Freestyle2", | |
"rules": [ | |
{ | |
"description": "Swap only for Windows", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "device_if", |
_export: | |
!include : config/params.yml | |
td: | |
apikey: ${apikey} | |
database: ${dbname} | |
engine: hive | |
target_table: house_prices_training | |
+prepare: |
##### Aggregator configs ##### | |
# general settings | |
agent.sources = avro-source | |
agent.channels = weblog-ch dstat-ch | |
agent.sinks = weblog-sink dstat-sink | |
## sources | |
agent.sources.avro-source.type = avro | |
# Do not use localhost which causes RPC connection error | |
# Should be changed different hostname for each node |
CREATE DATABASE IF NOT EXISTS flights; | |
CREATE EXTERNAL TABLE IF NOT EXISTS airports_str ( | |
iata STRING | |
, airport STRING | |
, city STRING | |
, state STRING | |
, country STRING | |
, latitude DOUBLE | |
, longitude DOUBLE |
(venv) ~/w/pyhocon (master ☡=) (venv) python --version 09:22:30 | |
Python 3.6.1 | |
(venv) ~/w/pyhocon (master ☡=) (venv) py.test tests/test_tool.py --doctest-modules 09:17:00 | |
============================================================================== test session starts ============================================================================== | |
platform darwin -- Python 3.6.1, pytest-3.2.1, py-1.4.34, pluggy-0.4.0 | |
rootdir: /Users/ariga/work/pyhocon, inifile: | |
collected 6 items | |
tests/test_tool.py FFFFF. |
#!/bin/bash | |
# Prepare source list | |
cd /etc/apt/sources.list.d/ | |
sudo curl "http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/cloudera-director.list" -O | |
sudo curl -s "http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/archive.key" | sudo apt-key add - | |
# Install Java | |
sudo apt-get update | |
sudo apt install oracle-j2sdk1.8 |
aafigure==0.6 | |
alabaster==0.7.10 | |
Babel==2.4.0 | |
certifi==2017.4.17 | |
chardet==3.0.4 | |
colorama==0.3.9 | |
docutils==0.13.1 | |
idna==2.5 | |
imagesize==0.7.1 | |
Jinja2==2.9.6 |
# -*- mode: python; coding: utf-8-with-signature-dos -*- | |
## nickname: fakeymacs | |
## | |
## Windows の操作を emacs のキーバインドで行うための設定(Keyhac版)ver.20170629_01 | |
## | |
# このスクリプトは、Keyhac for Windows ver 1.75 以降で動作します。 | |
# https://sites.google.com/site/craftware/keyhac-ja | |
# スクリプトですので、使いやすいようにカスタマイズしてご利用ください。 |