alexanderdean / unified-log-processing Goto Github PK
View Code? Open in Web Editor NEWSupporting material (code, schemas etc) for Unified Log Processing (Manning Publications)
Home Page: http://manning.com/dean/
License: Apache License 2.0
Supporting material (code, schemas etc) for Unified Log Processing (Manning Publications)
Home Page: http://manning.com/dean/
License: Apache License 2.0
updating the note about Kinesis Stream age to 7 days instead of 24 hours
public Subject() {
this.shopper = null;
}
Just under the heading of 4.3.4 as opposed to a incoming “raw” event
- ('a' should be 'an')
url module ansible:
# Equivalent of git cloning tags/v1.6.6 but much, much faster
url: https://codeload.github.com/ansible/ansible/zip/69d85c22c7475ccf8169b6ec9dee3ee28c92a314
build: unzip ansible-69d85c22c7475ccf8169b6ec9dee3ee28c92a314.zip
export: ansible-69d85c22c7475ccf8169b6ec9dee3ee28c92a314
instead of build and unzip use:
unpack: zip
aka transactions. For reference:
It grows quadratically, specifically Nsquared - N
hi here is what I get from doing vagrant up
==> default: TASK: [oracle-java | Install Oracle Java Repo Installer Repository] ***********
==> default: failed: [127.0.0.1] => {"failed": true, "parsed": false}
==> default: invalid output was: SUDO-SUCCESS-mhfqabeceqzaqbvryskqbnxbnbzhfgeo
==> default: Traceback (most recent call last):
==> default: File "/home/vagrant/.ansible/tmp/ansible-tmp-1478057716.35-48126795674204/apt_repository", line 2070, in <module>
==> default: main()
==> default: File "/home/vagrant/.ansible/tmp/ansible-tmp-1478057716.35-48126795674204/apt_repository", line 408, in main
==> default: sourceslist.add_source(repo)
==> default: File "/home/vagrant/.ansible/tmp/ansible-tmp-1478057716.35-48126795674204/apt_repository", line 343, in add_source
==> default: info = self._get_ppa_info(ppa_owner, ppa_name)
==> default: File "/home/vagrant/.ansible/tmp/ansible-tmp-1478057716.35-48126795674204/apt_repository", line 325, in _get_ppa_info
==> default: return json.load(response)
==> default: File "/usr/lib/python2.7/json/__init__.py", line 286, in load
==> default: return loads(fp.read(),
==> default: File "/usr/lib/python2.7/socket.py", line 351, in read
==> default: data = self._sock.recv(rbufsize)
==> default: File "/usr/lib/python2.7/httplib.py", line 573, in read
==> default: s = self.fp.read(amt)
==> default: File "/usr/lib/python2.7/socket.py", line 380, in read
==> default: data = self._sock.recv(left)
==> default: File "/usr/lib/python2.7/ssl.py", line 341, in recv
==> default: return self.read(buflen)
==> default: File "/usr/lib/python2.7/ssl.py", line 260, in read
==> default: return self._sslobj.read(len)
==> default: socket.error: [Errno 104] Connection reset by peer
==> default:
==> default:
==> default: FATAL: all hosts have already failed -- aborting
In section 1.4.3 (Hot swapping data application versions) - 'it allows us to allow us to “hot swap”' ('allows us to' is in there twice
One thing I noticed: in the Python scripts, the shebang line should be
rather than
Only the former works for me.
So "bob" instead of 123, "sue" instead of 456 instead. Much more readable...
$ vagrant up
...
==> default: TASK: [thrift | Dependencies | Ensure packages for building Thrift installed] ***
==> default: ok: [127.0.0.1] => (item=curl,vim,make,libboost-dev,libboost-test-dev,libboost-program-options-dev,libevent-dev,automake,libtool,flex,bison,pkg-config,g++,libssl-dev)
==> default:
==> default: TASK: [thrift | Install | Ensure Thrift source downloaded] ********************
==> default: failed: [127.0.0.1] => {"dest": "/var/cache/ansible", "failed": true, "gid": 0, \
"group": "root", "mode": "0755", "owner": "root", "response": "Request failed: <urlopen error [Errno 111] Connection refused>", \
"size": 4096, "state": "directory", "status_code": -1, "uid": 0, \
"url": "http://mirrors.muzzy.org.uk/apache/thrift/0.9.3/thrift-0.9.3.tar.gz"}
==> default: msg: Request failed
==> default:
==> default: FATAL: all hosts have already failed -- aborting
==> default:
==> default: PLAY RECAP ********************************************************************
==> default: to retry, use: --limit @/home/vagrant/thrift.retry
==> default:
==> default: 127.0.0.1 : ok=8 changed=1 unreachable=0 failed=1
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Is seems the muzzy site is unavailable. How can I replace this with another download site?
From @fblundun:
in the font used, "l" looks very similar to "1" which made me do a double take when reading the merge function in aggregator.scala. Maybe the variable could be renamed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.