ITeye博客

Ctrl+C&Ctrl+V

knight_black_bob · 共 487 篇文章

springcloud 消费者 Feign (类似 webservice)

------------------------------------------------------------------------------------------------------------ springcloud (零) springboot 基础 下载 springcloud (一)服务注册中心 eureka 下载 springcloud (二) 服务提供方 compute-service 下载 springcloud (三) 消费者 Feign(类似 websevice) 下载 springcloud (四) 客户端负载均衡 ribbon 下载 springc…

2017-02-09 09:38 · springcloud · 评论(0) · WebService · 消费者

springcloud 服务提供方 compute-service

------------------------------------------------------------------------------------------------------------ springcloud (零) springboot 基础 下载 springcloud (一)服务注册中心 eureka 下载 springcloud (二) 服务提供方 compute-service 下载 springcloud (三) 消费者 Feign(类似 websevice) 下载 springcloud (四) 客户端负载均衡 ribbon 下载 springc…

2017-02-08 17:07 · springcloud · 评论(0) · Service · 服务

git 安装 dos 找不到 ssh-genkey

git 安装 找不到 ssh-genkey 使用 Git 的远程仓库,生成秘钥,遇到的问题 在 windows 文件搜索框中搜索 ssh-genkey 在 环境变量 中添加 GIT_HOME 在 执行 ssh-keygen -t rsa -C "curiousby@163.com" 不出问题了 捐助开发者 在兴趣的驱动下,写一个 免费 的东西,有欣喜,也还有汗水,希望你喜欢我的作品,同时也能支持一下。 当然,有钱捧个钱场(右上角的爱心标志,支持支付宝和PayPal捐助),没钱捧个人场,谢谢各位。 谢谢您的赞助,我会做的更好!

2017-02-03 17:30 · git · exception · 评论(0) · Git · SSH · 安装 · 找不到

git centos yum 安装 (服务器端 ,客户端)

21.git 服务器端安装 centos yum 21.1安装服务器端 yum install -y git git --version 查看安装 21.2安装客户端 下载 Git for Windows,地址:https://git-for-windows.github.io/ git --version 21.3 创建 git 用户 [root@localhost home]# id git [root@localhost home]# useradd git [root@localhost home]# passwd git 21.4服务器端创建 Git 仓库 设置 /home/dat…

2017-02-03 17:24 · git · 评论(0) · Git · CentOS · 客户端 · yum · 服务器端

springboot dubbox 实例

---------------------------------------------------------------------------------------------------------------- springboot 详解 (一) helloworld 下载demo springboot 详解 (二) crud 下载demo springboot 详解 (三) 多数据源 下载demo springboot 详解 (四)redis & filter 下载demo springboot 详解 (五)interceptor 下载demo springboot 详解 (…

2017-01-19 17:10 · spring · dubbo · zookeeper · springboot · 评论(0) · Spring · zookeeper · dubbo

shell java 执行

java shell 命令 /** * * @author baoyou E-mail:curiousby@163.com * @version 2016年11月2日 下午1:54:49 * desc: */ public class ShellProcess { private static ShellProcess instance; public static ShellProcess getInstance() { if (instance == null) { synchronized (ShellProcess.class) { if (instance == null) { i…

2017-01-09 14:07 · java · 评论(2) · Java · shell · 命令

scp ssh java 实例

pom </dependency> <dependency> <groupId>ch.ethz.ganymed</groupId> <artifactId>ganymed-ssh2</artifactId> <version>build210</version> </dependency> package com.taskschedule.util; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io…

2017-01-06 17:18 · java · 评论(0) · Java · SSH · 实例 · scp

hive 增删查改 实例

pom <dependency> <groupId>org.apache.hive</groupId> <artifactId>hive-jdbc</artifactId> <version>0.11.0</version> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <version>2.2.0</version> </dependency> public class TeminalHiveCoreTest { public st…

2016-12-30 13:52 · hive · 评论(0) · hive

hive 异常 (Attempt to do update or delete on table terminal that does not use an )

hive 异常 (Attempt to do update or delete on table terminal that does not use an ) hive > delete from terminal where 1=1 ; 出现以下 FAILED: SemanticException [Error 10297]: Attempt to do update or delete on table terminal that does not use an AcidOutputFormat or is not bucketed 解决方法 vim hive-site.xml <pr…

2016-12-30 13:12 · hive · exception · 评论(0) · Exception · 异常 · delete · hive

hive java 实例

下载 jdo2-api-2.3-ec hive hdfs 所需jar http://download.csdn.net/download/knight_black_bob/9725194 常见命令 hive 常见命令 create table test(uid string,name string)row format delimited fields terminated by '/t' 见表语句 desc formatted test; 表的约束 desc test; 表的约束 LOAD DATA local INPATH '/root/test3.log' OVERWRITE INTO…

2016-12-30 10:40 · hive · 评论(0) · Java · hive · hdfs

hdfs 本地 winutils.exe (Could not locate executable null\bin\winutils.exe in t)

下载 hadoop-common-bin 中含有 winutils.exe : http://download.csdn.net/download/knight_black_bob/9722051 hdfs 本地 (win) 报没有找到 winutils.exe 严重: Failed to locate the winutils binary in the hadoop binary path java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries. at or…

2016-12-27 10:38 · exception · 评论(0)

redis redis-2.6.17 安装失败 原因分析

redis 安装 redis-2.6.17 redis 集群 安装 http://knight-black-bob.iteye.com/blog/2343192 zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error "Newer version of jemalloc required" make[1]: *** [adlist.o] Error 1 make[1]: Leaving directory `/data0/src/redis-2.6…

2016-12-22 16:03 · linux · redis · exception · 评论(0) · Linux · 安装 · 失败 · 原因

kafka-storm 详细

kafka storm 安装: http://knight-black-bob.iteye.com/blog/2343192 15.安装kafka cd /usr/local/ wget http://mirror.bit.edu.cn/apache/kafka/0.10.0.0/kafka_2.10-0.10.0.0.tgz tar xf kafka_2.10-0.10.0.0.tgz ln -s /usr/local/kafka_2.10-0.10.0.0 /usr/local/kafka chown -R hdfs:hadoop /usr/local/kafka_2.10-0.10.0…

2016-12-19 15:33 · kafka · storm · 评论(0) · Storm · kafka

ofo 破解 android ios 版 (类似 wifi 万*能*钥*匙 )

ofo 破解 android ios 版 (类似 wifi 万*能*钥*匙 ) 使用 七牛云 做一个 破解ofo 的 大数据存储平台 举例说明 http://oi5lgyv8t.bkt.clouddn.com/327994.json 存放的就是一个密码 1234 然后 七牛云的 一个节点 免费存储 空间是31536000 ,没有写 单位,我们可以默认为是B,然后 一个 数据的密码是4位,4B, 那么 31536000/4 =788,4000 700w的数据量,应该是北上广 投放的车辆数,那么我们就不能使用一个节点了,所以,我们先建立 全国各省市的 列表 34个省市自治区 北京 天津 河北 山…

2016-12-14 10:58 · ios · android · 评论(0) · iOS · Android · 破解

kafka spring 实例

kafka spring demo 下载: http://download.csdn.net/download/knight_black_bob/9709057 安装详解 : http://knight-black-bob.iteye.com/blog/2343192 使用定时器发送后 结果如下 kafka 代码安装 15.安装kafka cd /usr/local/ wget http://mirror.bit.edu.cn/apache/kafka/0.10.0.0/kafka_2.10-0.10.0.0.tgz tar xf kafka_2.10-0.10.0.0.tgz ln -s …

2016-12-12 16:07 · spring · kafka · 评论(0) · Spring · 配置 · kafka