Skip to content

Instantly share code, notes, and snippets.

View Aleyasen's full-sized avatar

Amirhossein Aleyasen Aleyasen

View GitHub Profile
Sending build context to Docker daemon 4.096 kB
Sending build context to Docker daemon
Step 0 : FROM phusion/baseimage:0.9.17
0.9.17: Pulling from phusion/baseimage
83e4dde6b9cf: Pull complete
b670fb0c7ecd: Pull complete
29460ac93442: Pull complete
d2a0ecffe6fa: Pull complete
f21b69028ac0: Pull complete
fc06acda5256: Pull complete
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package salman;
/**
*
* @author Amirhossein Aleyasen <aleyase2@illinois.edu>
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Amirhossein Aleyasen <aleyase2@illinois.edu>
* created on Jan 25, 2016, 9:38:45 PM
String patternString[][] = {
{"isInitCapitalWord", "[A-Z][a-z]+"},
{"isAllCapitalWord", "[A-Z][A-Z]+"},
{"isAllSmallCase", "[a-z]+"},
//{"isWord", "[a-zA-Z][a-zA-Z]+" },
//{"isAlphaNumeric", "[a-zA-Z0-9]+" },
{"singleCapLetter", "[A-Z]"},
{"containsDashes", ".*--.*"},
{"containsDash", ".*\\-.*"},
//{"singlePunctuation", "\\p{Punct}" },
static String patternString[][] = {
{"singleCapLetterWithDot", "[A-Z]\\."},
{"singleCapLetter", "[A-Z]"},
// {"isInitCapital", "[A-Z][a-z]+"},
{"isAllCapital", "[A-Z]+"},
// {"isAllSmallCase", "[a-z]+"},
{"singleDot", "[.]"},
{"singleComma", "[,]"},
{"singleQuote", "[']"},
root@AKHL-VM01-1633:/opt/src/analytics/src/main/bin/cafebaazar# docker run -it --rm -v "$PWD":/config-dir tutum.co/hossein20s/logstash logstash -f /config-dir/kafka_es_cfb.conf
log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.PoolingHttpClientConnectionManager).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Settings: Default filter workers: 2
log4j, [2016-02-09T14:49:33.609] WARN: org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
root@AKHL-VM01-1633:/opt/src/analytics/src/main/bin/cafebaazar# docker run -it --rm -v "$PWD":/config-dir tutum.co/hossein20s/logstash logstash -f /config-dir/kafka_es_cfb.conf
log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.PoolingHttpClientConnectionManager).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Settings: Default filter workers: 2
Connection refused {:class=>"Manticore::SocketException", :level=>:error}
Logstash startup completed
log4j, [2016-02-09T15:00:19.569] WARN: kafka.client.ClientUtils$: Fetching topic metadata with correlation id 0 for topics [Set(cafebazar)] from broker [id:0,host:masterServer,port:9092] failed
java.nio.channels.ClosedChannelException
at kafka.network.BlockingChannel.send(BlockingChannel.scala:100)
import org.apache.spark.SparkConf
import org.elasticsearch.spark._
conf: org.apache.spark.SparkConf = org.apache.spark.SparkConf@7721ba60
res35: org.apache.spark.SparkConf = org.apache.spark.SparkConf@7721ba60
res36: org.apache.spark.SparkConf = org.apache.spark.SparkConf@7721ba60
res37: org.apache.spark.SparkConf = org.apache.spark.SparkConf@7721ba60
res38: org.apache.spark.SparkConf = org.apache.spark.SparkConf@7721ba60
res39: org.apache.spark.SparkConf = org.apache.spark.SparkConf@7721ba60
res40: org.apache.spark.SparkConf = org.apache.spark.SparkConf@7721ba60
rdd: org.apache.spark.rdd.RDD[(String, scala.collection.Map[String,AnyRef])] = ScalaEsRDD[2] at RDD at AbstractEsRDD.scala:17
[BABEL] Note: The code generator has deoptimised the styling of "H:/workspace/DarshanVis-UI/build/app.node.js" as it exceeds the max of "100
KB".
TypeError: undefined is not a function
at H:\workspace\DarshanVis-UI\node_modules\jquery-ui\jquery-ui.js:15:3
at Object.<anonymous> (H:\workspace\DarshanVis-UI\node_modules\jquery-ui\jquery-ui.js:316:3)
at Module._compile (module.js:460:26)
at Module._extensions..js (module.js:478:10)
at Object.require.extensions.(anonymous function) [as .js] (H:\workspace\DarshanVis-UI\node_modules\babel-core\lib\api\register\node.js:
214:7)
at Module.load (module.js:355:32)
@Aleyasen
Aleyasen / mean_docker_build.err
Created June 19, 2016 08:00
log for "docker build -t mean ."
npm http request GET https://registry.npmjs.org/figures
npm info attempt registry request try #1 at 7:35:29 AM
npm http request GET https://registry.npmjs.org/i
npm info attempt registry request try #1 at 7:35:29 AM
npm http request GET https://registry.npmjs.org/mkdirp
npm info attempt registry request try #1 at 7:35:29 AM
npm http request GET https://registry.npmjs.org/ncp
npm info attempt registry request try #1 at 7:35:30 AM
npm http request GET https://registry.npmjs.org/rimraf
npm http 200 https://registry.npmjs.org/sprintf-js