Loop through and print directory size

Set objShell = CreateObject(“WScript.Shell”) Set objFSO = CreateObject(“Scripting.FileSystemObject”) Set objFolder = objFSO.GetFolder(“C:\”) Set colSubfolders = objFolder.Subfolders For Each objSubfolder in colSubfolders on error resume next Wscript.Echo objSubfolder.Name, objSubfolder.Size Next

Simple HBase class to load data

What is below is a simple java class to load the customers table we created in a previous post import java.util.*; import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.util.*; public class putHbase { public static void main(String[] args) throws Exception { HTable hTable =…