Why not check if it starts with "org.apache.hadoop"?