unit test that loads a file to hdfs

2013-12-22 Thread Karim Awara
Hi, Is there an existing unit test in hadoop 2.x that tests loading a file to hdfs? -- Best Regards, Karim Ahmed Awara -- -- This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient o

Re: Running Hadoop v2 clustered mode MR on an NFS mounted filesystem

2013-12-22 Thread Atish Kathpal
Thanks Devin, Yong, and Chris for your replies and suggestions. I will test the suggestions made by Yong and Devin and get back to you guys. As on the bottlenecking issue, I agree, but I am trying to run few MR jobs on a traditional NAS server. I can live with a few bottlenecks, so long as I don'

How to set the handler count related parameters?

2013-12-22 Thread sam liu
Hi, We have 20 nodes cluster(1 namenode, 1 jobtracker, 18 datanodes). Each node has 20 cpu cores and 64 GB memory. How to set the values for following parameters? - *dfs.namenode.handler.count- dfs.datanode.handler.count- * *mapreduce.jobtracker.handler.count* - *mapred.child.java.opts* Thank

Re: How to set the handler count related parameters?

2013-12-22 Thread Nitin Pawar
In general when you have like large hardware machine like the one you have got you can set dfs.namenode.handler.count = 64 (you can increase this in proportion to your RAM) dfs.datanode.handler.count is defaulted to 3 but you can raise it to around 6 to 10. In some blogs I have read that increasi

Re: How to set the handler count related parameters?

2013-12-22 Thread sam liu
Thanks Nitin! For dfs.namenode.handler.count, how many memory will be consumed for 1 thread? 2013/12/22 Nitin Pawar > In general when you have like large hardware machine like the one you have > got > > you can set > dfs.namenode.handler.count = 64 (you can increase this in proportion to > you

Could not find the main class: org.apache.hadoop.mapreduce.v2.app.MRAppMaster

2013-12-22 Thread Hadoop Dev
Hi All, I am trying to execute first ever program (Word Count) in hadoop2.2.0 on Windows 7 (64bit). But do not know what's wrong with the classpath which is making program fail at the runtime. (Failing @ container launch) Hadoop classpath set on my machine is c:\hadoop\etc\hadoop;c:\hadoop\share