Can we use distcp action for this? Specify an sftp path (local file) as source and hdfs path as destination.
Thanks & Regards, Harish.T.K On Mon, Jan 28, 2013 at 10:37 AM, Mona Chitnis <[email protected]>wrote: > Hello Jinye, > > In our Java Cookbook doc - > https://cwiki.apache.org/confluence/display/OOZIE/Java+Cookbook > > Refer to section "Examples and Use Cases" #1. That should help. > > -- > Mona > > On 1/26/13 12:06 AM, "Mohammad Islam" <[email protected]> wrote: > > >Hi Jinye, > >Are you using secure Hadoop with Kerberoes? What version? > > > >I think both ways (in OOzie 3.2+), you should be able to create a file in > >HDFS. > > > >How did you try? and why they failed with what error ? > > > >Regards, > >Mohammad > > > > > >________________________________ > > From: Jinye Luo <[email protected]> > >To: "[email protected]" <[email protected]> > >Sent: Friday, January 25, 2013 2:10 PM > >Subject: Is it possible to use Oozie Java/Shell action to put a file into > >hdfs? > > > >I have tried a hundred different ways without success, any one has better > >luck? If so, share a sample please. > >
