Re: how to get hadoop HDFS path?

2013-07-12 Thread deepak rosario tharigopla
You can get the hdfs file system as follows Configuration conf = new Configuration(); conf.addResource(new Path(/home/dpancras/TradeStation/CassandraPigHadoop/WebContent/WEB-INF/core-site.xml)); conf.addResource(new

Re: how to get hadoop HDFS path?

2013-07-12 Thread deepak rosario tharigopla
Configuration conf = new Configuration(); conf.addResource(new Path(/home/dpancras/TradeStation/CassandraPigHadoop/WebContent/WEB-INF/core-site.xml)); conf.addResource(new Path(/home/dpancras/TradeStation/CassandraPigHadoop/WebContent/WEB-INF/hdfs-site.xml)); FileSystem fs