remove netty dep from hadoop
add thrift code to repo.
fix build
bug fix in fos.