jackson 的 repository <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databin...
Continue readingGC 的概念 Garbage Collection 垃圾收集 1960 年 List 使用了 GC Java 中,GC 的对象是堆空间和永久区 引用计数法 老牌垃圾回收算法 通过引用计算来回收垃圾 使用者 COM ActionScript3 P...
Continue reading下载 首先到 zepplin 官网下载 Binary package with all interpreters 包 安装 解压: tar -zxvf zeppelin-x.x.x-bin-all.tgz 到 conf 目录把 zeppelin-site.xml.template 复制一份...
Continue readingArrayList 的构造方法中有这样一句注释: public ArrayList(Collection<? extends E> c) {elementData = c.toArray(); size = elementData.length; /...
Continue readingIPC 和 RPC IPC: 进程间通信 RPC:remote procedure call, 远程过程调用 Socket: 套接字编程 Socket: 客户端套接字 ServerSocket: 服务器端 nio: 异步通信 Channel Selector hadoop 底层通信, 使用 Go...
Continue reading使用 JDBC 时,我们都会很自然得使用下列语句: Class.forName("com.mysql.jdbc.Driver"); String url = "jdbc:mysql://127.0.0.1/test?useUnicode=true&characte...
Continue readingExit codes and kill-job signals 退出代号和杀死作业的信号 The exit code from a batch job is a standard Unix termination status, the same sort of numbe...
Continue reading1. mkdir: Permission denied 原因: 使用 hadoop fs -mdkir /xxx/xxx 创建文件路径时, 出现权限问题 1. 使用 hdfs 这个用户登录 sudo -uhdfs hadoop fs -mdkir /xxx/xxxx 2. 通过 hdfs 用户...
Continue reading