摘要: TPCx BB是大数据基准测试工具,它通过模拟零售商的30个应用场景,执行30个查询来衡量基于Hadoop的大数据系统的包括硬件和软件的性能。其中一些场景还用到了机器学习算法(聚类、线性回归等)。为了更好地了解被测试的系统的性能,需要对TPCx BB整个测试流程深入了解。本文详细分析了整个TPCx 阅读全文
posted @ 2016-09-21 09:16 lzslbd 阅读(3069) 评论(0) 推荐(0) 编辑
摘要: 个人主页:http://www.linbingdong.com 简书地址:http://www.jianshu.com/users/6cb45a00b49c/latest_articles 网上关于Phoenix的资料寥寥无几,中文资料更是几乎没有。本人详细阅读Phoenix官网,整理成此篇中文文档 阅读全文
posted @ 2016-09-02 08:59 lzslbd 阅读(53242) 评论(0) 推荐(3) 编辑
摘要: 个人主页: http://www.linbingdong.com 本文介绍Hive安装配置的整个过程,包括MySQL、Hive及Metastore的安装配置,并分析了Metastore三种配置方式的区别。网上有很多介绍Hive Metastore三种配置方式的文章,但是理解都不对,给读者造成了很多误 阅读全文
posted @ 2016-09-01 12:45 lzslbd 阅读(36582) 评论(3) 推荐(5) 编辑
摘要: 个人主页:http://www.linbingdong.com 简书地址:http://www.jianshu.com/p/a7f75b868568 简介 本文主要记录如何安装配置Hive on Spark,在执行以下步骤之前,请先确保已经安装Hadoop集群,Hive,MySQL,JDK,Scal 阅读全文
posted @ 2016-08-25 12:39 lzslbd 阅读(43676) 评论(3) 推荐(3) 编辑
摘要: 相同 Comparable和Comparator都是用来实现对象的比较、排序 要想对象比较、排序,都需要实现Comparable或Comparator接口 Comparable和Comparator都是Java的接口 区别 Comparator位于java.util包下,而Comparable位于j 阅读全文
posted @ 2016-03-21 09:56 lzslbd 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique l 阅读全文
posted @ 2016-03-20 20:50 lzslbd 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating lette 阅读全文
posted @ 2016-03-19 20:29 lzslbd 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = 123, return 321 Have you thought about this? Here are some good questions to 阅读全文
posted @ 2016-03-19 15:15 lzslbd 阅读(148) 评论(0) 推荐(0) 编辑
摘要: ``` package cn.lbd.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Set; /**统计单词出现的次数 * this is a cat and this is a mice and where is the food... 阅读全文
posted @ 2016-03-19 11:47 lzslbd 阅读(604) 评论(0) 推荐(0) 编辑
摘要: 先看看System.arraycopy()的声明: src 源数组。 srcPos 源数组中的起始位置。 dest 目标数组。 destPos 目标数据中的起始位置。 length 要复制的数组元素的数量。 该方法用了native关键字,说明调用的是其他语言写的底层函数。 再看Arrays.copy 阅读全文
posted @ 2016-03-17 22:42 lzslbd 阅读(8744) 评论(0) 推荐(3) 编辑