<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[green_hunter的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/green_hunter</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; green_hunter]]></copyright><item><title><![CDATA[crontab 执行脚本与手动执行结果不一致！]]></title><link>https://blog.csdn.net/green_hunter/article/details/100541263</link><guid>https://blog.csdn.net/green_hunter/article/details/100541263</guid><author>green_hunter</author><pubDate>Wed, 04 Sep 2019 16:11:39 +0800</pubDate><description><![CDATA[环境变量问题，我就直接在脚本第二行加入以下代码：

source /etc/profile

source ~/.bashrc

执行后就正确了。目前写了一个脚本，定时执行，去检测spark中，sparkstreaming的状态，如果没有流，则用脚本拉起来。脚本如下：

#! /bin/bash
source /etc/profile
source ~/.bash_profile
func()
{...]]></description><category></category></item><item><title><![CDATA[shiro登陆后，去掉URL中的jsessionId]]></title><link>https://blog.csdn.net/green_hunter/article/details/84897703</link><guid>https://blog.csdn.net/green_hunter/article/details/84897703</guid><author>green_hunter</author><pubDate>Fri, 09 Jun 2017 16:49:53 +0800</pubDate><description><![CDATA[今天搭建了spring + shiro 的一个系统，在成功登录后，跳转的URL中，始终有jsessionId。网上查资料，怎么去掉。

主要执行以下步骤：

1、重写 ShiroHttpServletResponse 


[code=&quot;java&quot;][code=&quot;java&quot;][code=&quot;java&quot;]public class MyShiroHttpServletResponse ex...]]></description><category></category></item><item><title><![CDATA[Hadoop、Spark 搭建过程遇到的问题（win10环境）]]></title><link>https://blog.csdn.net/green_hunter/article/details/84884394</link><guid>https://blog.csdn.net/green_hunter/article/details/84884394</guid><author>green_hunter</author><pubDate>Fri, 05 May 2017 11:37:10 +0800</pubDate><description><![CDATA[
1、JAVA_HOME，在配置环境变量的时候，JDK安装时默认的program file 路径，有空格。这里在配置的地方，要将 C:\Program Files (x86)\Java  路径修改为 C:\Progra~1\Java 。否则hadoop启动会报错 （JAVA_HOME is set incorrect）。
2、Hadoop 配置自身的HADOOP_HOME。 下载hadoop-...]]></description><category></category></item><item><title><![CDATA[spring 五个事务隔离级别和七个事务传播行为]]></title><link>https://blog.csdn.net/green_hunter/article/details/50595678</link><guid>https://blog.csdn.net/green_hunter/article/details/50595678</guid><author>green_hunter</author><pubDate>Wed, 27 Jan 2016 17:24:15 +0800</pubDate><description><![CDATA[Spring在TransactionDefinition接口中定义这些属性

在TransactionDefinition接口中定义了五个不同的事务隔离级别

ISOLATION_DEFAULT这是一个PlatfromTransactionManager默认的隔离级别，使用数据库默认的事务隔离级别.另外四个与JDBC的隔离级别相对应ISOLATION_READ_UNCOMMITTED这是事务...]]></description><category></category></item><item><title><![CDATA[jquery checkbox]]></title><link>https://blog.csdn.net/green_hunter/article/details/84741597</link><guid>https://blog.csdn.net/green_hunter/article/details/84741597</guid><author>green_hunter</author><pubDate>Mon, 14 Sep 2015 16:06:32 +0800</pubDate><description><![CDATA[
所使用的jquery版本为jquery-1.81.通过prop方法获取checked属性，获取的checked返回值为boolean，选中为true,否则为flase $(&quot;#selectAll&quot;).prop(&quot;checked&quot;)2.如果使用attr方法获取时，如果当前input中初始化未定义checked属性，则不管当前是否选中，$(&quot;#selectAll&quot;).attr(&quot;checked&quot;)...]]></description><category></category></item><item><title><![CDATA[Mysql初始化root密码和允许远程访问]]></title><link>https://blog.csdn.net/green_hunter/article/details/8926331</link><guid>https://blog.csdn.net/green_hunter/article/details/8926331</guid><author>green_hunter</author><pubDate>Tue, 14 May 2013 16:34:10 +0800</pubDate><description><![CDATA[mysql默认root用户没有密码，输入mysql –u root 进入mysql

1、初始化root密码

进入mysql数据库



?





1




mysql>update user set password=PASSWORD(‘123456’)
where User='root';








2、允许mysql远程]]></description><category></category></item><item><title><![CDATA[在线视频播放]]></title><link>https://blog.csdn.net/green_hunter/article/details/84300298</link><guid>https://blog.csdn.net/green_hunter/article/details/84300298</guid><author>green_hunter</author><pubDate>Fri, 12 Oct 2012 10:41:38 +0800</pubDate><description><![CDATA[页面嵌入 swfobject.js

		
			
			
				var s1 = new SWFObject(&quot;${ctx}/ffmpeg/Flvplayer.swf?autostart=true&quot;,&quot;single&quot;,&quot;500&quot;,&quot;400&quot;,&quot;7&quot;);
				s1.addParam(&quot;allowfullscreen&quot;,&quot;true&quot;);
				s1.]]></description><category></category></item><item><title><![CDATA[JVM调优]]></title><link>https://blog.csdn.net/green_hunter/article/details/84300230</link><guid>https://blog.csdn.net/green_hunter/article/details/84300230</guid><author>green_hunter</author><pubDate>Fri, 12 Oct 2012 09:40:24 +0800</pubDate><description><![CDATA[http://hi.baidu.com/mailluzhou/item/98052fdc701baade241f4008]]></description><category></category></item><item><title><![CDATA[视频转换]]></title><link>https://blog.csdn.net/green_hunter/article/details/84300035</link><guid>https://blog.csdn.net/green_hunter/article/details/84300035</guid><author>green_hunter</author><pubDate>Thu, 11 Oct 2012 17:53:02 +0800</pubDate><description><![CDATA[/**
	 * 将视频文件下载到本地
	 * 存放名称为UcmObject 对象ID跟图片后缀名
	 * 
	 * @param fileId
	 */
	public static void downLoadFile(S2PersistentObjectContext object){
		InputStream in = null;
		OutputStream out = n...]]></description><category></category></item></channel></rss>