博客园 - 悟寰轩-叶秋uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=561312020-01-03T06:31:54Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/feed.cnblogs.comhttps://www.cnblogs.com/sunxucool/p/5783709.htmlScala access modifiers and qualifiers in detail - 悟寰轩-叶秋来自:http://www.jesperdj.com/2016/01/08/scala-access-modifiers-and-qualifiers-in-detail/ Just like Java and other object-oriented programming languages,2016-08-18T06:07:00Z2016-08-18T06:07:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://www.jesperdj.com/2016/01/08/scala-access-modifiers-and-qualifiers-in-detail/ Just like Java and other object-oriented programming languages, <a href="https://www.cnblogs.com/sunxucool/p/5783709.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5650024.htmlPUT vs POST in REST - 悟寰轩-叶秋来自:http://stackoverflow.com/questions/630453/put-vs-post-in-rest http://www.15yan.com/story/7dz6oXiSHeq/ Overall: Both PUT and POST can be used for cr2016-07-07T06:38:00Z2016-07-07T06:38:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://stackoverflow.com/questions/630453/put-vs-post-in-rest http://www.15yan.com/story/7dz6oXiSHeq/ Overall: Both PUT and POST can be used for cr <a href="https://www.cnblogs.com/sunxucool/p/5650024.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5632340.htmlRedis优化总结 - 悟寰轩-叶秋# 注意在redis.conf中的小聚合数据类型的特殊编码设置(http://carlosfu.iteye.com/blog/2254572)```hash-max-zipmap-entries 64 (hash-max-ziplist-entries for Redis >= 2.6)hash-m2016-07-01T02:58:00Z2016-07-01T02:58:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】# 注意在redis.conf中的小聚合数据类型的特殊编码设置(http://carlosfu.iteye.com/blog/2254572)```hash-max-zipmap-entries 64 (hash-max-ziplist-entries for Redis >= 2.6)hash-m <a href="https://www.cnblogs.com/sunxucool/p/5632340.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5632287.html硬中断和软中断(转) - 悟寰轩-叶秋来自:http://blog.csdn.net/zhangskd/article/details/21992933 记录一个软中断问题:http://huoding.com/2013/10/30/296 概述 从本质上来讲,中断是一种电信号,当设备有某种事件发生时,它就会产生中断,通过总线把电信号发2016-07-01T02:47:00Z2016-07-01T02:47:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://blog.csdn.net/zhangskd/article/details/21992933 记录一个软中断问题:http://huoding.com/2013/10/30/296 概述 从本质上来讲,中断是一种电信号,当设备有某种事件发生时,它就会产生中断,通过总线把电信号发 <a href="https://www.cnblogs.com/sunxucool/p/5632287.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5623765.htmlRedis监控技巧(转) - 悟寰轩-叶秋来自:http://blog.nosqlfan.com/html/4166.html Redis 监控最直接的方法当然就是使用系统提供的 info 命令来做了,你只需要执行下面一条命令,就能获得 Redis 系统的状态报告。 内存使用 如果 Redis 使用的内存超出了可用的物理内存大小,那么 Re2016-06-28T07:51:00Z2016-06-28T07:51:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://blog.nosqlfan.com/html/4166.html Redis 监控最直接的方法当然就是使用系统提供的 info 命令来做了,你只需要执行下面一条命令,就能获得 Redis 系统的状态报告。 内存使用 如果 Redis 使用的内存超出了可用的物理内存大小,那么 Re <a href="https://www.cnblogs.com/sunxucool/p/5623765.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5569824.htmlUnderstanding mysql max_connect_errors - 悟寰轩-叶秋来自:http://mysqlblog.fivefarmers.com/2013/08/08/understanding-max_connect_errors/ Perhaps like many users, I had certain assumptions about what max_con2016-06-08T05:53:00Z2016-06-08T05:53:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://mysqlblog.fivefarmers.com/2013/08/08/understanding-max_connect_errors/ Perhaps like many users, I had certain assumptions about what max_con <a href="https://www.cnblogs.com/sunxucool/p/5569824.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5541249.htmlTCP : two different sockets sharing a port? - 悟寰轩-叶秋A server socket listens on a single port. All established client connections on that server are associated with that same listening port on the server2016-05-30T00:52:00Z2016-05-30T00:52:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】A server socket listens on a single port. All established client connections on that server are associated with that same listening port on the server <a href="https://www.cnblogs.com/sunxucool/p/5541249.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5508604.htmllibevent 安装异常 - 悟寰轩-叶秋有homebrew的可以使用 这个命令来安装没有homebrew的可以直接手动安装1、去官网http://memcached.org/下载最新的包,然后解压,我这里下的是memcached-1.4.25.tar.gz。2、因为memcached依赖libevent包,所以我们要先安装libevent2016-05-19T06:38:00Z2016-05-19T06:38:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】有homebrew的可以使用 这个命令来安装没有homebrew的可以直接手动安装1、去官网http://memcached.org/下载最新的包,然后解压,我这里下的是memcached-1.4.25.tar.gz。2、因为memcached依赖libevent包,所以我们要先安装libevent <a href="https://www.cnblogs.com/sunxucool/p/5508604.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5507167.htmlhow to read from __consumer_offsets topic - 悟寰轩-叶秋来自:http://grokbase.com/t/kafka/users/15bs2r0m83/kafka-0-8-2-1-how-to-read-from-consumer-offsets-topic2016-05-18T15:50:00Z2016-05-18T15:50:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://grokbase.com/t/kafka/users/15bs2r0m83/kafka-0-8-2-1-how-to-read-from-consumer-offsets-topic <a href="https://www.cnblogs.com/sunxucool/p/5507167.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5500758.htmlzookeeper logs and snapshot - 悟寰轩-叶秋来自:http://xstarcd.github.io/wiki/Cloud/zookeeper_log_snapshot.html 事务日志可视化转换 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 #!/bin/sh 2016-05-17T03:04:00Z2016-05-17T03:04:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://xstarcd.github.io/wiki/Cloud/zookeeper_log_snapshot.html 事务日志可视化转换 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 #!/bin/sh <a href="https://www.cnblogs.com/sunxucool/p/5500758.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5497820.htmlFix Corrupt Blocks on HDFS - 悟寰轩-叶秋来自:http://centoshowtos.org/hadoop/fix-corrupt-blocks-on-hdfs/ How do I know if my hadoop hdfs filesystem has corrupt blocks, and how do I fix it? The 2016-05-16T05:44:00Z2016-05-16T05:44:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://centoshowtos.org/hadoop/fix-corrupt-blocks-on-hdfs/ How do I know if my hadoop hdfs filesystem has corrupt blocks, and how do I fix it? The <a href="https://www.cnblogs.com/sunxucool/p/5497820.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5477274.htmlWhat's the difference between ConcurrentHashMap and Collections.synchronizedMap(Map)? - 悟寰轩-叶秋来自:http://stackoverflow.com/questions/510632/whats-the-difference-between-concurrenthashmap-and-collections-synchronizedmap http://javarevisited.blogs2016-05-10T03:48:00Z2016-05-10T03:48:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://stackoverflow.com/questions/510632/whats-the-difference-between-concurrenthashmap-and-collections-synchronizedmap http://javarevisited.blogs <a href="https://www.cnblogs.com/sunxucool/p/5477274.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5460569.htmlURLDecoder: Illegal hex characters in escape (%) pattern - For input string: - 悟寰轩-叶秋来自:http://stackoverflow.com/questions/11257509/urldecoder-illegal-hex-characters-in-escape-pattern-for-input-string-p Whoever created the URL should h2016-05-05T01:20:00Z2016-05-05T01:20:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://stackoverflow.com/questions/11257509/urldecoder-illegal-hex-characters-in-escape-pattern-for-input-string-p Whoever created the URL should h <a href="https://www.cnblogs.com/sunxucool/p/5460569.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5441277.htmlspark run using IDE / Maven - 悟寰轩-叶秋来自:http://stackoverflow.com/questions/26892389/org-apache-spark-sparkexception-job-aborted-due-to-stage-failure-task-from-app SparkConf conf = new Spa2016-04-28T00:36:00Z2016-04-28T00:36:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://stackoverflow.com/questions/26892389/org-apache-spark-sparkexception-job-aborted-due-to-stage-failure-task-from-app SparkConf conf = new Spa <a href="https://www.cnblogs.com/sunxucool/p/5441277.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5439779.htmlQuality of Service 0, 1 & 2 - 悟寰轩-叶秋来自:http://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels Quality of Service What is Quality of Service? The Quality of Serv2016-04-27T09:44:00Z2016-04-27T09:44:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:http://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels Quality of Service What is Quality of Service? The Quality of Serv <a href="https://www.cnblogs.com/sunxucool/p/5439779.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/5439212.htmlgetting-started-with-mqtt - 悟寰轩-叶秋来自:https://dzone.com/refcardz/getting-started-with-mqtt SECTION 1 Why MQTT? The Internet of Things (IoT) has recently gained massive traction. IoT cha2016-04-27T07:56:00Z2016-04-27T07:56:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】来自:https://dzone.com/refcardz/getting-started-with-mqtt SECTION 1 Why MQTT? The Internet of Things (IoT) has recently gained massive traction. IoT cha <a href="https://www.cnblogs.com/sunxucool/p/5439212.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/4993967.html各hbase版本对hadoop各版本的支持情况 - 悟寰轩-叶秋http://hbase.apache.org/book/configuration.html#basic.prerequisitesHBase-0.94.xHBase-0.98.x (Support for Hadoop 1.1+ is deprecated.)HBase-1.0.x (Hadoo...2015-11-25T02:55:00Z2015-11-25T02:55:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】http://hbase.apache.org/book/configuration.html#basic.prerequisitesHBase-0.94.xHBase-0.98.x (Support for Hadoop 1.1+ is deprecated.)HBase-1.0.x (Hadoo... <a href="https://www.cnblogs.com/sunxucool/p/4993967.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/4914372.html理解TIME_WAIT - 悟寰轩-叶秋理解TIME_WAIThttp://www.firefoxbug.com/index.php/archives/2795/理解TIME_WAIT(2)http://www.firefoxbug.com/index.php/archives/2796/2015-10-27T07:25:00Z2015-10-27T07:25:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】理解TIME_WAIThttp://www.firefoxbug.com/index.php/archives/2795/理解TIME_WAIT(2)http://www.firefoxbug.com/index.php/archives/2796/ <a href="https://www.cnblogs.com/sunxucool/p/4914372.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/4881529.htmlredis 基本信息查询 - 悟寰轩-叶秋在客户端可以用telnet命令telnet ip port再输入info返回如下信息:每个参数的含义:redis_version redis版本gcc_version gcc版本process_id Redis 服务器进程i...2015-10-15T02:09:00Z2015-10-15T02:09:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】在客户端可以用telnet命令telnet ip port再输入info返回如下信息:每个参数的含义:redis_version redis版本gcc_version gcc版本process_id Redis 服务器进程i... <a href="https://www.cnblogs.com/sunxucool/p/4881529.html" target="_blank">阅读全文</a>https://www.cnblogs.com/sunxucool/p/4876494.htmlscala VS python2 操作shell对比例子 - 悟寰轩-叶秋Scala:/** * Created by sunxu on 2015/9/30. */import scala.sys.process._import java.io.File//在相应目录执行shell命令,返回值赋值给变量val exitValue = Process("hadoop jar...2015-10-14T01:37:00Z2015-10-14T01:37:00Z悟寰轩-叶秋https://www.cnblogs.com/sunxucool/【摘要】Scala:/** * Created by sunxu on 2015/9/30. */import scala.sys.process._import java.io.File//在相应目录执行shell命令,返回值赋值给变量val exitValue = Process("hadoop jar... <a href="https://www.cnblogs.com/sunxucool/p/4876494.html" target="_blank">阅读全文</a>