Hi Brock Thanks for reply. I have solved the problem of cygwin. Now i am getting another error message: Could not find or load main class of org.apache.flume.node.Application.
I am running the following command: bin/flume-ng agent -n agent -c conf -f conf/flume-conf.properties.template Thanks On Sun, Jul 29, 2012 at 6:03 PM, Brock Noland <[email protected]> wrote: > Hi, > > Unfortunately I am not familiar with cygwin and don't have a windows > computer to test on. Hopefully someone else on the list has an insight. > > Brock > > > On Sun, Jul 29, 2012 at 11:27 AM, mardan Khan <[email protected]>wrote: > >> Thanks Brock. >> >> >> Now when i am run the command: flume$ bin/flume-ng agent -n agent -f >> conf/flume-conf.properties. >> template. >> >> >> Cygwin Warning: MS-DOS style path detected >> /usr/local/bin/c:\program...................................................................... >> bin/flume-ng line:210 exec c:\program not found. >> >> How to solve this problem. >> >> >> >> >> >> >> >> >> On Sun, Jul 29, 2012 at 4:41 PM, Brock Noland <[email protected]> wrote: >> >>> Hi, >>> >>> Inline >>> >>> On Sat, Jul 28, 2012 at 11:54 PM, mardan Khan <[email protected]>wrote: >>> >>>> Hi Brock. >>>> >>>> Thanks for reply. I want to use the full flume as i have to upload the >>>> data into hdfs. I have installed the cygwin and hadoop. >>>> >>> >>> OK this is a great start. >>> >>> >>>> I have download the flume binary from the mentioned link. Now you >>>> please let me explain the follow: >>>> >>>> 1). I need just to decopress the downloaded folder? >>>> >>> >>> Yes you download a tar.gz which is like a zip. In cygwin you can use the >>> command tar -zxvf to untar it. >>> >>> >>>> 2). where i should decompress the flume binary. Should i decompress >>>> c:\cygwin\home\user-name >>>> >>> >>> Whereever you want, however a common place for "tarball" software is >>> /usr/local or /opt >>> >>> >>>> 3). How I will run the flume-ng. >>>> >>> >>> You configure flume and then run the flume-ng command in the bin >>> directory >>> >>> >>>> 4) The flume.conf file will configure same as configuring using Linux? >>>> >>>> >>> Yes configure flume will be the same as on Linux in cygwin. >>> >>>> >>>> >>>> Many thanks >>>> >>>> >>>> >>>> On Sun, Jul 29, 2012 at 4:20 AM, Brock Noland <[email protected]>wrote: >>>> >>>>> Hi, >>>>> >>>>> If you just want run a flume agent on Windows you just download the >>>>> binary here: http://flume.apache.org/download.html >>>>> >>>>> Note that the flume startup script is written in bash so unless you >>>>> use cygwin you'll need to start the JVM and setup the classpath yourself. >>>>> >>>>> Brock >>>>> >>>>> >>>>> On Sat, Jul 28, 2012 at 8:01 PM, mardan Khan <[email protected]>wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I am struggling from couple of weeks to install and configure the >>>>>> flume1.x on windows but could not success. Could you please someone show >>>>>> me >>>>>> step-by-step how to install flume on window. I have read a couple of >>>>>> posts >>>>>> which mentioned the git and Maven but i dont understand how can use it to >>>>>> install the flume. >>>>>> >>>>>> Please help me as i am total stuck and running out of time. >>>>>> >>>>>> Thanks >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Apache MRUnit - Unit testing MapReduce - >>>>> http://incubator.apache.org/mrunit/ >>>>> >>>> >>>> >>> >>> >>> -- >>> Apache MRUnit - Unit testing MapReduce - >>> http://incubator.apache.org/mrunit/ >>> >> >> > > > -- > Apache MRUnit - Unit testing MapReduce - > http://incubator.apache.org/mrunit/ >
