自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 LeetCode【4】Median of Two Sorted Arrays

题目:There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).Example 1:nums1 = [1, 3]num

2017-09-06 00:13:22 239

原创 LeetCode【5】Longest Palindromic Substring

题目:Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. exampleInput: "babad"Output: "bab"Note: "aba" is also a valid answer.即给出一个字符串S,找

2017-09-06 00:09:28 230

原创 LeetCode【3】Longest Substring Without Repeating Characters

题目Given a string, find the length of the longest substring without repeating characters. Examples: Given “abcabcbb”, the answer is “abc”, which the length is 3. Given “bbbbb”, the answer is “b”, wit

2017-09-01 00:15:05 229

原创 Hive ClassNotFoundException: Class org.apache.hadoop.hive.contrib.serde2.RegexSerDe not found

在Hive的测试中,发现使用正则表达式的字段分隔方式时,总是进行不下去,创建表的语句如下:create table if not exists my_hive.bf_log_src(remote_addr string,remote_user string,time_local string,request string,status string,body_bytes_sent str

2017-08-31 17:28:27 3815

原创 LeetCode【2】-Add Two Numbers

题目You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return

2017-08-31 00:05:14 173

原创 hive环境搭建 Terminal initialization failed; falling back to unsupported 解决

hive环境搭建 Terminal initialization failed; falling back to unsupported 解决Logging initialized using configuration in jar:file:/hive/apache-hive-1.1.0-bin/lib/hive-common-1.1.0.jar!/hive-log4j.propertiesS

2017-08-29 23:49:48 631

原创 LeetCode【1】-Two Sum JAVA

题目Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same e

2017-08-29 23:44:14 287

原创 基于centos的Hadoop2.x环境搭建

hadoop2.0环境搭建1.安装vmware这里就不介绍如何安装了,不清楚可在网上找一些教程2.vmware安装centos62.1centos系统安装打开vmware 点击文件 ,点击文件 ->新建虚拟机 新建虚拟机 选择“典型”点击“下一步” 选择“安装程序光盘映像文件”,选择指定的centos系统的iso文件,点击下一步 填写一下信息。点击下一步 例如 全名:zkpk 密码

2017-07-03 00:45:06 831 1

原创 Shell编程零基础教学

Shell 是一个用 C 语言编写的程序,它是用户使用 Linux 的桥梁。Shell 既是一种命令语言,又是一种程序设计语言。Shell 是指一种应用程序,这个应用程序提供了一个界面,用户通过这个界面访问操作系统内核的服务。Ken Thompson 的 sh 是第一种 Unix Shell,Windows Explorer 是一个典型的图形界面 Shell。正则表达式在学习shell编程要有一定的

2017-06-21 21:54:22 3098 1

原创 Linux基础操作

Linux基础操作Linux是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX和UNIX的多用户、多任务、支持多线程和多CPU的操作系统。它能运行主要的UNIX工具软件、应用程序和网络协议。它支持32位和64位硬件。Linux继承了Unix以网络为核心的设计思想,是一个性能稳定的多用户网络操作系统。大数据的Hadoop平台等都是搭建在Linux环境下,在学习Hadoop等前需要有部分

2017-06-19 00:07:27 459 1

原创 Exception in thread "main" java.lang.UnsatisfiedLinkError:org.apache.hadoop.io.nativeio.NativeIO$Win

#Exception in thread "main"java.lang.UnsatisfiedLinkError:org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z在eclipse上运行Hadoop报错:Exception in thread "main"java.lang.

2017-03-16 19:44:57 3806

空空如也

空空如也

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

TA关注的人

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