01 2017 档案

java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
摘要:windows下运行hadoop的程序报错java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries. 这是因为windows环境变... 阅读全文

posted @ 2017-01-23 15:03 愤怒的苹果ext 阅读(54) 评论(0) 推荐(0) 编辑

Error:(16, 22) class file needed by SparkConf is missing. reference type Cloneable of package scala
摘要:编写spark程序报错 Error:(16, 22) class file needed by SparkConf is missing. reference type Cloneable of package scala refers to nonexist... 阅读全文

posted @ 2017-01-23 14:37 愤怒的苹果ext 阅读(24) 评论(0) 推荐(0) 编辑

Nginx 502 Bad Gateway 的错误的解决方案
摘要:我用的是nginx反向代理Apache,直接用Apache不会有任何问题,加上nginx就会有部分ajax请求502的错误,下面是我收集到的解决方案。 一、fastcgi缓冲区设置过小 出现错误,首先要查找nginx的日志文件,目录为/var/log/ng... 阅读全文

posted @ 2017-01-22 15:24 愤怒的苹果ext 阅读(46) 评论(0) 推荐(0) 编辑

java socket远程控制主机,执行命令
摘要:socket server服务端代码 package com.core.servers;import java.io.BufferedReader;import java.io.DataInputStream;import java.io.DataOutpu... 阅读全文

posted @ 2017-01-22 13:58 愤怒的苹果ext 阅读(55) 评论(0) 推荐(0) 编辑

spark Idea Maven开发环境搭建
摘要:一、下载maven,解压,下载地址http://maven.apache.org/download.cgi 二、安装idea,Scala、和jdk环境 三、创建项目maven项目 选择maven路径 这里我给大家提供一个... 阅读全文

posted @ 2017-01-20 15:20 愤怒的苹果ext 阅读(10) 评论(0) 推荐(0) 编辑

2个文件内容的比较
摘要:文件内容比较shell 如: a.txt 2111,12,222 b.txt 2121,12,222 shell代码 #!/bin/bashtouch result.txt;echo '创建结果文件成功!';echo '' > result.txt... 阅读全文

posted @ 2017-01-17 15:34 愤怒的苹果ext 阅读(21) 评论(0) 推荐(0) 编辑

Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System
摘要:linux修改ip重启后出现 service network restart Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System eth0'. 用ifc 阅读全文

posted @ 2017-01-17 10:27 愤怒的苹果ext 阅读(6) 评论(0) 推荐(0) 编辑

Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System
摘要:linux修改ip重启后出现service network restart Bringing up interface eth0: Error: No suitable device found: no device found for connection ... 阅读全文

posted @ 2017-01-17 10:28 愤怒的苹果ext 阅读(7) 评论(0) 推荐(0) 编辑

shell awk命令使用
摘要:awk是一个异常强大的命令 awk '条件1{动作1}条件2{动作2}...' 文件名 例子:创建文本students.txt 输入内容 [zzq@weekend110 ~]vimstudents.txt[zzq@weekend110 ] ... 阅读全文

posted @ 2017-01-14 23:42 愤怒的苹果ext 阅读(21) 评论(0) 推荐(0) 编辑

redis集群javaApi
摘要:pom.xml需要这2个包 redis.clients jedis 2.8.0 net.sourceforge.cobertura cobertura 2.0.3 代码: import... 阅读全文

posted @ 2017-01-11 11:09 愤怒的苹果ext 阅读(22) 评论(0) 推荐(0) 编辑

redis集群安装和使用
摘要:用两台虚拟机模拟6个节点,一台机器3个节点,创建出3 master、3 salve 环境。 需要安装GCC库、LibC、LibStdC++、Rubby库(1.9.2或以上)、ZLIB库(1.2.6或以上) 两台虚拟机都是 CentOS ,一台 CentOS6.... 阅读全文

posted @ 2017-01-11 11:04 愤怒的苹果ext 阅读(29) 评论(0) 推荐(0) 编辑

startx报错xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such pr
摘要:startx突然启动不了图形界面了报错 xinit: No such file or directory (errno 2): unable to connect to X serverxinit: No such process (errno 3): Ser... 阅读全文

posted @ 2017-01-08 17:12 愤怒的苹果ext 阅读(377) 评论(0) 推荐(0) 编辑

python3的算法库安装
摘要:Python 算法库(记住要以顺序安装) 1. Numpy https://sourceforge.net/projects/numpy/files/NumPy/ 2. Scipy https://sourceforge.net/projects/scip... 阅读全文

posted @ 2017-01-08 16:43 愤怒的苹果ext 阅读(55) 评论(0) 推荐(0) 编辑

安装scipy库报错raise NotFoundError('no lapack/blas resources found') numpy.distutils.system_info.NotFound
摘要:安装scipy库报错,我是安装了numpy的 Running from scipy source directory. Traceback (most recent call last): File "setup.py", line 253, in <module> setup_package() 阅读全文

posted @ 2017-01-08 00:08 愤怒的苹果ext 阅读(8) 评论(0) 推荐(0) 编辑

安装scipy库报错raise NotFoundError('no lapack/blas resources found') numpy.distutils.system_info.NotFound
摘要:安装scipy库报错,我是安装了numpy的 Running from scipy source directory.Traceback (most recent call last): File "setup.py", line 253, in s... 阅读全文

posted @ 2017-01-08 00:08 愤怒的苹果ext 阅读(19) 评论(0) 推荐(0) 编辑

Python3.52安装扩展错误
摘要:ImportError: No module named 'setuptools' 这句错误提示的表面意思是:没有setuptools的模块,说明python缺少这个模块,那我们只要安装这个模块即可解决此问题,下面我们来安装一下 [zzq@weekend1... 阅读全文

posted @ 2017-01-07 22:13 愤怒的苹果ext 阅读(47) 评论(0) 推荐(0) 编辑

Python的md5加密
摘要:Python md5加密 #!/usr/bin/python# -*- coding: UTF-8 -*-'''zhouzhongqing各种测试'''#md5import hashlibif __name__ == '__main__': '''md5... 阅读全文

posted @ 2017-01-05 10:43 愤怒的苹果ext 阅读(19) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示