LiFei's Notes


  • 首页

  • 分类

  • 归档

  • 搜索

java scala混排

发表于 2017-02-21 | 分类于 scala
12345678910111213141516package com.examples.infoworld.helloword;public class Cal { public int add(int a,int b){ return a+b;  ...
阅读全文 »

wc

发表于 2017-02-21 | 分类于 flink
java v112345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 ...
阅读全文 »

传数据

发表于 2017-02-20 | 分类于 linux
1)进入待分享的目录2)执行命令python -m SimpleHTTPServer 端口号    注意:不填端口号则默认使用8000端口。3)浏览器访问该主机的地址:http://IP:端口号/python -m SimpleHTTPServer 8000 wget –limit-rate=30m ...
阅读全文 »

网卡命令

发表于 2017-02-20 | 分类于 linux
ip -f inet addr show 参考:http://www.361way.com/ifconfig-ip-ip/1835.html
阅读全文 »

Table is neither enables nor disabled in HBase

发表于 2017-02-20 | 分类于 hbase
问题:操作hbase表时报以下错误12345678Attached is the Exeption I got: hbase(main):002:0> disable 'x'ERROR: org.apache.hadoop.hbase.TableNotEnabledExce ...
阅读全文 »

master和regionserver时间不同步

发表于 2017-02-20 | 分类于 hbase
regionserver错误日志中出现:122014-12-05 11:26:17,119 INFO [regionserver60020] regionserver.HRegionServer: STOPPED: Unhandled: org.apache.hadoop.hbase.ClockO ...
阅读全文 »

hbase慢查询日志分析

发表于 2017-02-20 | 分类于 hbase
当hbase出现慢查询时,可能会出现这么一个warning日志,具体如下12015-08-08 09:39:32,532 WARN [RpcServer.handler=8,port=60020] ipc.RpcServer: (responseTooSlow): {"proce ...
阅读全文 »

使用ImportTsv来进行批量数据导入

发表于 2017-02-20 | 分类于 hbase
前期准备,hadoop需要开启MapReduce 第一种方法一、操作步骤1、创建tsv文件,文件格式如下abc|siaogisss|gaiogo 2、将tsv文件put到hdfs中./bin/hdfs dfs -put a.tsv /tmp/a.tsv 3、使用ImportTsv来进行导入1. ...
阅读全文 »

hbase的export 和import

发表于 2017-02-20 | 分类于 hbase
hbase org.apache.hadoop.hbase.mapreduce.Exporthbase org.apache.hadoop.hbase.mapreduce.Import Export是以表为单位导出数据的,若想完成整库的备份需要分别各个表都要执行本地hdfs转储 1、先将t表导出到h ...
阅读全文 »

merge_region操作

发表于 2017-02-20 | 分类于 hbase
通常只有相邻的region才能进行merge如果region的名称为TestTable,0094429456,1289497600452.527db22f95c8a9e0116f0cc13c680396. 那么region名称的encoded是527db22f95c8a9e0116f0cc13c68 ...
阅读全文 »
1…131415…21

208 日志
34 分类
37 标签
Links
  • meihuakaile
© 2019
由 Hexo 强力驱动
|
主题 — NexT.Pisces v5.1.4