简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
HBase – Hadoop Database,是一个高可靠性、高性能、面向列、可伸缩的分布式存储系统,利用HBase技术可在廉价PC Server上搭建起大规模结构化存储集群。一、Hbase简介HBase是Google Bigtable的开源实现,类似Google Bigtable利用GFS作为其文件存储系统,HBase利用Hadoop HDFS作为其文件存储系统;Google运
新增3.1 3176 可用注册码此验证码为sublime text3 注册码,非sublime text2 注册码。加入到hosts文件127.0.0.1www.sublimetext.com127.0.0.1license.sublimehq.comWindows : c:/windows/system32/drivers/etc/hostsLinux : /etc...
本文主要通过对Linux PAM源代码进行分析,阐述了PAM的内部实现机制和怎样在应用程序中应用PAM进行认证,以及怎样开发PAM服务模块。1 引言身份认证是操作系统安全的重要机制之一,系统通过认证机制核查用户的身份证明,并作为用户进入系统的判定条件,是防止恶意用户进入系统的第一道门槛。近年来认证理论和技术得到了迅速发展,产生了各种认证机制,如口令机制,RSA, DCE, kerberos
模拟实际生产情况的测试代码,map中的value保存的是对象。#include<map>#include<vector>#include<string>#include <iostream>#include <time.h>using namespace std;class useTest{public:useTest() {};map&
1.文件分割代码:#!/usr/bin/python########################################################################### split a file into a set of parts; join.py puts them back together;# this is a customizable ve
学习spark了一段时间需要把各个功能做个串联,实现个简单相对完整的例子,所以尝试使用spark读取 hdfs中的数据,进行处理后,把结果写入mysql数据。#! /usr/bin/env python# This Python file uses the following encoding: utf-8'''Created on Nov 27, 2017@author: root
本文主要是针对 《Python中使用epoll开发服务端程序》中的代码,进行源码注释说明。从代码中至少可以学习到如下三点:logging 模块的使用;epoll 的使用;如何利用 try...catch 来处理“读穿”。server端代码:#!/usr/bin/python#-*- coding:utf-8 -*-import socket
内存信息 / meminfo返回dict#!/usr/bin/env pythondef memory_stat():mem = {}f = open("/proc/meminfo")lines = f.readlines()f.close()for line in lines:if len(line) < 2: con
读写文件#! /usr/bin/python# -*- coding: utf8 -*-'''知识点: 如何读写文件'''spath="D:/download/baa.txt"f=open(spath,"w") # Opens file for writing.Creates this file doesn't exist.f.write("First line 1
#!/usr/bin/env python# -*- coding: utf-8 -*-# Last modified: Thu 09 Feb 2012 02:52:49 PM CST [dev]"""docstring"""__revision__ = '0.1'import timeimport datetime#获得某个时间的时间戳s = datetime.date