Skip to content

Instantly share code, notes, and snippets.

Run Build Command:/usr/bin/gmake "cmTryCompileExec4149442096/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec4149442096.dir/build.make CMakeFiles/cmTryCompileExec4149442096.dir/build
gmake[1]: Entering directory `/root/bro-2.5/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/bro-2.5/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec4149442096.dir/src.c.o
/usr/bin/cc -Wall -Wno-unused -DLIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER -o CMakeFiles/cmTryCompileExec4149442096.dir/src.c.o -c /root/bro-2.5/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTryCompileExec4149442096
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4149442096.dir/link.txt --verbose=1
/usr/bin/cc -Wall -Wno-unused -DLIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER CMakeFiles/cmTryCompileExec4149442096.dir/src.c.o -o cmTryCompileExec4149442096 -rdynamic /usr/local/lib/libpcap.a
/usr/local/lib/libpcap.a(pcap.o): In function `pcap_breakloop':
com.streamsets.datacollector.store.PipelineStoreException: CONTAINER_0101 - Cannot get state: java.io.FileNotFoundException: /home/ubuntu/streamsets-datacollector-1.5.1.0/data/runInfo/kudu.bluecoat_access.streaming.RabbitMQ/0/pipelineState.json (Too many open files)
at com.streamsets.datacollector.execution.store.FilePipelineStateStore.loadState(FilePipelineStateStore.java:162)
at com.streamsets.datacollector.execution.store.FilePipelineStateStore.getState(FilePipelineStateStore.java:169)
at com.streamsets.datacollector.execution.store.CachePipelineStateStore$1.load(CachePipelineStateStore.java:57)
at com.streamsets.datacollector.execution.store.CachePipelineStateStore$1.load(CachePipelineStateStore.java:54)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at com.google.common.cache.LocalCache$Segmen
Performing C SOURCE FILE Test LIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER failed with the following output:
Change Dir: /root/bro/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec3067474990/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3067474990.dir/build.make CMakeFiles/cmTryCompileExec3067474990.dir/build
gmake[1]: Entering directory `/root/bro/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/bro/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3067474990.dir/src.c.o
/usr/bin/cc -Wall -Wno-unused -DLIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER -o CMakeFiles/cmTryCompileExec3067474990.dir/src.c.o -c /root/bro/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTryCompileExec3067474990
{
"type" : "index_kafka",
"id" : "index_kafka_sep-druid_ab5c9eabc50b5f2_ecipngkn",
"resource" : {
"availabilityGroup" : "index_kafka_sep-druid_ab5c9eabc50b5f2",
"requiredCapacity" : 1
},
"dataSchema" : {
"dataSource" : "sep-druid",
"parser" : {
<!--
SYMANTEC: Copyright (c) 2016 Symantec Corporation. All rights reserved.
THIS SOFTWARE CONTAINS CONFIDENTIAL INFORMATION AND TRADE SECRETS OF SYMANTEC CORPORATION. USE,
DISCLOSURE OR REPRODUCTION IS PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SYMANTEC
CORPORATION.
The Licensed Software and Documentation are deemed to be commercial computer software as defined in
FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19 "Commercial Computer
Software - Restricted Rights" and DFARS 227.7202, Rights in "Commercial Computer Software or Commercial
IncidentDetailType detail = fields.getIncident();
System.out.println(detail.getClass().getName());
result:
com.vontu.v2011.enforce.webservice.incident.schema.EndpointClipboardIncidentDetail
public class CLASS {
protected Father bar;
public Father bar()
{
return this.bar;
}
}
public class Father {
...
}
<div class="widgetContent medium" data-scoped-css="rs038x3" data-visid="58875e69e4b08a088b01afe3"><div class="chart-container" _echarts_instance_="1485352958532" style="width: 100%; height: 100%; -webkit-tap-highlight-color: transparent; user-select: none; cursor: default; background-color: rgba(0, 0, 0, 0);"><div style="position: relative; overflow: hidden; width: 420px; height: 662px;"><div data-zr-dom-id="bg" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 524px; height: 734px; user-select: none;"></div><canvas width="420" height="662" data-zr-dom-id="0" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 420px; height: 662px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas><canvas width="420" height="662" data-zr-dom-id="1" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 420px; height: 662px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas><canvas width="420" height="662" data-
2017-02-01 17:04:52,116 [user:*admin] [pipeline:kudu sep optimizado streaming] [thread:ProductionPipelineRunnable-kudu sep optimizado streaming] WARN ProductionPipeline - Error while running: com.streamsets.pipeline.api.StageException: KUDU_03 - Errors while writing to Kudu: At least one of the Deferreds failed, first exception:
com.streamsets.pipeline.api.StageException: KUDU_03 - Errors while writing to Kudu: At least one of the Deferreds failed, first exception:
at com.streamsets.pipeline.stage.destination.kudu.KuduTarget.writeBatch(KuduTarget.java:410)
at com.streamsets.pipeline.stage.destination.kudu.KuduTarget.write(KuduTarget.java:285)
at com.streamsets.pipeline.configurablestage.DTarget.write(DTarget.java:38)
at com.streamsets.datacollector.runner.StageRuntime$2.call(StageRuntime.java:177)
at com.streamsets.datacollector.runner.StageRuntime$2.call(StageRuntime.java:161)
at com.streamsets.datacollector.runner.StageRuntime.execute(StageRuntime.java:150)
#option 1: good
SIZE=`curl -k -H 'Content-Type:application/json' -H "Authorization:Bearer $token" -X GET 'URL' | jq '.size'`
#option 2: got parse error
line=`curl -k -H 'Content-Type:application/json' -H "Authorization:Bearer $token" -X GET 'URL'`
SIZE=`${line} | jq '.size'`