<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[mo_ing的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/mo_ing</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; mo_ing]]></copyright><item><title><![CDATA[LockSupport.park() 阻塞住的线程如何唤醒]]></title><link>https://blog.csdn.net/mo_ing/article/details/120651364</link><guid>https://blog.csdn.net/mo_ing/article/details/120651364</guid><author>mo_ing</author><pubDate>Fri, 08 Oct 2021 16:02:06 +0800</pubDate><description><![CDATA[目录

LockSupport.park()

一：LockSupport.unpark()唤醒线程：

二：中断

不清除中断标记

清除中断标记

LockSupport.park() 或LockSupport.park(Object blocker)

在某个线程中，调用该方法会阻塞住该线程。用park阻塞住的线程，想要唤醒它，有两种方法：

一种是 LockSupport.unpark()，另一种是中断。

一：LockSupport.unpark()唤醒线程：


public static v.]]></description><category></category></item><item><title><![CDATA[MySQL8连接产生错误]]></title><link>https://blog.csdn.net/mo_ing/article/details/86500822</link><guid>https://blog.csdn.net/mo_ing/article/details/86500822</guid><author>mo_ing</author><pubDate>Tue, 15 Jan 2019 23:21:39 +0800</pubDate><description><![CDATA[Windows10连接MySQL8产生错误：Client does not support authentication protocol requested by server; consider upgrading MySQL client 的解决方法：

在命令行中进入mysql后，输入如下语句：

USE mysql;
ALTER USER 'root'@'localhost' IDENT...]]></description><category></category></item><item><title><![CDATA[Windows下查看mysql是否启动]]></title><link>https://blog.csdn.net/mo_ing/article/details/83117397</link><guid>https://blog.csdn.net/mo_ing/article/details/83117397</guid><author>mo_ing</author><pubDate>Wed, 17 Oct 2018 20:44:33 +0800</pubDate><description><![CDATA[同时按windows键（就是Windows图标那个键）和R键，在弹出框中输入 services.msc

之后会弹出服务窗口，找到mysql服务



此处可看到mysql服务已经启动。]]></description><category></category></item><item><title><![CDATA[IDEA中getServletContext()报错]]></title><link>https://blog.csdn.net/mo_ing/article/details/82729007</link><guid>https://blog.csdn.net/mo_ing/article/details/82729007</guid><author>mo_ing</author><pubDate>Sun, 16 Sep 2018 20:19:53 +0800</pubDate><description><![CDATA[1、可通过getServletConfig().getServletContext()来解决。（亲测，解决问题。）

2、也看到过加入相应的依赖来解决，不过没有尝试。]]></description><category></category></item><item><title><![CDATA[hive创建表失败：FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaEx]]></title><link>https://blog.csdn.net/mo_ing/article/details/81219533</link><guid>https://blog.csdn.net/mo_ing/article/details/81219533</guid><author>mo_ing</author><pubDate>Thu, 26 Jul 2018 14:31:35 +0800</pubDate><description><![CDATA[成功启动hive之后，想要创建表，但是确产生错误。



 

登录所安装的数据库，我这里是centos7自带的mariadb数据库，登进去之后，

1、删除hive，  drop database hive; 

2、重新创建hive， create database hive;

3、将字符集UTF-8修改为 latin1， alter database hive character set ...]]></description><category></category></item><item><title><![CDATA[centos7修改主机名]]></title><link>https://blog.csdn.net/mo_ing/article/details/81130067</link><guid>https://blog.csdn.net/mo_ing/article/details/81130067</guid><author>mo_ing</author><pubDate>Fri, 20 Jul 2018 12:18:53 +0800</pubDate><description><![CDATA[1、  修改主机名

首先查看主机名用    hostname  ，修改完主机名后可用 hostname 验证。

方法一： hostname  主机名

这种方法是临时修改，当主机重启后，主机名又变回原来的了。

方法二： hostnamectl  set-hostname  主机名

这种方法可以永久修改主机名称。

2、主机名修改完后，还要需要修改hosts，更新一下ip地址与主机名的映射。...]]></description><category></category></item><item><title><![CDATA[centos7实现免密登录]]></title><link>https://blog.csdn.net/mo_ing/article/details/81042816</link><guid>https://blog.csdn.net/mo_ing/article/details/81042816</guid><author>mo_ing</author><pubDate>Tue, 17 Jul 2018 17:14:31 +0800</pubDate><description><![CDATA[一开始进行centos7下实现ssh免密登录的时候，入了很大的坑，用的是几台虚拟机之间互相scp的方式，不过由于不清楚原理，而且总是scp出错，绕了很大的弯都没有成功。

  下面是一种比较便捷的方式，不用手动在几个虚拟机之间scp他们的公钥文件，之间使用几条命令，它自己进行操作。（我这里实现的是各个节点之间root用户之间的ssh免密登录）



1、在node01上生产一对钥匙（...]]></description><category></category></item><item><title><![CDATA[以太网中更改IP地址出现错误，无法更改]]></title><link>https://blog.csdn.net/mo_ing/article/details/81042392</link><guid>https://blog.csdn.net/mo_ing/article/details/81042392</guid><author>mo_ing</author><pubDate>Sat, 14 Jul 2018 12:23:28 +0800</pubDate><description><![CDATA[1、在进入“网络和Internet”--&amp;gt;“更改适配器选项”；更改以太网的IP地址时确认后出现：“出现了一个意外的情况，不能完成所有你在设置中所要求的更改”；2、打开命令提示符（Windows+R键后，输入cmd），输入  netsh interface ip set address &quot;以太网&quot; 16.25.221.20 255.255.255.0 162.16.15.1 （以太网是你所要连...]]></description><category></category></item><item><title><![CDATA[VMware下克隆centos7后的网络配置及主机名问题]]></title><link>https://blog.csdn.net/mo_ing/article/details/81036339</link><guid>https://blog.csdn.net/mo_ing/article/details/81036339</guid><author>mo_ing</author><pubDate>Fri, 13 Jul 2018 20:01:27 +0800</pubDate><description><![CDATA[我今天在VMware下将centos7克隆出另一个虚拟机。克隆后出现ip地址与原来那个虚拟机的ip地址相同，主机名也相同，在此之后需要进行 一些修改。1、修改IP地址、删除UUID和HWADDR两行命令： vi /etc/sysconfig/network-scripts/ifcfg-ens32   （不同电脑中ifcfg-ens32文件名称不同，可通过上一级目录查看）进入网卡配置文件中修改IPA...]]></description><category></category></item><item><title><![CDATA[centos7关闭防火墙]]></title><link>https://blog.csdn.net/mo_ing/article/details/81033052</link><guid>https://blog.csdn.net/mo_ing/article/details/81033052</guid><author>mo_ing</author><pubDate>Fri, 13 Jul 2018 16:12:41 +0800</pubDate><description><![CDATA[1、我一开始使用 service iptables status 命令查看防火墙状态，结果显示 Unit iptables.service could not be found2、这是因为centos7中默认使用 firewalld，没有iptables了3、在centos7中：systemctl stop firewalld    // 临时关闭systemctl disable firewal...]]></description><category></category></item></channel></rss>