Skip to content

Huang Shiyang

Shawn's TechBlog

Month: January 2017

Hadoop

UGI – UserGroupInformation

Huang Shiyang January 30, 2017January 30, 2017

Using user group information for hadoop job submitting. UserGroupInformation ugi = UserGroupInformation.createRemoteUser("hdfs"); try { ugi.doAs(new PrivilegedExceptionAction() { public Void run()... Read More | Share it now!

Hadoop

DistributedCache Hadoop

Huang Shiyang January 30, 2017

Create a util for adding jar to distributed cache. path: local jar path conf: hadoop conf private static void addJarToDistributedCache( String path, Configuration conf) throws IOException { File jarFile = new... Read More | Share it now!

Java

Hashing issue between guava versions

Huang Shiyang January 11, 2017January 11, 2017

I was using guava 14 to do String hashing like so: Hashing.sha256().newHasher().putString("String").hash().toString(); => 4d1ca6dce72e20ce214b706168340683bb6b571a7c977c1a9fe029a1cc1c4d06 just upgraded to guava16, calling this... Read More | Share it now!

Java

HashMap遍历的两种方式

Huang Shiyang January 7, 2017January 7, 2017

第一种: Map map = new HashMap(); Iterator iter = map.entrySet().iterator(); while (iter.hasNext()) {     Map.Entry entry = (Map.Entry) iter.next();     Object key = entry.getKey();     Object val = entry.getValue(); }... Read More | Share it now!

linux

uname-Print Linux info

Huang Shiyang January 5, 2017January 5, 2017

NAME      uname — Print operating system name SYNOPSIS      uname DESCRIPTION      The uname utility writes symbols representing one or more system charac-      teristics to the standard output.      The following options are... Read More | Share it now!

Search

Tags

angularjs avro aws build cassandra centos command docker git github google cloud hadoop hive hortonworks hostname install cluster iptables jar java javascript json kafka kerberos kubernetes linux mac mapr mapreduce mongodb mysql nginx nodejs npm Prometheus python RabbitMQ raspberry pi redis schema shell ssl time ubuntu vi yum

Categories

  • 3d printer
  • Android
  • AngularJS
  • ansible
  • avro
  • AWS
  • C++
  • cassandra
  • CICD
  • Cloud
  • Database
  • Dataguise
  • Django
  • Docker
  • EC2
  • elasticsearch
  • express
  • Game
  • github
  • golang
  • Google Cloud
  • Google Map
  • Hadoop
  • helm
  • hexo
  • Hive
  • IOS
  • Java
  • Javascript
  • jekyll
  • jenkins
  • Kafka
  • kubernetes
  • linux
  • Log
  • Mac
  • Maven
  • Mongodb
  • MySQL
  • networking
  • nginx
  • nifi
  • Nodejs
  • Photoshop
  • PHP
  • Pig
  • prometheus
  • Python
  • RabbitMQ
  • raspberry pi
  • redis
  • Scala
  • Schema Registry
  • sublime
  • tenserflow
  • terraform
  • testing
  • TFS
  • Uncategorized
  • website
  • windows
  • 杂篇
January 2017
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
« Dec   Feb »

Recent Posts

  • How to trigger a Kubernetes cronjob manually
  • python终止线程
  • python2 python3 hash() function
  • htop
  • Fakeapp

Archives

  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015

Count per Day

  • 601070Total reads:
  • 402217Total visitors:
  • 139Visitors today:
  • 0Visitors currently online:

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress | Theme: Amadeus by Themeisle.