自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 收藏
  • 关注

原创 docker部署端口浏览器不显示

1.ALTER TABLE tablenone SET SERDEPROPERTIES ('serialization.encoding'='GBK') ; 解决乱码的问题2.

2023-05-27 12:59:50 209 1

转载 goland 可用激活 License Server

http://idea.iblue.me

2018-10-24 15:23:28 6445

原创 window10 在本地的用户下添加pip 源

本地c盘用户下的C:\Users\18200 下简历一个pip文件夹建立一个文件pip.ini[global]index-url=https://pypi.tuna.tsinghua.edu.cn/simple截图i

2018-10-10 19:14:28 459

原创 protobuf-2.5.0.zip和protoc-2.5.0-win32.zip

https://github.com/protocolbuffers/protobuf/releases/tag/v2.5.0这里选择的是2.5版本的,不同的版本的需要点击tag标签  

2018-10-09 10:37:05 3804 1

转载 jps 中部分先后同时包含两个属性的正则表示

自己的项目中用到正则表达式处理:不分先后同时包含两个字符串;正则要求,的正则表达式在jsp中的test<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 T...

2018-09-28 14:37:58 220

原创 pyCharm 使用setting设置的方式安装sklearn找不到出现Nothing to show

1.升级pip报到新的版本从9到18--升级setuptool 此时出现没有main 的错误,2.修改pyCharm程序下helps/packaging_tool.py    修改 do_install 出的代码;def do_install(pkgs):    try:        #import pip        try:            from pip._i...

2018-09-26 17:11:05 3814

原创 packagesNotFoundError:The following packages are not available from current channels

1.使用conda   安装mysql-connector  失败2解决 使用pycharm 安装成功,点击setting--》+ --》搜索mysql-connector

2018-09-26 15:08:33 3903

原创 spark ui嵌入 到iframe框架中不显示

在spark-defaults.conf文件中加入属性,和面是嵌入的地址的路径spark.ui.allowFramingFrom   http://10.161.48.91:8080/zhanglongappsite/

2018-09-20 15:54:46 354 1

原创 oracle 导入excel的数据使用命令粘贴

2018-09-07 17:46:25 693

原创 hadoop 一个wordcount统计单词程序不执行的问题

1.我是在windows上演示的,是因为对文件的读写权限不够Configuration config=new Configuration();          config.set("fs.default.name", "hdfs://192.168.10.222:9000");      FileSystem fs=FileSystem.get(config);      ...

2018-09-04 10:12:41 500

原创 ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

只是修改了一个hbase-site.xml的配置之后重启报错解决: 先启动regionserver,在启动HMaster。  在regionServer上./hbase-daemon.sh start regionserver  在master上执行:./bin/hbase-daemon.sh start master 解决问题!...

2018-09-03 16:10:26 132

转载 hadoop导入hbase的问题

最新从hadoop导入hbase老是报错,查看hbase节点发现hregion节点挂掉一个 18/09/03 12:00:30 INFO mapreduce.Job:  map 4% reduce 0%18/09/03 12:00:36 INFO mapreduce.Job: Task Id : attempt_1535026170888_0028_r_000000_0, Status ...

2018-09-03 14:21:20 301

原创 storm ui 嵌入报错

1. storm 集群的版本里不让嵌前段框架:在storm.yaml中加入ui.http.x-frame-options   "ALLOW-FROM  http://10.161.48.91:8080/bonc-visual-monitor/"2.重新启动nohup /opt/beh/core/apache-storm-1.1.0/bin/storm nimbus &nohu...

2018-08-30 10:23:04 258

原创 mapred-site.xml

<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="configuration.xsl"?><!--Licensed under the Apache License, Version 2.0 (the "License");you may not use this file exce

2018-08-27 10:07:33 711

转载 spark 异常 Could not find CoarseGrainedScheduler

ERROR TransportRequestHandler: Error while invoking RpcHandler#receive() for one-way message. org.apache.spark.SparkException: Could not find CoarseGrainedScheduler. at org.apache.spark.rpc.netty.Disp...

2018-08-24 14:35:18 13458

转载 HBase Operation category READ is not supported in state standby

2016-12-29 14:48:44,188 INFO  [master:master:60000] http.HttpServer: Jetty bound to port 600102016-12-29 14:48:44,188 INFO  [master:master:60000] mortbay.log: jetty-6.1.262016-12-29 14:48:44,721 INF...

2018-08-24 10:52:56 369

转载 Linux split 命令

split命令可以将一个大文件分割成很多个小文件,有时需要将文件分割成更小的片段,方便hadoop导入,解决内存的限制。-b:值为每一输出档案的大小,单位为 byte。-C:每一输出档中,单行的最大 byte 数。-d:使用数字作为后缀。-l:值为每一输出档的列数大小。文件被分割成多个带有字母的后缀文件,如果想用数字后缀可使用-d参数,同时可以使用-a length来指定后缀的长度...

2018-08-21 15:53:24 754

原创 java科学计数法转换成普通的计数法

 import java.text.NumberFormat; NumberFormat nf=NumberFormat.getInstance(); nf.setGroupingUsed(false);// 设置转成普通的  nf.setMaximumFractionDigits(100);// 遇到小数的时候保留多少位,防止截断,系统默认的是三位 package com.bonc...

2018-08-15 16:55:29 1173

原创 linux 命令记录

1.touch  改变文件的时间戳属性 stat 文件名称--》查看文件的时间戳2 xargs   后面不能直接接文件   xargs  < file.txt [root@hadoop1 temp_daijinbao]# xargs  < da.txt 1 2 3 4 5 6 6 7 8 9[root@hadoop1 temp_daijinbao]# xargs  ...

2018-08-04 21:19:59 109

原创 spark 集群ui 嵌入到iframe 框架加入

1.在conf/spark-defaults.conf 文件中加入属性字段spark.ui.allowFramingFrom   http://ip:port/项目名称/解决spark-ui 不能被嵌入的问题

2018-07-18 10:25:50 369

原创 storm 集群的ui页面嵌入到iframe 框架 报错

在storm的配置文件中添加属性ui.http.x-frame-options: "ALLOW-FROM http://访问的hostname/"我的配置nimbus.seeds: [192.168.159.131]storm.local.dir: /usr/local/storm/stormLocalDirui.http.x-frame-options: "ALLOW-FR...

2018-07-18 09:26:11 256

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除