public class PutMerge {
/**
* @param args
* void
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
Configuration conf = new Configuration();
FileSystem hdfs = FileSystem.get(conf);
FileSystem local = FileSystem.getLocal(conf);
Path inputDir = new Path("/home/du/inout");
Path hdfsFile = new Path("/myhdfs");
try
{
FileStatus[] inputFiles
/**
* @param args
* void
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
Configuration conf = new Configuration();
FileSystem hdfs = FileSystem.get(conf);
FileSystem local = FileSystem.getLocal(conf);
Path inputDir = new Path("/home/du/inout");
Path hdfsFile = new Path("/myhdfs");
try
{
FileStatus[] inputFiles