Skip to content

Instantly share code, notes, and snippets.

Avatar

Amirhossein Aleyasen Aleyasen

View GitHub Profile
@Aleyasen
Aleyasen / visallo_error.log
Created Jul 7, 2016
Visallo installation "npm install" error
View visallo_error.log
[INFO] │ │ │ │ ├── ansi@0.3.1
[INFO] │ │ │ │ ├─┬ are-we-there-yet@1.1.2
[INFO] │ │ │ │ │ └── delegates@1.0.0
[INFO] │ │ │ │ └─┬ gauge@1.2.7
[INFO] │ │ │ │ ├── has-unicode@2.0.0
[INFO] │ │ │ │ ├─┬ lodash.pad@4.1.0
[INFO] │ │ │ │ │ ├── lodash.repeat@4.0.0
[INFO] │ │ │ │ │ └── lodash.tostring@4.1.2
[INFO] │ │ │ │ ├── lodash.padend@4.2.0
[INFO] │ │ │ │ └── lodash.padstart@4.2.0
@Aleyasen
Aleyasen / mean_docker_build.err
Created Jun 19, 2016
log for "docker build -t mean ."
View mean_docker_build.err
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
View error
[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)
View es-hadoop.log
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
View kafkaerror2.sh
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)
View error.sh
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)
View RegexPatterns2.java
static String patternString[][] = {
{"singleCapLetterWithDot", "[A-Z]\\."},
{"singleCapLetter", "[A-Z]"},
// {"isInitCapital", "[A-Z][a-z]+"},
{"isAllCapital", "[A-Z]+"},
// {"isAllSmallCase", "[a-z]+"},
{"singleDot", "[.]"},
{"singleComma", "[,]"},
{"singleQuote", "[']"},
View RegexPatterns.java
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}" },
View TicTacToe.java
/*
* 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
View Salman.java
/*
* 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>