Skip to content

Instantly share code, notes, and snippets.

View aspen01's full-sized avatar

Jaeboo Jeong aspen01

  • Naver
View GitHub Profile
@aspen01
aspen01 / errMsg.3
Last active August 26, 2015 03:48
compilation error in big-data-code #3
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: Could not locate cascalog/workflow__init.class or cascalog/workflow.clj on classpath:
at cascalog.Util.tryRequire(Util.java:68)
at cascalog.Util.getVar(Util.java:73)
at cascalog.Util.bootSimpleFn(Util.java:78)
at elephantdb.jcascalog.EDB.makeKeyValTap(EDB.java:19)
at elephantdb.jcascalog.EDB.makeKeyValTap(EDB.java:14)
at manning.batchlayer.BatchWorkflow.pageviewElephantDB(BatchWorkflow.java:359)
at manning.batchlayer.BatchWorkflow.batchWorkflow(BatchWorkflow.java:699)
at Run.main(Run.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@aspen01
aspen01 / errMsg.2
Created August 26, 2015 00:54
compilation error in big-data-code #2
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unable to find static field: APP_FRAMEWORKS in class cascading.property.AppProps, compiling:(cascalog/cascading/conf.clj:111:1)
at cascalog.Util.tryRequire(Util.java:68)
at cascalog.Util.getVar(Util.java:73)
at cascalog.Util.bootSimpleFn(Util.java:78)
at jcascalog.Api.setApplicationConf(Api.java:101)
at manning.batchlayer.BatchWorkflow.setApplicationConf(BatchWorkflow.java:111)
at manning.batchlayer.BatchWorkflow.batchWorkflow(BatchWorkflow.java:690)
at Run.main(Run.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
@aspen01
aspen01 / errMsg.1
Last active August 26, 2015 00:51
compilation error in big-data-code #1
SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding.
SLF4J: Your binding is version 1.5.5 or earlier.
SLF4J: Upgrade your binding to version 1.6.x.
Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder;
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
at org.apache.thrift.transport.TIOStreamTransport.<clinit>(TIOStreamTransport.java:38)
at org.apache.thrift.TSerializer.<init>(TSerializer.java:45)
@aspen01
aspen01 / gist:3e1a5910c79958c17dc9
Created February 9, 2015 12:02
sed : remove new line
sed ':a;N;$!ba;s/\n/ /g'
@aspen01
aspen01 / gist:7972861
Created December 15, 2013 13:09
Building hadoop 2.2.0 on CentOS
# install cmake to compile native library
yum install cmake
# install protocol buffer 2.5.0
wget http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
tar -zxvf protobuf-2.5.0.tar.gz
cd protobuf-2.5.0
./configure --prefix=$HOME/local/protobuf-2.5.0
make; make install
export PATH=$PATH:$HOME/local/protobuf-2.5.0/bin
@aspen01
aspen01 / gist:7972701
Created December 15, 2013 12:56
Building kafka 0.8.0 binary release gzipped tar ball with scala 2.9.2
./sbt update
./sbt "++2.9.2 package"
./sbt "++2.9.2 assembly-package-dependency"
./sbt "++2.9.2 release-tar"