<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[生活要继续的专栏]]></title><description><![CDATA[学会分享才能取得更大的进步]]></description><link>https://blog.csdn.net/h348592532</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; h348592532]]></copyright><item><title><![CDATA[KNN算法例子（java,scala,python 代码实现）]]></title><link>https://blog.csdn.net/h348592532/article/details/78805833</link><guid>https://blog.csdn.net/h348592532/article/details/78805833</guid><author>h348592532</author><pubDate>Thu, 14 Dec 2017 18:40:09 +0800</pubDate><description><![CDATA[java 版本
package com.fullshare.test;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

/**
 * @author huangjiangnan
 * @email huangjiangna]]></description><category></category></item><item><title><![CDATA[用scala 写spark程序]]></title><link>https://blog.csdn.net/h348592532/article/details/78684866</link><guid>https://blog.csdn.net/h348592532/article/details/78684866</guid><author>h348592532</author><pubDate>Fri, 01 Dec 2017 11:31:09 +0800</pubDate><description><![CDATA[scala sdk下载地址 https://downloads.lightbend.com/scala/2.12.0/scala-2.12.0.zip
scala eclipse 下载地址 http://downloads.typesafe.com/scalaide-pack/4.7.0-vfinal-oxygen-212-20170929/scala-SDK-4.7.0-vfinal-2.12]]></description><category></category></item><item><title><![CDATA[spark 统计线上日志ip分组统计]]></title><link>https://blog.csdn.net/h348592532/article/details/78684527</link><guid>https://blog.csdn.net/h348592532/article/details/78684527</guid><author>h348592532</author><pubDate>Fri, 01 Dec 2017 11:14:28 +0800</pubDate><description><![CDATA[线上日志格式如下


每次访问都会记录ip,标记红色部分
获取某一行看看怎么解析
2017-12-01 09:57:11.970 [http-nio-8082-exec-2] INFO  - com.fullshare.common.aop.ControllerAop                       [ 144] - 请求head:{content-type=applicat]]></description><category></category></item><item><title><![CDATA[spark 单词统计]]></title><link>https://blog.csdn.net/h348592532/article/details/78680224</link><guid>https://blog.csdn.net/h348592532/article/details/78680224</guid><author>h348592532</author><pubDate>Thu, 30 Nov 2017 20:08:06 +0800</pubDate><description><![CDATA[maven 项目 前提是装好hadoop集群和spark集群 并上传好文件到hdfs 
pom.xml 如下

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.a]]></description><category></category></item><item><title><![CDATA[Linux下实现免密登录]]></title><link>https://blog.csdn.net/h348592532/article/details/78351778</link><guid>https://blog.csdn.net/h348592532/article/details/78351778</guid><author>h348592532</author><pubDate>Thu, 26 Oct 2017 11:34:33 +0800</pubDate><description><![CDATA[Linux下实现免密登录


1.Linux下生成密钥 
　　ssh-keygen的命令手册，通过”man ssh-keygen“命令：


　　


　　通过命令”ssh-keygen -t rsa“


　　


　　生成之后会在用户的根目录生成一个 “.ssh”的文件夹


　　


　　进入“.ssh”会生成以下几个文件]]></description><category></category></item><item><title><![CDATA[面试阿里后的总结]]></title><link>https://blog.csdn.net/h348592532/article/details/78189442</link><guid>https://blog.csdn.net/h348592532/article/details/78189442</guid><author>h348592532</author><pubDate>Tue, 10 Oct 2017 10:05:12 +0800</pubDate><description><![CDATA[毕业从事java开发工作4年，被别人面试过好多次，也面试过别人，感觉人跟人的差距可以好大，
有的人工作没几年，但技术广度和深度都很够；有的人工作近10年，好多基础原理都不明白。


今年一个月内面了3次阿里天猫3个不同部门，全在首轮电面挂了，好打击，也感觉好失败，浪费了不少机会


总结了一下，技术广度是够了，但技术深度不够，但感觉还不够扎实，尤其某些技术细节了解得不够透彻


看的书够多，但都不]]></description><category></category></item><item><title><![CDATA[binlog日志详解释]]></title><link>https://blog.csdn.net/h348592532/article/details/78121962</link><guid>https://blog.csdn.net/h348592532/article/details/78121962</guid><author>h348592532</author><pubDate>Thu, 28 Sep 2017 11:40:44 +0800</pubDate><description><![CDATA[binlog 基本认识
    MySQL的二进制日志可以说是MySQL最重要的日志了，它记录了所有的DDL和DML(除了数据查询语句)语句，以事件形式记录，还包含语句所执行的消耗的时间，MySQL的二进制日志是事务安全型的。

    一般来说开启二进制日志大概会有1%的性能损耗(参见MySQL官方中文手册 5.1.24版)。二进制有两个最重要的使用场景: 
    其一：MySQL Repli]]></description><category></category></item><item><title><![CDATA[jmap dump]]></title><link>https://blog.csdn.net/h348592532/article/details/77885127</link><guid>https://blog.csdn.net/h348592532/article/details/77885127</guid><author>h348592532</author><pubDate>Thu, 07 Sep 2017 18:24:23 +0800</pubDate><description><![CDATA[jmap -dump:format=b,file=jconsole.dump 18511
jhat jconsole.dump]]></description><category></category></item><item><title><![CDATA[用top，ps，jstack找到java线程异常代码]]></title><link>https://blog.csdn.net/h348592532/article/details/77884889</link><guid>https://blog.csdn.net/h348592532/article/details/77884889</guid><author>h348592532</author><pubDate>Thu, 07 Sep 2017 18:00:27 +0800</pubDate><description><![CDATA[找到CPU利用率持续比较高的进程, 命令：top
找到进程数中cpu占用最高的线程，命令：ps p 16480 -L -o pcpu,pid,tid,time,tname,cmd
转换称16进制命令：printf "%x\n" 16498 结果：4072
查看进程16480中的信息：命令：jstack -l 16480 > 16480.pid
找到more 16480.pid gerp "]]></description><category></category></item><item><title><![CDATA[Unsafe的 用法]]></title><link>https://blog.csdn.net/h348592532/article/details/77480731</link><guid>https://blog.csdn.net/h348592532/article/details/77480731</guid><author>h348592532</author><pubDate>Tue, 22 Aug 2017 15:23:32 +0800</pubDate><description><![CDATA[package com.test.jdk.curren;

import java.lang.reflect.Field;  
import sun.misc.Unsafe;

public class UnsafeTest {  
	  
    private static Unsafe unsafe;  
  
    static {  
        try {  
         ]]></description><category></category></item><item><title><![CDATA[常用但易忘记脚本命令]]></title><link>https://blog.csdn.net/h348592532/article/details/77446418</link><guid>https://blog.csdn.net/h348592532/article/details/77446418</guid><author>h348592532</author><pubDate>Mon, 21 Aug 2017 10:26:17 +0800</pubDate><description><![CDATA[常用易忘记脚本命令
应该是我自己易忘，哈哈
最近懒了，少写博客，还是应该多写

1.查看当前目录下一级子文件和子目录占用的磁盘容量
du -lh --max-depth=1


-l 统计硬链接占用磁盘空间的大小
-h 以人类可读的方式显示
--max-depth=1 目录深度为1


2.查看端口占用情况


netstat -tln


-t (tcp)仅]]></description><category></category></item><item><title><![CDATA[elasticsearch5.3linux集群]]></title><link>https://blog.csdn.net/h348592532/article/details/71170449</link><guid>https://blog.csdn.net/h348592532/article/details/71170449</guid><author>h348592532</author><pubDate>Thu, 04 May 2017 14:51:04 +0800</pubDate><description><![CDATA[必须安装jdk8以上
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.3.0.zip


mkdir ela1
mkdir ela2




cp elasticsearch-5.3.0.zip  ela1
cp elasticsearch-5.3.0.zip  ela2]]></description><category></category></item><item><title><![CDATA[elasticsearch5.3集群 java 调用实例]]></title><link>https://blog.csdn.net/h348592532/article/details/71170287</link><guid>https://blog.csdn.net/h348592532/article/details/71170287</guid><author>h348592532</author><pubDate>Thu, 04 May 2017 14:36:21 +0800</pubDate><description><![CDATA[前提先搭好集群
maven项目 pom.xml引入

			
				org.elasticsearch
				elasticsearch
				5.3.0
			
		
代码示例
package com.test.ela;

import java.net.InetAddress;
import java.net.UnknownHostException;
import java.u]]></description><category></category></item><item><title><![CDATA[tomcat 设置http代理]]></title><link>https://blog.csdn.net/h348592532/article/details/54861918</link><guid>https://blog.csdn.net/h348592532/article/details/54861918</guid><author>h348592532</author><pubDate>Sat, 04 Feb 2017 11:24:13 +0800</pubDate><description><![CDATA[/apache-tomcat-7.0.67/bin/catalina.sh:6:JAVA_OPTS="$JAVA_OPTS  -Dhttp.proxyHost=10.25.101.237 -Dhttp.proxyPort=3128"]]></description><category></category></item><item><title><![CDATA[tomcat控制台启动成功但是却访问不了主页]]></title><link>https://blog.csdn.net/h348592532/article/details/54425544</link><guid>https://blog.csdn.net/h348592532/article/details/54425544</guid><author>h348592532</author><pubDate>Sat, 14 Jan 2017 10:46:35 +0800</pubDate><description><![CDATA[tomcat控制台启动成功但是却访问不了主页




但是无论如何把项目放到tomcat的Tomcat 6.0\webapps下面怎么也访问不了，访问tomcat的主页


http://localhost:8080/也是404


重装tomcat还是不行




想到\etc\hosts ，罪魁祸首出来了




删除本地host中localhost映]]></description><category></category></item><item><title><![CDATA[启动tomcat很慢处理]]></title><link>https://blog.csdn.net/h348592532/article/details/54425485</link><guid>https://blog.csdn.net/h348592532/article/details/54425485</guid><author>h348592532</author><pubDate>Sat, 14 Jan 2017 10:41:42 +0800</pubDate><description><![CDATA[启动tomcat很慢，检查后发现：
[localhost-startStop-1] 
org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [234,1]]></description><category></category></item><item><title><![CDATA[smartgit需要序列号]]></title><link>https://blog.csdn.net/h348592532/article/details/54135471</link><guid>https://blog.csdn.net/h348592532/article/details/54135471</guid><author>h348592532</author><pubDate>Fri, 06 Jan 2017 10:56:58 +0800</pubDate><description><![CDATA[smartgit需要序列号

SmartGit工具需要序列号，我们只需要选择学习版就行了。但是很可能我们安装的时候点下一步下一步点的太块了，选的付费版，发现卸载也没用，怎么办呢？ 
找到下面路径，删除文件就行了。 
步骤 
+ window+R打开运行，输入%APPDATA%\syntevo\SmartGit\ 
+ 删除setting.xml就行了，再重新打开smartgit]]></description><category></category></item><item><title><![CDATA[git linux下安装]]></title><link>https://blog.csdn.net/h348592532/article/details/54018967</link><guid>https://blog.csdn.net/h348592532/article/details/54018967</guid><author>h348592532</author><pubDate>Wed, 04 Jan 2017 14:31:35 +0800</pubDate><description><![CDATA[在安装NIOS2-LINUX中必须要安装git，可按照Altera WiKi提供的方法根本装不上（输入命令：yum install git-all git-gui make gcc ncurses-devel bison byacc flex gawk gettext ccache zlib-devel gtk2-devel lzo-devel pax-utilslibglade2-devel），]]></description><category></category></item><item><title><![CDATA[MYSQLMTOP!开源MYSQL监控系统]]></title><link>https://blog.csdn.net/h348592532/article/details/53868417</link><guid>https://blog.csdn.net/h348592532/article/details/53868417</guid><author>h348592532</author><pubDate>Sun, 25 Dec 2016 09:53:18 +0800</pubDate><description><![CDATA[MySQLMTOP是一个由Python+PHP开发的MySQL企业级监控系统。系统由Python实现多进程数据采集和告警，PHP实现WEB展示和管理。最重要是MySQL服务器无需安装任何Agent，只需在监控WEB界面配置相关数据库信息

功能非常强大：

可对上百台MySQL数据库的状态、连接数、QTS、TPS、数据库流量、复制、性能等进行时时监控

能在数据库偏离设定的正常运行阀值]]></description><category></category></item><item><title><![CDATA[Redis服务的集中监控]]></title><link>https://blog.csdn.net/h348592532/article/details/53868402</link><guid>https://blog.csdn.net/h348592532/article/details/53868402</guid><author>h348592532</author><pubDate>Sun, 25 Dec 2016 09:47:15 +0800</pubDate><description><![CDATA[1、基础环境安装
https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.4.0.2.tar.gz
# tar xvzf backports.ssl_match_hostname-3.4.0.2.tar.gz 
# cd backports.ss]]></description><category></category></item></channel></rss>