run hadoop fs -lsr / Could've been created in a location different from where you expected
On Thu, Nov 14, 2013 at 10:51 AM, unmesha sreeveni <[email protected]>wrote: > no exception Amr. just fail to create . > > > On Thu, Nov 14, 2013 at 12:10 PM, Amr Shahin <[email protected]> wrote: > >> Do you get an exception or it just fails silently ? >> >> >> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <[email protected] >> > wrote: >> >>> I am trying to create a file with in "in" folder. but when i tried to >>> run this in cluster i noticed that this "in" folder is not within hdfs. >>> >>> why is it so? >>> >>> Any thing wrong? >>> >>> My Driver code is >>> >>> >>> Path in = new Path("in"); >>> Path input = new Path("in/inputfile"); >>> BufferedWriter createinput = new BufferedWriter(new >>> OutputStreamWriter(fs.create(input))); >>> >>> According to this code a "in" folder and a file "inputfile" should be >>> created in working directory of cluster right? >>> >>> -- >>> *Thanks & Regards* >>> >>> Unmesha Sreeveni U.B >>> >>> *Junior Developer* >>> >>> >>> >> > > > -- > *Thanks & Regards* > > Unmesha Sreeveni U.B > > *Junior Developer* > > >
