线上一个项目需要操作hdfs和hive,在使用时报如下错误:java.lang.UnsupportedOperationException:Thisissupposedtobeoverriddenbysubclasses.
atcom.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180)
atorg.apache.hadoop.hdfs.protocol.proto...
分类:
其他好文 时间:
2014-12-23 06:51:06
阅读次数:
258
什么是Zsh
Zsh和bash一样,是一种Unixshell,但大多数Linux发行版本都默认使用bashshell。但Zsh有强大的自动补全参数、文件名、等功能和强大的自定义配置功能。
替换Mac的bash
Zsh虽然功能强大,但刚上手配置比较麻烦。别担心,Github已经有开源项目oh-my-zsh。按照官方的文档..
分类:
其他好文 时间:
2014-12-23 06:50:45
阅读次数:
864
为什么要进行一次测试?在使用CentOS7的过程中发现网络部分有很多与CentOS6所不同的地方。1.CentOS7默认使用NetworkManager管理系统的网络而不再是network2.NetworkManager默认使用的是nmtui或nmcli进行管理,不再是sysconfig中的ifcfg配置文件,但这些ifcfg文件依然被支持3.默..
分类:
其他好文 时间:
2014-12-23 06:51:02
阅读次数:
1553
(1)屏蔽本程序的鼠标信息和特定按键信息。设置后门按键F2可退出程序。HHOOKg_hKeyBoard;
HHOOKg_hMouse;
LRESULTCALLBACKMouseProc(
_In_intnCode,
_In_WPARAMwParam,
_In_LPARAMlParam
)
{
return1;//屏蔽鼠标消息
}
LRESULTCALLBACKKeyboardProc(
_In_intcode,
_In..
分类:
其他好文 时间:
2014-12-23 06:47:37
阅读次数:
182
今天说一下通过脚本来安装ESXi5.5,脚本文件放置在usb上准备工具:已刻录好的ESXi光盘Usb存储器安装步骤:新建一个txt文档,粘贴以下内容到txt文件内(需要把XXXXX-XXXXX-XXXXX-XXXXX-XXXXX替换成序列号),把文件另存为文件名ks.cfg,保存类型选择"所有文件(*.*)"accepteulain..
分类:
其他好文 时间:
2014-12-23 06:47:34
阅读次数:
232
1、准备:rhel-server-6.4-x86_64-boot.isorhel-server-6.4-x86_64-dvd.iso2、使用UltraISO.exe,把rhel-server-6.4-x86_64-boot.iso刻录硬盘镜像到U盘;(为使用UltraISO.exe,64位win7用户可使用xp-sp3的兼容模式使用UltraISO.exe,右击UltraISO.exe,在属性)3、把rhel-server..
分类:
其他好文 时间:
2014-12-23 06:46:04
阅读次数:
164
UML笔记1---结合架构设计用对象建模一.UML的视图和图视图,只是表达系统某一方面特征的UML建模组件的子集;视图被划分成三个视图域:结构分类、动态行为和模型管理。---结构分类,描述了系统中的结构成员及其相互关系。类元包括类、用例、构件和节点。类元为研究系统动态行为奠..
分类:
其他好文 时间:
2014-12-23 06:43:30
阅读次数:
140
来北京1个月多20天了,今天北京时间(2014年12月23日12时05分),在这1个多月下来,我接触了cocos2d,从一点都不了解cocos2d到现在做了已经做了7个cocos2d的小游戏,小dome,加上平时自己晚上熬夜做了4个U3D的小游戏。学习的东西到时蛮多,可我感觉很多东西学了就忘了,没有记住..
分类:
其他好文 时间:
2014-12-23 06:44:22
阅读次数:
132
--3d模型和3D动画的创建require"Cocos2d"localSprite3DScene=class("Sprite3DScene",function()returncc.Scene:create()end)--添加create函数functionSprite3DScene:create()localscene=Sprite3DScene.new()scene:addChild(scene:init())returnsceneend--添加构造函数functionS..
分类:
其他好文 时间:
2014-12-23 06:45:22
阅读次数:
1037
在UA的前半学期,我总是在惊慌、忙乱中。这主要是因为我没有合理地安排时间!!!以下是经验总结:1.一定要根据schedule来计划自己的时间,尤其要看schedule上的分值分布2.课前要预习、课后要复习,教材和ppt一定要买到或者打印出来3.做事情要快,不要拖沓;做事情前要考虑周密..
分类:
其他好文 时间:
2014-12-23 06:46:07
阅读次数:
131
在Azure当中有地缘组的概念(http://maomaostyle.blog.51cto.com/2220531/1585696),之前的博文也提到过,这是一种提高“性能”或者说是尽可能减少系统间延迟的手段,是出于性能保障的,那么从可用性角度而言,就要提到“可用性集(Availabilityset)”,Availabilityset是目前云平..
分类:
其他好文 时间:
2014-12-23 06:43:34
阅读次数:
245
两门课程得A过coreexam整理与规划英语听力与口语phpresearch寻找实习
分类:
其他好文 时间:
2014-12-23 06:42:50
阅读次数:
142
Drivinglicense录音整理(整理成txt)Network视频学习Investmentunderuncertaintyec2php(网站)
分类:
其他好文 时间:
2014-12-23 06:45:39
阅读次数:
132
Given an array of size n, find the majority element. The majority element is the element that appears more than
? n/2 ? times.
You may assume that the array is non-empty and the majority element alw...
分类:
其他好文 时间:
2014-12-23 06:44:00
阅读次数:
124
Really interesting O(n) problem. Just like playing.. so actually working on algorithm problems is like playing games!class Solution {public: int ma...
分类:
其他好文 时间:
2014-12-23 06:43:36
阅读次数:
173
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times.You may assume that the ...
分类:
其他好文 时间:
2014-12-23 06:43:14
阅读次数:
144
Given an array of integers, every element appears twice except for one. Find that single one.Analysis:Use XOR operation.Solution: 1 public class Solut...
分类:
其他好文 时间:
2014-12-23 06:41:18
阅读次数:
201