[ERROR - org.apache.flume.source.SpoolDirectorySource$SpoolDirectoryRunnable.run(SpoolDirectorySource.java:256)] FATAL: Spool Directory source source1: { spoolDir: /flume/log/ }: Uncaught exception in SpoolDirectorySource thread. Restart or reconfigure Flume to continue processing.
java.nio.charset.MalformedInputException: Input length = 1
分类:
编程语言 时间:
2019-05-23 00:52:39
阅读次数:
156
在执行shell脚本时提示这样的错误主要是由于shell脚本文件是dos格式,即每一行结尾以\r\n来标识,而unix格式的文件行尾则以\n来标识。 查看脚本文件是dos格式还是unix格式的几种办法。(1)cat -A filename 从显示结果可以判断,dos格式的文件行尾为^M$,unix格 ...
分类:
其他好文 时间:
2019-05-22 17:52:40
阅读次数:
119
1、windows键+R打开“运行”,然后出入“regedit”打开注册表; 2.按目录找到 [HKEY_CLASSES_ROOT\Directory\background\shellex\ContextMenuHandlers\igfxDTCM],然后右键单击“igfxDTCM”删除即可获得清爽界 ...
spark-beeline的配置,及基本的使用方法
分类:
数据库 时间:
2019-05-22 00:08:57
阅读次数:
280
问题 途中使用的命令是 ,在执行命令的时候找不到对应的 文件。 解决 找到这个编译器所在的文件夹的 文件夹,并且 文件复制进去即可。可以新建一个文本文件,把名字和后缀名改为unistd.h。 Windows的通病 这样是不可行的,在许多情况下。 原因是这个头文件是unix, standard的缩写, ...
分类:
编程语言 时间:
2019-05-20 17:31:51
阅读次数:
498
本次主要介绍与实践课程息息相关的小组合作开发,通过github和git可以很好对小组成员的代码进行管理。我邀请刘子义和我分别扮演合作中的项目经理和团队成员两种角色。 首先介绍一下github的主要功能: (1)Git仓库 (2)Organization(优点是可以统一管理和权限) (3)Issue( ...
分类:
其他好文 时间:
2019-05-20 13:37:47
阅读次数:
115
出现这个问题的原因是运行程序缺少依赖库,或者运行程序的依赖库缺少依赖库,可能你的本地目录下面就有这个库文件,但是linux搜索路劲不会从当前路径下去搜索;这种情况可能出现在切换环境上,可能你在一个linux环境下运行正常,到另外一个linux下运行则不正常,因为两个系统环境的系统库文件不一样;新环境 ...
分类:
其他好文 时间:
2019-05-19 11:49:58
阅读次数:
134
The directory '/home/zdj/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the p ...
分类:
其他好文 时间:
2019-05-18 23:53:51
阅读次数:
193
basic用户验证机制1,修改配置文件vim/etc/httpd/conf.d/test.conf6<directory/var/www/html/admin/>7authtypebasic8AuthName"adminPage"9AuthUserFile"/etc/httpd/conf.d/.httpuser"10Requireusertomalice11</directory
分类:
其他好文 时间:
2019-05-15 20:33:36
阅读次数:
161
做了几天的文件操作,现在来总结一下,错误之处,还望指点!以文件为例,如果对文件夹操作,基本上将File换为Directory即可(例:FileInfo file = new FileInfo(Path);与DirectoryInfo directory = new DirectoryInfo (Pa ...
分类:
移动开发 时间:
2019-05-15 16:45:28
阅读次数:
157