Hi Mardan,

could you please printout the classpath? I remember such an message on my tests too, and I think that has anyone to do with the CP.

cheers,
 Alex

July 30, 2012 12:49 PM
Hi Alex
 
Thanks for reply. Yes log4j in the path of flum conf Dir.  Now I am gettinh another error message, when running the following command
 
D:\apache-flume>"c:\java\jdk1.7.0_01\bin\java.exe"
-Dlog4j.configuration=file:///%CD%\conf\log4j.properties -cp
 "d:\apache-flume\lib\*" org.apache.flume.node.Application -f
 d:\apache-flume\conf\flume-conf.properties.template -n agent.
 
 
Error Message: could not fine or load main class d:\apache-flume\lib\asynchbase-1.2.0.jar.
 
The jar is present in apache-flume\lib but i dont know why I am getting this error message.
 
Any solution please.
 
Many thanks again


 

July 30, 2012 3:36 AM
HI Alex
 
Thank for the post. I have followed the link and done all the steps which you have mentioned. After successfully build the flume, i have unzipe the apache-flume-1.2.0-dist.tar into c:\cygwin\usr\home\Apache-flume.
 
when I applied the following command then get the error message: Could not find or load main class org.apache.flume.node.Application.
 
bin/flume-ng agent -n agent -c conf -f conf/flume-conf.properties
 
Then I copied the apache-flume-1.2.0-dist.tar into D:\apache-flume and type the following command.
 
D:\apache-flume>"c:\java\jdk1.7.0_01\bin\java.exe" -Dlog4j.configuration=file:///%CD%\conf\log4j.properties -cp "d:\apache-flume\lib\*" org.apache.flume.node.Application -f d:\apache-flume\conf\flume-conf.properties -n agent.
 
getting the error: The system cannot find the path spacified. My java path: c:\java\jdk1.7.0_01.
 
 
Could please let me suggest the solution.
 
Thanks


 

July 29, 2012 9:57 AM
Hi,

I have download the flume from the link: http://flume.apache.org/download.html and Unzip into c:\cygwin\home\mardan. Now when i am apply the command, getting the warning message.

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.


Any solution for the problem.

Many thanks

Reply via email to