This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
com.metamx.common.RE: Failure on row[{... cut ... }] | |
at io.druid.indexer.HadoopDruidIndexerMapper.map(HadoopDruidIndexerMapper.java:81) | |
at io.druid.indexer.HadoopDruidIndexerMapper.map(HadoopDruidIndexerMapper.java:33) | |
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144) | |
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764) | |
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370) | |
at org.apache.hadoop.mapred.Child$4.run(Child.java:255) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at javax.security.auth.Subject.doAs(Subject.java:415) | |
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1136) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :populate_db do | |
begin | |
require 'rubygems' | |
require 'json' | |
require 'couchrest' | |
rescue | |
puts "Ruby gems missing, trying to install with sudo rights" | |
sh 'sudo gem install json couchrest' | |
retry | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var client = http.createClient(81, 'localhost'); | |
var request = client.request('GET', '/'); | |
request.end(); | |
request.on('response', function (response) { | |
console.log('STATUS: ' + response.statusCode); | |
console.log('HEADERS: ' + JSON.stringify(response.headers)); | |
response.setEncoding('utf8'); | |
response.on('data', function (chunk) { | |
console.log('BODY: ' + chunk); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Notice that neither can receive any message on sender. It stops receiving messages, when I pass an IP address to bind(). | |
However, I am required to pass an IP address to bind() to make the Mac use it's non-default gw. | |
So here, I am also showing my work around, which is having two sockets with different configuration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'nagios' | |
require 'json' | |
require 'stringio' | |
require 'zk' | |
require 'zlib' | |
require 'time' | |
require 'yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
attempt_201301291408_2896_r_000000_1: 2013-02-08 12:28:05,687 WARN [main] org.apache.hadoop.mapred.Child - Error running child | |
attempt_201301291408_2896_r_000000_1: java.lang.NullPointerException | |
attempt_201301291408_2896_r_000000_1: at com.metamx.druid.index.column.SimpleColumn.getDictionaryEncoding(SimpleColumn.java:75) | |
attempt_201301291408_2896_r_000000_1: at com.metamx.druid.index.v1.QueryableIndexIndexableAdapter.getDimValueLookup(QueryableIndexIndexableAdapter.java:103) | |
attempt_201301291408_2896_r_000000_1: at com.metamx.druid.index.v1.IndexMerger.makeIndexFiles(IndexMerger.java:457) | |
attempt_201301291408_2896_r_000000_1: at com.metamx.druid.index.v1.IndexMerger.merge(IndexMerger.java:294) | |
attempt_201301291408_2896_r_000000_1: at com.metamx.druid.index.v1.IndexMerger.mergeQueryableIndex(IndexMerger.java:156) | |
attempt_201301291408_2896_r_000000_1: at com.metamx.druid.indexer.IndexGeneratorJob$IndexGeneratorReducer.reduce(IndexGeneratorJob.java:315) | |
attempt_201301291408_2896_r_000000_1: at com.metam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
attempt_201301291408_2900_r_000000_0: java.lang.NullPointerException | |
attempt_201301291408_2900_r_000000_0: at com.metamx.druid.index.v1.QueryableIndexIndexableAdapter$2$1.next(QueryableIndexIndexableAdapter.java:214) | |
attempt_201301291408_2900_r_000000_0: at com.metamx.druid.index.v1.QueryableIndexIndexableAdapter$2$1.next(QueryableIndexIndexableAdapter.java:152) | |
attempt_201301291408_2900_r_000000_0: at com.google.common.collect.Iterators$8.next(Iterators.java:811) | |
attempt_201301291408_2900_r_000000_0: at com.google.common.collect.Iterators$8.next(Iterators.java:811) | |
attempt_201301291408_2900_r_000000_0: at com.google.common.collect.Iterators$PeekingImpl.peek(Iterators.java:1186) | |
attempt_201301291408_2900_r_000000_0: at com.metamx.common.guava.MergeIterator$1.compare(MergeIterator.java:46) | |
attempt_201301291408_2900_r_000000_0: at com.metamx.common.guava.MergeIterator$1.compare(MergeIterator.java:42) | |
attempt_201301291408_2900_r_000000_0: at java.util.PriorityQueue.siftUpUsingComparator(PriorityQueue.ja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP ERROR 500 | |
Problem accessing /druid/v2/datasources/events. Reason: | |
INTERNAL_SERVER_ERROR | |
Caused by: | |
java.lang.NullPointerException | |
at com.metamx.druid.http.ClientInfoResource.getDatasourceDimensions(ClientInfoResource.java:106) | |
at com.metamx.druid.http.ClientInfoResource.getDatasource(ClientInfoResource.java:86) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
attempt_201311181919_17314_r_000000_2: java.lang.NullPointerException | |
attempt_201311181919_17314_r_000000_2: at io.druid.segment.incremental.IncrementalIndex.add(IncrementalIndex.java:188) | |
attempt_201311181919_17314_r_000000_2: at io.druid.indexer.IndexGeneratorJob$IndexGeneratorReducer.reduce(IndexGeneratorJob.java:289) | |
attempt_201311181919_17314_r_000000_2: at io.druid.indexer.IndexGeneratorJob$IndexGeneratorReducer.reduce(IndexGeneratorJob.java:237) | |
attempt_201311181919_17314_r_000000_2: at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:176) | |
attempt_201311181919_17314_r_000000_2: at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:650) | |
attempt_201311181919_17314_r_000000_2: at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:418) | |
attempt_201311181919_17314_r_000000_2: at org.apache.hadoop.mapred.Child$4.run(Child.java:255) | |
attempt_201311181919_17314_r_000000_2: at java.security.AccessController.doPrivileged(Native Method) | |
attempt_201311181919_17314_r_000000_2: at java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dec 18 10:34:26 fh1 druid-coordinator[18527]: Dec 18, 2013 9:34:26 AM com.sun.jersey.spi.container.ContainerResponse write | |
Dec 18 10:34:26 fh1 druid-coordinator[18527]: SEVERE: The registered message body writers compatible with the MIME media type are: | |
Dec 18 10:34:26 fh1 druid-coordinator[18527]: */* -> | |
Dec 18 10:34:26 fh1 druid-coordinator[18527]: com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider | |
Dec 18 10:34:26 fh1 druid-coordinator[18527]: Dec 18, 2013 9:34:26 AM com.sun.jersey.spi.container.ContainerResponse logException | |
Dec 18 10:34:26 fh1 druid-coordinator[18527]: SEVERE: Mapped exception to response: 500 (Internal Server Error) | |
Dec 18 10:34:26 fh1 druid-coordinator[18527]: javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body writer for Java class java.lang.String, and Java type class java.lang.String, and MIME media type application/json was not found | |
Dec 18 10:34:26 fh1 druid-coordinator[18527]: at com.sun.jersey.spi.container.ContainerResponse.write(ContainerR |
OlderNewer