上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: flume介绍: Flume是Cloudera提供的一个高可用的分布式的海量日志采集、聚合和传输的系统,Flume支持在日志系统中定制各类数据发送方,用于数据收集、聚合和传输的系统,Flume支持在日志系统中定制各类数据发送方,用于收集数据;同时,Flume提供对数据,进行简单的处理,并写到数据接收 阅读全文
posted @ 2018-02-27 15:41 三里路异乡客 阅读(121) 评论(0) 推荐(0)
摘要: hbase shell 进入hbase list 给出所有表 count "table_name" 查看表的记录数 scan "table_name" 查询多条记录 scan "table_name",LIMIT=>1 --查询一条记录 truncate "table_name" 清空表的记录数 s 阅读全文
posted @ 2017-08-29 15:43 三里路异乡客 阅读(228) 评论(0) 推荐(0)
摘要: 方式一: 使用public static <T extends Comparable<? super T>> void sort(List<T> list)方法对list进行排序: 在要排序的list对象中 implements Comparable 并重写compareTo(方法) public 阅读全文
posted @ 2017-06-30 11:44 三里路异乡客 阅读(307) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python# -*- coding: utf-8 -*- import operatorfrom pymongo import MongoClientimport sysreload(sys)sys.setdefaultencoding("utf-8") DBC_W_ 阅读全文
posted @ 2017-06-21 10:28 三里路异乡客 阅读(228) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python# -*- coding: utf-8 -*-from PIL import Imageimport os def getImgSize(): imgPath = "/home/siyin/ownCloud/小游戏/设计/填色小游戏/测试素材库/" sava 阅读全文
posted @ 2017-06-21 10:26 三里路异乡客 阅读(208) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python# -*- coding: utf-8 -*- import osfrom wand.image import Imagefrom struct import * def pdfToPng(): path = "/home/siyin/素材库各20例/" l 阅读全文
posted @ 2017-06-21 10:24 三里路异乡客 阅读(2394) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- import Image import os def imageYasuo(srcPath,dstPath): for filename in os.listdir(srcPath): # 如果不存在目的目录 阅读全文
posted @ 2017-06-21 10:18 三里路异乡客 阅读(874) 评论(0) 推荐(0)
摘要: 1、图片地址为下载地址访问图片地址可直接下载的 #!/usr/bin/env python # -*- coding: utf-8 -*- import urllib2 import json import requests import os import sys from time import 阅读全文
posted @ 2017-06-21 10:11 三里路异乡客 阅读(515) 评论(0) 推荐(0)
摘要: 在hibernate映射关联时 有类似下面的注解 @OneToMany(mappedBy = "appEntity",fetch = FetchType.LAZY) 其中 fetch = FetchType.LAZY表示懒加载。 private Set<ProductEntity> productE 阅读全文
posted @ 2017-05-27 16:46 三里路异乡客 阅读(1462) 评论(0) 推荐(0)
摘要: hibernate+mysql关联映射师遇到java.lang.StackOverflowError异常 原因在进行关联映射时在多的一方的toString方法中有对属性对应的一的一方的输出 比如: 一的一方: 阅读全文
posted @ 2017-05-27 15:40 三里路异乡客 阅读(574) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 下一页